[Nagiosplug-help] service check interval

C. Bensend benny at bennyvision.com
Thu Jan 27 20:57:42 CET 2011


> 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






More information about the Help mailing list