Suppressing service notifications if host fail s
Parkinson, Alex
Alex.Parkinson at awmlimited.com.au
Tue Jan 17 00:04:19 CET 2006
Hi Mott,
I do not know what service checks have been configured for the failed host.
That being said, it may be the case that the failed host was still
responding to ping, whilst the higher level services had failed.
I have found it useful to configure ping as a service check to give a visual
indication of the state of the host - this is duplicate some of the ping
checking of a host.
Regards,
Alex Parkinson
Senior Communications / Security Administrator
Australian Wealth Management
Information Technology
Level 9, 80 Alfred Street
Milsons Point NSW 2061
Phone: +61 (02) 9028 5973
Fax: +61 (02) 9028 3089
Mobile: +61 (0422) 000 356
Email: Alex.Parkinson at awmlimited.com.au
-----Original Message-----
From: Mott Leroy [mailto:mott at acadaca.com]
Sent: Tuesday, January 17, 2006 8:52 AM
To: Marc Powell
Cc: nagios-users at lists.sourceforge.net
Subject: 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_options d,u,r
Where check-host-alive is:
define command{
command_name check-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=7637&alloc_id=16865&op=click
_______________________________________________
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
*******************************************************************
The information contained in this mail message is confidential and may also be legally privileged.
If you are not the intended recipient, please note that any use, dissemination, further distribution,
or reproduction of this message in any form what so ever, is strictly prohibited.
If the mail is in error, please notify me by return E-mail, delete your copy of the
message, and accept my apologies for any inconvenience caused.
*******************************************************************
-------------------------------------------------------
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=7637&alloc_id=16865&op=click
_______________________________________________
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