timeperiods.cfg
Andreas Ericsson
ae at op5.se
Wed Nov 1 13:34:29 CET 2006
Rex Wickham (2020Media.com) wrote:
> Hi list
>
> I want to configure an extended day for notifications but nagios never
> sends any alerts. Here's a snip of my timeperiods.cfg
>
> define timeperiod {
> timeperiod_name 17x7
> alias 8am - 1am, 7 Days A Week
> sunday 00:00-02:00;06:00-23.59
> monday 00:00-02:00;06:00-23.59
> tuesday 00:00-02:00;06:00-23.59
> wednesday 00:00-02:00;06:00-23.59
> thursday 00:00-02:00;06:00-23.59
> friday 00:00-02:00;06:00-23.59
> saturday 00:00-02:00;06:00-23.59
> }
>
> Is this perhaps not the correct format?
> I want notifications from 06.00 in the morning to 02.00 am the next morning.
>
Write it like this:
00:00-02:00,06:00-24:00
You've put semicolon where there should be comma, dot where there should
be colon, and you'll miss out on one minute of notification unless you
use 24:00
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
-------------------------------------------------------------------------
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