Nagios notifies indefinitely

Jeff Williams jeffwilliams05 at gmail.com
Thu Nov 17 15:24:42 CET 2005


Just wondering if this made it to the list.

Jeff

On 11/16/05, Jeff Williams <jeffwilliams05 at gmail.com> wrote:
> I feel like I'm losing my mind here. I am using nagios 2.0b4 and for
> some reason, Nagios notifies indefinitely even on services that have a
> specified last notification. I don't know what changed, because I have
> completely restored from a backup copy when this strangeness wasn't
> happening and it still happens. Here is an example escalation and
> service file:
>
> define serviceescalation{
>         host_name                     myserver
>         service_description        /VAR
>         first_notification            3
>         last_notification             5
>         notification_interval       5
>         contact_groups              oncall,backup
> }
>
> define service{
>         use                           generic-service
>         host_name                 myserver
>         service_description     /VAR
>         is_volatile                   0
>         check_period              24x7
>         retry_check_interval     1
>         contact_groups              ulsysadmins
>         notification_interval       5
>         notification_period         24x7
>         notification_options        w,u,c,r
>         check_command            check_nrpe!check_disk6
> }
>
> What this used to do is notify 'ulsysadmins' for the first two
> notifications, then escalate to 'oncall' and 'backup' for the third
> through fifth notifications. Right now it does that, but then for the
> sixth through infinite notification, it goes back to notifying
> ulsysadmins. I thought this was enough to tell it to stop at 5
> notifications. It used to be, but now I need to change the escalation
> to:
>
> define serviceescalation{
>         host_name                     myserver
>         service_description        /VAR
>         first_notification            3
>         last_notification             4
>         notification_interval       5
>         contact_groups              oncall,backup
> }
>
> define serviceescalation{
>         host_name                     myserver
>         service_description        /VAR
>         first_notification            5
>         last_notification             5
>         notification_interval       0
>         contact_groups              oncall,backup
> }
>
> Please advise. Let me know if what I'm saying is not clear. Thanks.
>
> Jeff Williams
>


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_idv28&alloc_id845&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list