[Nagiosplug-help] Non random service checks

Tom DE BLENDE tdeblend at gcc.dhl.com
Mon Feb 17 07:24:10 CET 2003


If you have "inter_check_delay_method" set to s(mart) in nagios.cfg,
your first service check will not be within the first minute after the
program starts. However, every check after the first one will be fixed
at your predetermined interval!

Sergio Morilla wrote:
> 
> Done that!!! (I've read the books ;-) )
> But when I reboot my server, this particula service check is
> scheduled more than 10 minutes in the future!!
> 
> When I look at the Service Detail page, the interval is way grater
> than 1 minute.
> 
> I "need" to have this service monitored EVERY minute or so. 3~7 minutes
> is not acceptable!!
> 
> Any other hint?? Am I missing some other setup parameter???
> 
> Here is my service definition
> 
> # Service definition for checking via SNMP
> define service{
> use generic-service
> host_name bue-motorola,cor-motorola
> service_description Check IF via SNMP
> is_volatile 0
> retain_status_information 0 ; DO NOT Retain status information across program restarts
> retain_nonstatus_information 0 ; DO NOT Retain non-status information across program restarts
> normal_check_interval 1 ; Check the service every 1 mins
> check_period 24x7
> contact_groups tcplan-support
> notification_options c,r
> check_command check_snmp!.1.3.6.1.2.1.2.2.1.7.1
> }
> 
> -----Mensaje original-----
> De: Tom DE BLENDE [mailto:tdeblend at gcc.dhl.com]
> Enviado el: Monday, February 17, 2003 11:47
> Para: Sergio Morilla
> CC: nagiosplug-help at lists.sourceforge.net
> Asunto: Re: [Nagiosplug-help] Non random service checks
> 
> http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service
> 
> normal_check_interval:
> This directive is used to define the number of "time units" to wait
> before scheduling the next "regular" check of the service. "Regular"
> checks are those that occur when the service is in an OK state or when
> the service is in a non-OK state, but has already
> been rechecked max_attempts number of times. Unless you've changed the
> interval_length directive from the default value of 60, this number
> will mean minutes. More information on this value can be found in the
> check scheduling documentation.
> 
> Back to your books!
> 
> Sergio Morilla wrote:
> >
> > Hi,
> >
> > I´m finishing my Nagios setup.
> > So far, so good.
> > But...
> > I would like to have my point to point routers WAN interfaces to be checked
> > on a preset interval.
> > I'm checking then with check_snmp without a problem. But I would like to
> > have service checks for this devices (hosts) to be done EVERY minute.
> >
> > Is this possible?? How??
> >
> > Thanks
> >
> > Sergio Morilla
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > 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