RE: [Nagios-users] Suppressing service notifications if host fails
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Mott Leroy Sent: Monday, January 16, 2006 2:54 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Suppressing service notifications if host fails Hi - When a host goes down, we still receive failure notices for all the services on that host. It seems like this is a clear dependency, such that a failure on a host should suppress its service notifications. I looked in the manual and saw the section on service dependencies and host dependencies but it seemed those were only for 'host to host' or 'service to service' dependencies, not the basic host - service dependency. Using Nagois 2.0b3. Thanks if you could point me in the right direction - Nagios will automagically suppress service notifications for down hosts if you have a properly configured host check_command that returns CRICITAL or UNREACHABLE when the host is down. http://nagios.sourceforge.net/docs/2_0/networkreachability.html - Monitoring Services on Down or Unreachable Hosts -- Marc --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ 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
RE: [Nagios-users] Suppressing service notifications if host fails
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Marc Powell Sent: Monday, January 16, 2006 3:11 PM To: Mott Leroy; nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Suppressing service notifications if host fails -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Mott Leroy Sent: Monday, January 16, 2006 2:54 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Suppressing service notifications if host fails Hi - When a host goes down, we still receive failure notices for all the services on that host. It seems like this is a clear dependency, such that a failure on a host should suppress its service notifications. I looked in the manual and saw the section on service dependencies and host dependencies but it seemed those were only for 'host to host' or 'service to service' dependencies, not the basic host - service dependency. Using Nagois 2.0b3. Thanks if you could point me in the right direction - Nagios will automagically suppress service notifications for down hosts if you have a properly configured host check_command that returns CRICITAL or UNREACHABLE when the host is down. [edit] of course there is no UNREACHABLE status result from a plugin. That's determined internally by Nagios based on the 'parents' directive for each host. [/edit] Sorry about that slight mis-information. -- Marc --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ 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
Re: [Nagios-users] Suppressing service notifications if host fails
Hi Marc - Thanks for the quick response. Our check_command *seems* to be properly configured. it uses a check-host-alive plugin, and it DID return a CRITICAL state, but looking more closely at the logs, it seems like it wasn't reported as critical until some 4 hours or so after all the services reported themselves as CRITICAL. Don't individual services check on the health of their host? Why wouldn't it report the host as down until so much later? All our hosts are defined as: check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_optionsd,u,r Where check-host-alive is: define command{ command_namecheck-host-alive command_line$USER1$/check_ping -H $HOSTADDRESS$ -w 5000,100% -c 5000,100% -p 1 } Thanks for any insight - Mott Marc Powell wrote: Nagios will automagically suppress service notifications for down hosts if you have a properly configured host check_command that returns CRICITAL or UNREACHABLE when the host is down. [edit] of course there is no UNREACHABLE status result from a plugin. That's determined internally by Nagios based on the 'parents' directive for each host. [/edit] Sorry about that slight mis-information. -- Marc --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ 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