holidays

Hugo van der Kooij hvdkooij at vanderkooij.org
Fri Oct 6 22:22:29 CEST 2006


On Fri, 6 Oct 2006, Matthias Eble wrote:

> Andreas Ericsson schrieb:
> > Bart van Daal wrote:
> >>
> >> i've been searching around for a way to define holidays in nagios. The
> >> object is
> >> to be able to use a 24-7 timeperiod on holidays (e.g. 25 december) and
> >> the Tech_hours 
> >> timeperiod on 'normal' days:
> > 
> > afaik, there are no solutions for this inside Nagios. Most people who 
> > need this desperately enough have implemented the functionality in the 
> > notification-script. I believe the reason no solution has been posted 
> > online is that whatever solution is used isn't sharable across national 
> > borders.
> 
> In a later version timeperiods can be defined on special date basis.
> 
> I think it was like
> 
> define timeperiod{
>        timeperiod_name   24x7
>        alias         ever
>        monday        00:00-24:00
>        tuesday       00:00-24:00
> ...
>        2006-12-25    10:00-17:00
> }

To the best of my knowledge something like this is very much workable 
across borders.

It is the local admin which defines the periods.

The way it can be defined can be used anywhere in the world. 

I think both single date and repeating date entries are required to finish 
the job. Something like:

monday		00:00-07:30
12-05		00:00-24:00	(Sinterklaas indeed ;-)
2007-04-09	00:00-24:00	(Next year Easter eggs)


Hugo.

-- 
	hvdkooij at vanderkooij.org	http://hvdkooij.xs4all.nl/
	    This message is using 100% recycled electrons.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list