[Nagios-users] timeperiod definition for election day?

Andreas Ericsson ae at op5.se
Tue Dec 6 12:18:11 CET 2011


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                   andreas.ericsson at op5.se
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.

------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/




More information about the Developers mailing list