On 06/06/2011 12:52 PM, Mario Garcia Ortiz wrote: > Hello > > i have set up a customized timeperiod to send the alerts during > weekdays only outside work hours (6pm-9am) but If there's one week day > that is a public holiday then the alerts should be send 24/24.. I > wonder how to make it work 100 > > i have so far made the following > > monday to friday 18:01:00 - 24:00:00, 00:00:00 - 08:59:00 > saturday and sunday 00:00:00 - 24:00:00 > may 1 00:00:00 - 24:00:00 > january 1 00:00:00 - 24:00:00 > > would this timeperiod definition do the following; > > send notification only from 6pm to 9am from monday to friday, except > if it's a public holiday in that case it should send at all times. >
Nope. The "monday to friday" syntax isn't supported, and you can't use seconds in the timeperiod definition. Why you're skipping 2 minutes of the desired time (18:01 and 08:59 instead of 18:00 and 09:00), I have no idea. -- Andreas Ericsson [email protected] 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. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list [email protected] 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
