How can you set service check execution time? (asidefrom passive cron)
Marc Powell
marc at ena.com
Mon Nov 13 16:59:07 CET 2006
> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Peter Farrell
> Sent: Monday, November 13, 2006 4:11 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] How can you set service check execution time?
> (asidefrom passive cron)
>
> How can you set service check execution time? (aside from passive
cron)
>
> I have loads of log checks that need to be checked after 8am and only
> once each day.
> As services - they fire at seemingly random times - 2.30am 4am, 6am,
etc.
>
Untested but I would approach it by creating a new time_period
definition that was just the time every day of the week that you want it
to run then assign that as the check_period for your service. Combine
that with a normal_check_interval of 1440 (24 hours) and I would expect
one check per day at that time. You may want to give a small window in
the timeperiod for the scheduler to work with. I can't think of any
reason why that wouldn't work.
--
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