If I have a host called viper with the following definitions, I'm wondering why the group admins gets warning notifications for the service "DISK /" after the first notification. To me, these definitions say that admins should get no more than 5 notifications and no warning notifications after the first one. Am I wrong in thinking that? In testing this, the admins group got at least 8 warning notifications.

host definition
---
define host{
        use                       generic-host
        host_name                 viper
        alias                     viper
        address                   127.0.0.1
        parents                   localhost
        check_command             check-host-alive
        notification_interval     0
        notification_options      d,r
        notification_period       never
        contact_groups            admins
}

service definition
---
define service{
        use                           generic-service
        host_name                     viper
        service_description           DISK /
        is_volatile                   0
        check_period                  24x7
        retry_check_interval          1
        contact_groups                admins
        notification_interval         5
        notification_period           24x7
        notification_options          w,u,c,r
        check_command                 check_nrpe!check_disk1
}

escalation definition
---
define serviceescalation{
        host_name                     viper
        service_description           DISK /
        first_notification            2
        last_notification             2
        notification_interval         5
        contact_groups                admins
        escalation_options            c,r
}
define serviceescalation{
        host_name                     viper
        service_description           DISK /
        first_notification            3
        last_notification             4
        notification_interval         5
        contact_groups                admins
        escalation_options            c,r
}
define serviceescalation{
        host_name                     viper
        service_description           DISK /
        first_notification            5
        last_notification             0
        notification_interval         0
        contact_groups                admins
        escalation_options            c,r
}

Please let me know if more info is needed. Thanks in advance.

Jeff

Umm can we see your contacts and contactgroup configs? Bet admins get warnings there

Tory

Here they are. Everything is intact from how I have it on the server except for the email address.

Contactgroup:

define contactgroup{
        contactgroup_name       admins
        alias                   Nagios Administrators
        members                 nagios
        }

Contacts:

define contact{
        contact_name                    nagios
        alias                           Nagios Admin
        service_notification_period     24x7
        host_notification_period        24x7
        service_notification_options    w,u,c,r
        host_notification_options       d,r
        service_notification_commands   notify-by-email
        host_notification_commands      host-notify-by-email
        email                           [EMAIL PROTECTED]
        }


Yes admins should get warnings, but since the escalation file says only go past original notification for critical and recovery, shouldn't I just get 1 warning notification or 2 at most?

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to