Service Check Interval < 1 minute ?
Marc Powell
marc at ena.com
Thu Jul 6 13:59:06 CEST 2006
> -----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
More information about the Users
mailing list