> > > > define timeperiod{ > > timeperiod_name offhours > > alias Non-Office Hours, 7 Days A Week > > sunday 00:00-24:00 > > monday 16:30-09:00 > > tuesday 16:30-09:00 > > wednesday 16:30-09:00 > > thursday 16:30-09:00 > > friday 16:30-09:00 > > saturday 00:00-24:00 > > } > > monday 00:00-09:00,16:30-24:00 > etc. >
My Guess is that you cannot specify 16:30-09:00 (The 09:00 would be Tuesday, not Monday etc...) Your explanation is actually the correct syntax, Check http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#timeperiod Specifically the example: Example Definition: define timeperiod{ timeperiod_name nonworkhours alias Non-Work Hours sunday 00:00-24:00 monday 00:00-09:00,17:00-24:00 tuesday 00:00-09:00,17:00-24:00 wednesday 00:00-09:00,17:00-24:00 thursday 00:00-09:00,17:00-24:00 friday 00:00-09:00,17:00-24:00 saturday 00:00-24:00 } ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ 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