Re: [Nagios-users] What's wrong with this timeperiod definition?
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 thursday16:30-09:00 friday 16:30-09:00 saturday00: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 thursday00:00-09:00,17:00-24:00 friday 00:00-09:00,17:00-24:00 saturday00: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
Re: [Nagios-users] What's wrong with this timeperiod definition?
That's correct.. the time period can not be 16:30-9:00 for a day...its reverse. I think the range should be between 00:00-24:00 in the same order. Regards, Tatyaso -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Giles Coochey Sent: Thursday, October 04, 2007 2:13 PM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] What's wrong with this timeperiod definition? 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 thursday16:30-09:00 friday 16:30-09:00 saturday00: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 thursday00:00-09:00,17:00-24:00 friday 00:00-09:00,17:00-24:00 saturday00: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 - 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
[Nagios-users] What's wrong with this timeperiod definition?
Hello all. Can anyone tell me why this timeperiod does not work? It does not send notifications during the evenings and nights on weekdays, but sends successfully during the weekend! 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 thursday16:30-09:00 friday 16:30-09:00 saturday00:00-24:00 } Thanks for your help. - Jakob - 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
Re: [Nagios-users] What's wrong with this timeperiod definition?
If I remember right, 24:00 should be something like 23:59 On 10/3/07, Jakob Sigurdsson [EMAIL PROTECTED] wrote: Hello all. Can anyone tell me why this timeperiod does not work? It does not send notifications during the evenings and nights on weekdays, but sends successfully during the weekend! 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 thursday16:30-09:00 friday 16:30-09:00 saturday00:00-24:00 } Thanks for your help. - Jakob - 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 -- Nagios, it's what's for breakfast! http://www.NagiosWiki.com Email me personally: mailto:[EMAIL PROTECTED] http://del.icio.us/RogerRustad/nagios http://del.icio.us/rss/RogerRustad/nagios - 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
Re: [Nagios-users] What's wrong with this timeperiod definition?
Whoops, I take that back. 24:00 should be ok. What are you trying to accomplish, exactly, by putting in 16:30-09:00? On 10/3/07, Jakob Sigurdsson [EMAIL PROTECTED] wrote: Hello all. Can anyone tell me why this timeperiod does not work? It does not send notifications during the evenings and nights on weekdays, but sends successfully during the weekend! 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 thursday16:30-09:00 friday 16:30-09:00 saturday00:00-24:00 } Thanks for your help. - Jakob - 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 -- Nagios, it's what's for breakfast! http://www.NagiosWiki.com Email me personally: mailto:[EMAIL PROTECTED] http://del.icio.us/RogerRustad/nagios http://del.icio.us/rss/RogerRustad/nagios - 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
Re: [Nagios-users] What's wrong with this timeperiod definition?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/10/07 07:12 PM, Jakob Sigurdsson wrote: Hello all. Can anyone tell me why this timeperiod does not work? It does not send notifications during the evenings and nights on weekdays, but sends successfully during the weekend! 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 thursday16:30-09:00 friday 16:30-09:00 saturday00:00-24:00 } monday 00:00-09:00,16:30-24:00 etc. Thomas -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHBCcP6dZ+Kt5BchYRAhuQAKDwBY43hflc4OlG73Z8efD4knDMKwCeMDDy mMlZV+6XynJcPL6P33qXHTw= =1Euc -END PGP SIGNATURE- - 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