I have a Nagios box running and alerting great. I just added a new Hostgroup and the host/service I just added shows down in <br><br>Nagios (the service IS really down), but I dont get email alerts like I do for the rest of the hosts that are in different
<br><br>hostgroups. I can't figure out why this is not throwing email alerts like all the others. The device is a Cisco ASA forewall, <br><br>but I'm starting with only simple pings, so the device should not matter.
<br><br><a href="mailto:chrisserafin@gmail.com">chrisserafin@gmail.com</a><br><br>Configs below:<br><br><br><br>define service{<br> name windows-service ; The 'name' of this service template
<br> active_checks_enabled 1 ; Active service checks are enabled<br> passive_checks_enabled 1 ; Passive service checks are enabled/accepted<br> parallelize_check 1 &
nbsp; ; Active service checks should be parallelized (disabling
<br><br>this can lead to major performance problems)<br> obsess_over_service 1 ; We should obsess over this service (if necessary)<br> check_freshness 0 ; Default is to NOT check service 'freshness'
<br> notifications_enabled 1 ; Service notifications are enabled<br> event_handler_enabled 1 ; Service event handler is enabled<br> flap_detection_enabled 1 &n
bsp; ; Flap detection is enabled
<br> failure_prediction_enabled 1 ; Failure prediction is enabled<br> process_perf_data 1 ; Process performance data<br> retain_status_information 1 &nbs
p; ; Retain status information across program restarts
<br> retain_nonstatus_information 1 ; Retain non-status information across program restarts<br> is_volatile 0 ; The service is not volatile<br>
register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, <br><br>JUST A TEMPLATE!<br> check_period 24x7 ; The service can be checked at any time of the day
<br> max_check_attempts 4 ; Re-check the service up to 4 times in order to determine <br><br>its final (hard) state<br> normal_check_interval 5 ; Check the service every 5 minutes under normal conditions
<br> retry_check_interval 1 ; Re-check the service every minute until a hard state can be <br><br>determined<br> contact_groups admins ; Notifications get sent out to everyone in the 'admins'
<br><br>group<br> notification_options w,u,c,r ; Send notifications about warning, unknown, critical, and <br><br>recovery events<br> notification_interval 120 ; Re-notify about service problems every hour
<br> notification_period 24x7 ; Notifications can be sent out at any time<br> }<br><br><br>----------------HOSTGROUP.CFG------------<br><br><br>define hostgroup{<br> hostgroup_name XXX
<br> alias XXX Enterprises Network<br> members XXX_Chicago_ASA<br> }<br><br>----------------XXX_Chicago_ASA-----------<br><br>define host{<br> use windows-servers ; Name of host template to use
<br> host_name XXX_Chicago_ASA<br> alias XXX_Chicago_ASA<br> address ???.217.120.10<br> }<br><br>define service{<br> use windows-service ; Name of service template to use
<br> host_name XXX_Chicago_ASA<br> service_description PING<br> check_command check_ping!100.0,20%!300.0,60%<br> }<br><br>