> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Kevin Menard > Sent: Tuesday, July 24, 2007 7:47 AM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Host check command interval > > Hi, > > Apologies for the overly simple question, but how does one control the > interval at which host command check attempts are executed? I'm > working > on a plugin that will power-on a host if the check command fails. > Unfortunately, it looks like each attempt occurs 3 seconds after the > previous one. Given how long it may take to power on a host, I exceed > the max attempts before the machine is restored, resulting in a HARD > state that shouldn't occur. > > For what it's worth, the plugin is non-blocking. So, even if it takes > the machine several minutes to power-up, the script execution will only > be about 5 seconds. I presume this may be part of my problem.
Host checks will basically happen as fast as they can, and that's not configurable in Nagios 2.x. http://nagios.sourceforge.net/docs/2_0/checkscheduling.html#host_checks ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users@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