Re: [Nagios-users] timeperiod definition for election day?

2011-12-05 Thread Andreas Ericsson
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.erics...@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
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] timeperiod definition for election day?

2011-12-05 Thread Jim Avery
On 5 December 2011 20:31, 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?
>
> Thanks,
> Paul Dubuc

I was pondering about this sort of thing the other day when I was
updating our bank holiday list.  I think what's really needed is an
equivalent of ntp, but for bank holidays so you have have a central
repository of bank holiday information and have any servers that are
interested poll it once in a while.  That would be nothing to do with
Nagios per se of course, but would be useful to Nagios and lots of
other applications.

Maybe someone has already done such a thing and I've not heard of it yet?

--
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
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] timeperiod definition for election day?

2011-12-05 Thread Paul M. Dubuc
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?

Thanks,
Paul Dubuc

--
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
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null