[Nagios-users] timeperiod definition for election day?

Jochen Bern Jochen.Bern at LINworks.de
Tue Dec 6 09:21:54 CET 2011


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
	}

?

Kind regards,
								J. Bern
-- 
Jochen Bern, Systemingenieur --- LINworks GmbH <http://www.LINworks.de/>
Postfach 100121, 64201 Darmstadt | Robert-Koch-Str. 9, 64331 Weiterstadt
PGP (1024D/4096g) FP = D18B 41B1 16C0 11BA 7F8C DCF7 E1D5 FAF4 444E 1C27
Tel. +49 6151 9067-231, Zentr. -0, Fax -299 - Amtsg. Darmstadt HRB 85202
Unternehmenssitz Weiterstadt, Geschäftsführer Metin Dogan, Oliver Michel

------------------------------------------------------------------------------
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