Re: [Nagios-devel] [Nagios-users] timeperiod definition

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] [Nagios-users] timeperiod definition

Post by Guest »

On 12/06/2011 09:21 AM, Jochen Bern wrote:
> Am I missing something, or would this
>
> On 12/06/2011 12:44 AM, Andreas Ericsson wrote:
>> On 12/05/2011 09:31 PM, Paul M. Dubuc wrote:
>>> For example, election day in the U.S. is on the 1st Tuesday after
>>> the 1st Monday of November.
>
> be equivalent to "the Tuesday between 02-Nov and 08-Nov", which, in turn,
>
>> I couldn't even imagine what the syntax would
>> look like to support it
>
> should (!) be equivalent to
>
> define timeperiod {
> timeperiod_name Election Day
> alias Shouldnt you be out there voting for someone
> november 2 - 8 00:00-24:00
> exclude AllButTuesdays
> }
> define timeperiod {
> timeperiod_name AllButTuesdays
> alias Everyone can hate MONDAYS ...
> sunday 00:00-24:00
> monday 00:00-24:00
> wednesday 00:00-24:00
> thursday 00:00-24:00
> friday 00:00-24:00
> saturday 00:00-24:00
> }
>
> ?
>

You're right. That's a high quality thinking hat you've got there :)

--
Andreas Ericsson [email protected]
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.





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked