time interval in between checks in seconds

Neil neil-on-nagios at restricted.dyndns.org
Mon May 10 21:15:29 CEST 2004


Hi Anthony, 

So if I wanted to have ping check executed 4 times (every 15 secs), this 
should be my services.cfg and nagios.cfg. However, I think my services.cfg 
is wrong. Can someone correct it please? 

nagios.cfg:
 -----------
interval_length=15 

services.cfg:
 -------------
define service{
       use                             generic-service         ; Name of 
service template to use 

       host_name                       www001
       service_description             PING
       is_volatile                     0
       check_period                    24x7
       max_check_attempts              2
       normal_check_interval           2
       retry_check_interval            1
       contact_groups                  www-admins
       notification_interval           120
       notification_period             24x7
       notification_options            c,r
       check_command                   check_ping!100.0,20%!500.0,60%
       } 


Anthony Lieuallen writes: 

> interval_length in nagios.cfg defines the number of seconds in an "interval"
> All intervals in any other configuration are multiples of that. 
> 
> I have my interval_length at 5 seconds.  When I want to check once per
> minute, I set my interval to 12. 
> 
> -----Original Message-----
> From: Neil [mailto:neil-on-nagios at restricted.dyndns.org] 
> Sent: Monday, May 10, 2004 12:06 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] time interval in between checks in seconds 
> 
> 
> Hey guys,  
> 
> What should I modify in nagios.cfg if I wanted to have a service check in 
> the interval of 15 or 30 seconds but also, I want to keep my other settings 
> which is in 1 minute interval?  
> 
> Thanks.  
> 
> Neil
 


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
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