"max_check_attempts" being ignored?

Jason Byrns jason-sourceforge at microlnk.net
Tue Jul 6 18:34:13 CEST 2004


> As I recall (I may be wrong, but it's been too long a day for me to go
> delving to double-check) host checks are not performed unless a service
> check fails.

Yes, I believe that is correct.

> If there are no service checks then there can be no service
> check failures and therefore no host checks are made.  Keep the service
> check but change the host check for those hosts to check_dummy.

That may work, thanks!

The Nagios docs say that a failed service check causes an immediate host 
check.  And that if the host check also fails, the max_check_attempts 
setting is ignored and the device is put immediately into a hard error 
status.

But I WANT it to respect that setting!  Sometimes a device may not 
respond to a ping if it is too busy.  So right now we get lots of 
warnings where the device is available again ONE minute later!  Having 
our monitor cry "WOLF!" so often seriously reduces is usefulness.

> OTOH, if the machine is providing services then you really ought to
> check them.  And if it's not running services but you need to ensure that
> it is working correctly then checking disk space, memory usage, etc. would
> be a good idea.

In this case, we're talking about simple network devices like bridges or 
switches.  There is usually no reason or method for checking CPU, RAM, 
HD, etc.  Ping them to see if they are alive, that is all we want for 
probably 95% of the devices we monitor.

-- 
Jason Byrns
System Administrator, MicroLnk
http://www.MicroLnk.com/
402-328-8600 ext. 653


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
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