Notifications about hosts being DOWN or UNREACHABL E when they are UP

Carroll, Jim P [Contractor] jcarro10 at sprintspectrum.com
Mon Jan 6 21:45:27 CET 2003


You may find one particular problem with this approach.
 
If the service check fails, Nagios will attempt to do the host check.  Once the host check recovers, Nagios resumes the service checks.  However, you've removed that host checking ability, so you may find that the service check stays critical, despite the fact that a manual check reveals otherwise.
 
You might want to define a special case host check, call it something like check-host-dummy and define the appropriate command in checkcommands.cfg to use the check_dummy plugin.
 
Just to reiterate, for any given host, you can only have one host check, but you can have any number of service checks.  A host check can be completely arbitrary, but by default is configured to use check-host-alive, which in checkcommands.cfg relates to the check_ping plugin.  This is something that confused me a bit at first, so you're not alone.  :)
 
Food for thought.
 
jc
-----Original Message-----
From: Gerald Wichmann [mailto:gwichman at zantaz.com]
Sent: Monday, January 06, 2003 12:59 PM
To: Nagios (E-mail)
Subject: [Nagios-users] Notifications about hosts being DOWN or UNREACHABL E when they are UP


Ok I think after some reading the trick is to remove the check_command statement in hosts.cfg for those servers that cannot be directly checked by the centralized server. I thought all checks were done/defined by the services.cfg file but apparently not. Common newbie misunderstanding I guess. Helps to read deeper into how nagios actually works. Seems to be working well now though I'll have to make sure when a service check goes red, so does that particular respective host.
 
Gerald Wichmann
Senior Systems Development Engineer
Zantaz, Inc.
925.598.3099 (w)
 


This e-mail has been captured and archived by the ZANTAZ Digital Safe(tm) service. For more information, visit us at www.zantaz.com. 
IMPORTANT: This electronic mail message is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by telephone or directly reply to the original message(s) sent. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030106/e0f2f2c6/attachment.html>


More information about the Users mailing list