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 »

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
--=20
Jochen Bern, Systemingenieur --- LINworks GmbH
Postfach 100121, 64201 Darmstadt | Robert-Koch-Str. 9, 64331 Weiterstadt
PGP (1024D/4096g) FP =3D D18B 41B1 16C0 11BA 7F8C DCF7 E1D5 FAF4 444E 1C2=
7
Tel. +49 6151 9067-231, Zentr. -0, Fax -299 - Amtsg. Darmstadt HRB 85202
Unternehmenssitz Weiterstadt, Gesch=E4ftsf=FChrer Metin Dogan, Oliver Mic=
hel





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