What's wrong with this timeperiod definition?
Tatyaso Babar
tbabar at osius.com
Thu Oct 4 13:19:19 CEST 2007
That's correct.. the time period can not be 16:30-9:00 for a day...its
reverse. I think the range should be between 00:00-24:00 & in the same
order.
Regards,
Tatyaso
-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Giles
Coochey
Sent: Thursday, October 04, 2007 2:13 PM
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] What's wrong with this timeperiod
definition?
> >
> > define timeperiod{
> > timeperiod_name offhours
> > alias Non-Office Hours, 7 Days A Week
> > sunday 00:00-24:00
> > monday 16:30-09:00
> > tuesday 16:30-09:00
> > wednesday 16:30-09:00
> > thursday 16:30-09:00
> > friday 16:30-09:00
> > saturday 00:00-24:00
> > }
>
> monday 00:00-09:00,16:30-24:00
> etc.
>
My Guess is that you cannot specify 16:30-09:00 (The 09:00 would be
Tuesday, not Monday etc...)
Your explanation is actually the correct syntax,
Check http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#timeperiod
Specifically the example:
Example Definition:
define timeperiod{
timeperiod_name nonworkhours
alias Non-Work Hours
sunday 00:00-24:00
monday 00:00-09:00,17:00-24:00
tuesday 00:00-09:00,17:00-24:00
wednesday 00:00-09:00,17:00-24:00
thursday 00:00-09:00,17:00-24:00
friday 00:00-09:00,17:00-24:00
saturday 00:00-24:00
}
------------------------------------------------------------------------
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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