Host check command interval
Morris, Patrick
patrick.morris at hp.com
Tue Jul 24 16:55:06 CEST 2007
> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Kevin Menard
> Sent: Tuesday, July 24, 2007 7:47 AM
> To: nagios-users at 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 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