Service Check Interval < 1 minute ?

Hari Sekhon harisekhon at gmail.com
Thu Jul 6 14:20:22 CEST 2006


Marc Powell wrote:
>   
>> -----Original Message-----
>> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
>> bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon
>> Sent: Thursday, July 06, 2006 6:33 AM
>> To: nagios-users at lists.sourceforge.net
>> Subject: [Nagios-users] Service Check Interval < 1 minute ?
>>
>> Is it possible to define a service check interval of less than a
>>     
> minute?
>   
>> I want some services to be checked every 30 seconds for example...
>> so I really need to be able to specify service_check_interval in
>> seconds...
>>     
>
>
> You'll want to modify interval_length in nagios.cfg to be something less
> than or equal to 30. normal_check_interval and the like are just
> multipliers for this value and not time units themselves.
>
> http://nagios.sourceforge.net/docs/2_0/configmain.html#interval_length
>
> setting this number to 30 and using a normal_check_interval of 1 in a
> service definition would mean nagios attempts to check the service every
> 30 seconds. Normal_check_interval of 2 would correspond to 60 seconds,
> etc.
>
> Note that adjusting this value affects everything that depends on timing
> so you'll need to adjust repeat notification intervals, escalations, etc
> appropriately. You can grep the docs for interval_length to get a list.
>
> --
> Marc
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> 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
>
>   
I have made the necessary changes, setting interval_length=1 to have 
everything in seconds for simplicity.

Quick question: I take it things like "retention_update_interval" and 
"command_check_interval" in nagios.cfg are also affected by this? Or do 
they always work in minutes? (the comments say minutes..)

The comments by "interval_length" seem to indicate this variable only 
affects "host/contact/service configuration files"...

-h

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060706/2767ef3e/attachment.html>
-------------- next part --------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
-------------- next part --------------
_______________________________________________
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