Nagios Notifications

Joel Alexander alexanderjda at msn.com
Wed Nov 20 01:06:24 CET 2002


splain this:
This is a clipping from my services.cfg:
#----------------- Generic service definition template -----------------
define service{
        name                            generic-service
        register                        0
        is_volatile                     0
        retry_check_interval            1
        check_period                    24x7
        normal_check_interval           3
        max_check_attempts              10
        notifications_enabled           1
        notification_interval           120
        notification_period             24x7
        notification_options            c,u,r
        retain_status_information       1
        }

#-------ROUTER DEVICES----------------------#
define service{
        use                             generic-service
        hostgroup_name                  cisco-routers
        service_description             PING
        contact_groups                  nw-admins
        notifications_enabled           0
        check_command                   check_ping!100.0,20%!500.0,60%
        }

This is clippings from my nagios.cfg:
retain_state_information=1
state_retention_file=/usr/local/nagios/var/status.sav
enable_notifications=0

I want to turn off notifications for check_ping services in the hostgroup 
named cisco-routers.  Considering the above configuration; can you explain 
why sometimes notifications for this group are sent, and sometimes they are 
not?  I can usually stop notifications by executing the CGI commands through 
the web interface, this doesn't survive restarts.  Thanks for your help.





_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus



-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html




More information about the Users mailing list