passive service checks with 1 second interval

Marc Powell marc at ena.com
Fri Aug 10 14:37:54 CEST 2007



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Risto Vaarandi
> Sent: Friday, August 10, 2007 6:43 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] passive service checks with 1 second interval
> 


> 
> However, then the service goes to a critical state:
> 
> [1186719373] EXTERNAL COMMAND:
> PROCESS_SERVICE_CHECK_RESULT;node03;NodeState;2;node03 DOWN at
1186719373
> 
> and starting from this moment, external checks are read from command
> file with 9-10 second intervals, with a "service alert" and
notification
> at the end of each activity burst:

This is probably a result of your host check. When a service initially
returns a non-ok state, nagios stops everything to perform the host
check, up to max_check_attempts for that host. Once that is complete,
nagios will start performing other tasks again. You'll most like want to
remove your host's check_command entirely.

> Then the service goes up, and the after a while I am seeing the
> following log entries:
> 
> [1186719447] EXTERNAL COMMAND:
> PROCESS_SERVICE_CHECK_RESULT;node03;NodeState;node03 up at 1186719447
> [1186719447] Warning: The results of service 'NodeState' on host
> 'node03' are stale by 11 seconds (threshold=60 seconds).  I'm forcing
an
> immediate check of the service.

I don't know about this one.

> 
> Is there a way to speed up the processing of CRITICAL service checks?
> I'd like to get a notification within the same second.

I won't say it's not possible but it feels very aggressive to me based
on my experience. I know there are/were others on the list trying to
monitor at or close to that resolution but I don't know how successful
they've been. Perhaps they'll chime in if they're still around.

--
Marc

-------------------------------------------------------------------------
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