[Nagiosplug-help] service check interval

Mike Loud mike.loud at comandsolutions.com
Thu Jan 27 21:06:23 CET 2011


Benny, thank you, that was exactly what I needed, apologies if this was a 
total noob question, but I appreciate the answer.



--
Mike

-----Original Message----- 
From: C. Bensend
Sent: Thursday, January 27, 2011 2:57 PM
To: nagiosplug-help at lists.sourceforge.net
Subject: Re: [Nagiosplug-help] service check interval


> I have done some extensive searching but cannot find a definitive answer,
> Is there no way to say check this service every x minutes? I want to check
> http every 1 minute lets say, my service definition looks like:
>
> define service {
> use generic-service
> host_name nrpe2.webcomand.com
> service_description VARNISH Port 80
> check_command check_nrpe!check_varnish
> }
>
> Do I Just need to put an argument in somewhere? Thanks.

Look at the documentation for services:

http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#service

The interesting bit you're seeking is 'check_interval'.  If the
above is your service definition in its entirety, it is defined
in your 'generic-service' template.

Benny


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



------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
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