HOST DOWN notification not getting resent

Viraxay Chinyavong sy at echolabs.net
Sun Aug 22 08:31:52 CEST 2004


Hi,

Can somebody tell me why nagios is not resending notification of "HOST DOWN"
after it sent the initial message? Below are my configs of the hosts.cfg and
services.cfg, respectively.

# 'bogus-server-for-testing' host definition
define host{
        host_name                       Bogus
        alias                           Bogus Node 
        address                         30.10.10.1
        check_command                   check-host-alive
        max_check_attempts              5
        notification_interval           10              
	  notification_period             24x7
        notification_options            d,u,r
        notifications_enabled           1
event_handler_enabled           1
flap_detection_enabled          1       	
        process_perf_data               1       
	  retain_status_information       1       		
        retain_nonstatus_information    1       
        }

# Generic service definition template
define service{
        name                            generic-service ; The 'name' of this
service template, referenced in other service definitio
ns
        active_checks_enabled           1       ; Active service checks are
enabled
        passive_checks_enabled          1       ; Passive service checks are
enabled/accepted
        parallelize_check               1       ; Active service checks
should be parallelized (disabling this can lead to major per
formance problems)
        obsess_over_service             1       ; We should obsess over this
service (if necessary)
        check_freshness                 0       ; Default is to NOT check
service 'freshness'
        notifications_enabled           1       ; Service notifications are
enabled
        event_handler_enabled           1       ; Service event handler is
enabled
        flap_detection_enabled          1       ; Flap detection is enabled
        process_perf_data               1       ; Process performance data
        retain_status_information       1       ; Retain status information
across program restarts
        retain_nonstatus_information    1       ; Retain non-status
information across program restarts
        max_check_attempts              5       ; The number of times nagios
will check a service before sending an alert. Setting t
his to 1 will send an immediate notification the service is down without
rechecking the service
        normal_check_interval           5       ; Check the service every 5
mins
        retry_check_interval            1       ; Time to wait before
scheduling a re-check of a service
        notification_interval           5       ; This directive is used to
define the number of "time units" to wait before re-noti
fying a contact that this service is still in a non-OK state.Time units are
minutes notification_period 24x7
        notifications_enabled           1       ; Enable notifications
        register                        0       ; DONT REGISTER THIS
DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!
        }

############################################################################
###################
#
#
# PING TEST
#
#
#
############################################################################
###################
# Service definition for PING Tests
define service{
        use                             generic-service       
        host_name                       Bogus
        service_description             PING
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              5
        normal_check_interval           5
        retry_check_interval            1
        contact_groups                  sysadmin
        notification_interval           5
        notification_period             24x7
        notification_options            w,u,c,r
        check_command                   check_ping!100.0,20%!500.0,60%
        }


Many Thanks!






-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
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