holidays

Bart van Daal B.vanDaal at edpnet.net
Thu Oct 5 12:21:11 CEST 2006


Hi list,


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:

define timeperiod 
  timeperiod_name     24x7
    alias       twenty-four seven baby!
    sunday        00:00-24:00
    monday        00:00-24:00
    tuesday       00:00-24:00
    wednesday     00:00-24:00
    thursday      00:00-24:00
    friday        00:00-24:00
    saturday      00:00-24:00
}

define timeperiod {
    timeperiod_name     Tech_hours
    sunday        00:00-24:00
    monday        00:00-08:59,17:00-23:59
    tuesday       00:00-08:59,17:00-23:59
    wednesday     00:00-08:59,17:00-23:59
    thursday      00:00-08:59,17:00-23:59
    friday        00:00-08:59,17:00-23:59
    saturday      00:00-24:00
}

Thank you for any hint or helpful suggestion.

cheers,
Bart

 

Bart van Daal
Network Operations

Van Landeghemstraat 20
9100 SINT-NIKLAAS
b.vandaal at edpnet.net
www.edpnet.be 
T +32 (0)3 265 67 00
F +32 (0)3 265 67 01

 


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