freshness checking of passive devices

David Barnett DavidB at etobin.com
Mon Mar 22 21:58:07 CET 2004


I am using Nagios to monitor some workstations that are active from 9 to
5 but shut down otherwise.  I am monitoring these workstations passively
using the NSCA add-on and I check the freshness by having a check
command like in the documentation.  However, when the workstations shut
down at 5, the passive checks stop coming, as they should.  After 30
minutes of no passive checks, Nagios runs the active check of
check_freshness.sh, and reports the services as critical because they
haven't checked in for 30 minutes.  I don't want it to run this check
because the device should be off.  Also, when the workstations start up
in the morning and check in, I get notifications saying the services
have recovered, when in reality they never really went down in the first
place.  Is there way to not have it run the active check after a certain
time?  Or in the script is there a way to check the current time and not
return anything if it isn't between 9 and 5?  Thanks for any help.

 

David

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040322/8c05aac0/attachment.html>


More information about the Users mailing list