Error with scheduling service check

Jim Avery jim at jimavery.me.uk
Tue Feb 8 21:40:51 CET 2011


On 8 February 2011 14:44, kk <ketan.kalgaonkar at db.com> 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
>
> The service check is scheduled correctly and I could verify that on the "Service
> Detail" web page. However, the service check is never trigerred.
> 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.

I don't know what the code is actually doing, but it strikes me that
11:00-11:00 is an infinitesimally small amount of time!  Nagios isn't
designed to run checks at a precise time like this.

Personally I would configure this one as a passive check in Nagios and
get cron to run the check once a month, sending the result back to
Nagios either via nsca or directly to the command interface.

------------------------------------------------------------------------------
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