[Nagiosplug-help] question about failing check

Mike Loud mike.loud at comandsolutions.com
Thu Feb 24 15:09:07 CET 2011


Benny,

Thank you that’s exactly what I was looking for. Thanks again, this isn't 
the first time you’ve helped me out :)





--
Mike Loud
COMAND Solutions
800-598-0869 x2
www.comandsolutions.com
-----Original Message----- 
From: C. Bensend
Sent: Thursday, February 24, 2011 6:40 AM
To: nagiosplug-help at lists.sourceforge.net
Subject: Re: [Nagiosplug-help] question about failing check


> Is there a way to change the interval of the check if it fails the first
> time though? If it fails, instead of waiting another 5 minutes to check
> again, can the check run in 10 seconds? For example, if apache doesn’t
> respond, check again in 10 seconds to make sure it isn't just a network
> lag
> or hiccup, and if that fails then execute the event handler? From my
> understanding, the failure count can be set but the check interval is a
> constant, or am I wrong on that? Thank you for the reply.

Nagios does that itself (see retry_interval).

I would recommend against 10 seconds; chances are whatever problem
you're experiencing would still be there, and by default Nagios
doesn't really have that fine-grained timing.

I run with a great majority of my services on a five-minute
check_interval, and a one-minute retry_interval.  That means that
services are checked once per five minutes normally, and then
retried once per minute when they are in a non-OK soft state.  That
seems to be a happy medium for me for catching problems promptly,
while trying to minimize nuisance alerts.

Benny


-- 
"Hairy ape nads."        -- Colleen, playing Neverwinter Nights



------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT 
data
generated by your applications, servers and devices whether physical, 
virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null 






More information about the Help mailing list