<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hi Ethan,<DIV><BR class="khtml-block-placeholder"></DIV><DIV>We've published a patch to Nagios 2.5 where we add a feature for contacts. You can now set a notification_level and contacts will not get alerted until the notification number reaches their level. Details here: <A href="http://altinity.blogs.com/dotorg/2006/09/simple_escalati.html">http://altinity.blogs.com/dotorg/2006/09/simple_escalati.html</A></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>One problem we've found is that if all contacts fail to get notified due to their configuration filters, then the notification number is decremented back to the original. But that means a manager with notification_level 2 would never get alerted.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Would it make sense for a notification number to still increase if contact filters fail? If the service filters fail, the notification number should return back, but if contacts have been defined to ignore them, then I think the "clock should keep ticking" - ie, the notification number (the seriousness), keeps increasing.<BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV><BR class="khtml-block-placeholder"></DIV><DIV>If so, I think this is the change to notifications.c:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>--- notifications.c.original    2006-09-14 17:19:08.918201189 +0100</DIV><DIV>+++ notifications.c     2006-09-14 17:21:52.813500174 +0100</DIV><DIV>@@ -213,9 +213,10 @@</DIV><DIV>                                        svc->notified_on_critical=TRUE;</DIV><DIV>                                }</DIV><DIV>-                       /* we didn't end up notifying anyone, so adjust current notification number */</DIV><DIV>-                       else</DIV><DIV>+                       /* we didn't end up notifying anyone because of various contact filters, but the seriousness should keep increasing */</DIV><DIV>+                       /* else</DIV><DIV>                                svc->current_notification_number--;</DIV><DIV>+                       */</DIV><DIV>                        }</DIV><DIV> #ifdef DEBUG4</DIV><DIV>                printf("\tAPPROPRIATE CONTACTS HAVE BEEN NOTIFIED\n");</DIV><DIV>@@ -1012,9 +1013,10 @@</DIV><DIV>                                        hst->notified_on_unreachable=TRUE;</DIV><DIV>                                }</DIV><DIV>-                       /* we didn't end up notifying anyone, so adjust current notification number */</DIV><DIV>-                       else</DIV><DIV>+                       /* we didn't end up notifying anyone because of various contact filters, but the seriousness should keep increasing */</DIV><DIV>+                       /* else</DIV><DIV>                                hst->current_notification_number--;</DIV><DIV>+                       */</DIV><DIV>                        }</DIV><DIV> #ifdef DEBUG4</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Ton</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><A href="http://www.altinity.com">http://www.altinity.com</A></DIV><DIV>T: +44 (0)870 787 9243</DIV><DIV>F: +44 (0)845 280 1725</DIV><DIV>Skype: tonvoon</DIV></SPAN></SPAN></SPAN></SPAN></SPAN><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></DIV></BODY></HTML>