Page 1 of 1

Time period customization

Posted: Tue Dec 10, 2013 4:26 pm
by vinothsethuram
I dont want Nagios to send notification between 2.00 to 4.00 AM. Is following time period definition correct?

sunday 00:00:00 - 01:59:00, 04:01:00 - 24:00:00
monday 00:00:00 - 01:59:00, 04:01:00 - 24:00:00
tuesday 00:00:00 - 01:59:00, 04:01:00 - 24:00:00
wednesday 00:00:00 - 01:59:00, 04:01:00 - 24:00:00
thursday 00:00:00 - 01:59:00, 04:01:00 - 24:00:00
friday 00:00:00 - 01:59:00, 04:01:00 - 24:00:00
saturday 00:00:00 - 01:59:00, 04:01:00 - 24:00:00

If correct, is there any possibility to send email at 2.00 and 4.00 AM ?

Re: Time period customization

Posted: Tue Dec 10, 2013 5:18 pm
by slansing
This would be a good place to see definitions in action:

http://nagios.sourceforge.net/docs/3_0/timeperiods.html

You are currently saying every day you want notifications between 12:00AM - 1:59AM, and 4:01AM - the following 12:00AM, if that is what you want then yes those definitions are correct.

Re: Time period customization

Posted: Tue Dec 10, 2013 9:30 pm
by vinothsethuram
I dont want Nagios to send notification between 2.00 to 4.00 AM. Is above time period definition correct?

Re: Time period customization

Posted: Wed Dec 11, 2013 10:21 am
by slansing
You are currently saying every day you want notifications between 12:00AM - 1:59AM, and 4:01AM - the following 12:00AM, if that is what you want then yes those definitions are correct.