[Nagios-users] timeperiod definition for election day?

Andreas Ericsson ae at op5.se
Tue Dec 6 00:44:01 CET 2011


On 12/05/2011 09:31 PM, Paul M. Dubuc wrote:
> I didn't see this in the documentation, but I wonder if there is a way to
> specify a timeperiod for the first weekday after another weekday.  For
> example, election day in the U.S. is on the 1st Tuesday after the 1st Monday
> of November.  We have a similar need do define a timeperiod for the 1st Sunday
> after the 1st Saturday of every month.
> 
> Must we do this by entering all the specific dates for these in the coming
> year(s), or is there a simpler, no maintenance way of doing it?
> 

You have to do that manually. I couldn't even imagine what the syntax would
look like to support it, but if you've got a patch I'd gladly take a look
at it.

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

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d




More information about the Developers mailing list