freshness checking of passive devices

Joshua Smith joshua.smith at globeshoes.com
Tue Mar 23 03:12:33 CET 2004


Yes, you should set the "check_period" parameter in your services.cfg to
"workhours", which is defined as 9am to 5pm in your timeperiods.cfg. And
while you are at it, you might as well change your "notification_period"
to "workhours" as well.
 
cheers!
Joshua M Smith
Jr. Network Administrator
Globe Int Ltd
Phone: 310-297-1640
Email : Joshua.Smith at globeshoes.com <mailto:Joshua.Smith at globeshoes.com>

* * * * * *
Globe Int Ltd
225 S. Aviation
El Segundo, CA 90245
310.297.1600
 

	-----Original Message-----
	From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jack
Doyle
	Sent: Monday, March 22, 2004 1:02 PM
	To: nagios-users at lists.sourceforge.net
	Subject: RE: [Nagios-users] freshness checking of passive
devices
	
	
	I don't use any passive checking, so forgive me if I'm wrong..
but can't you set the time period on the services to be that of when you
want them checked?
	 
	 
	-----
	John N. Doyle, Network+ Certified Professional
	Systems Operations Specialist
	Lewis-Gale Clinic Information Systems
	 
	540.772.3669
	 
	>PGP Key Available: http://68.106.83.67:8082/pgp.txt

		-----Original Message-----
		From: David Barnett [mailto:DavidB at etobin.com] 
		Sent: Monday, March 22, 2004 3:58 PM
		To: nagios-users at lists.sourceforge.net
		Subject: [Nagios-users] freshness checking of passive
devices
		
		

		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/147cfc7c/attachment.html>


More information about the Users mailing list