Error with scheduling service check

Andreas Ericsson ae at op5.se
Tue Feb 8 22:36:30 CET 2011


On 02/08/2011 03:44 PM, kk wrote:
> Hi,
> 
> Summary: Error with scheduling service checks to run on particular day of every
> month.
> 
> I am facing problem with scheduling a service check to run on particular day of
> every month.
> The problem is that the check is not actually trigerred. I am not aware if this
> is a known issue with the version of nagios I am using or
> how should I go about to determine the root cause of this problem.
> 
> Nagios Version 3.0.6
> OS: SunOS 1.5
> 
> For e.g. if I tried to schedule a check to run on 9th of every month at 11:00
> am, the entry for this setting in the timeperiod section
> would be as below (reference:
> http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#timeperiod):
> 
> day 9			11:00-11:00
> 

This timeperiod includes zero seconds. Nagios can't run a check like
that. If you want it to be run at 11:00 sharp, you schedule it with
cron. If you can live with the check being a couple of minutes late,
you create a timeperiod containing

   11:00-11:05

or something similar.

> The service check is scheduled correctly and I could verify that on the "Service
> Detail" web page. However, the service check is never trigerred.

Because when its scheduleentry comes around to the right time, the
right time has already passed.

> I tried to search the mail list archive but could not find any reference to this
> issue. Can someone let me know if this is a know issue with Nagios 3.0.6
> or how can I debug it.
> 

It's not an issue. It's supposed to work like that.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
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