I am trying to figure out the Timeperiods to create a notification time period that would not notify between the hours of 19:45-6:15. Giving a 15 minute buffer each way. On the weekends I want 24x7 so would this be correct?
Sunday - 00:00-24:00
Monday - 06:15-19:45
Tuesday - 06:15-19:45
Wednesday - 06:15-19:45
Thursday - 06:15-19:45
Friday - 06:15-19:45
Saturday - 00:00-24:00
Don't notify between 8pm and 6am
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Don't notify between 8pm and 6am
Hi @jkinning,
That looks good. You're timeperiod defintiion would look something like this:
That looks good. You're timeperiod defintiion would look something like this:
Code: Select all
define timeperiod {
timeperiod_name mytimeperiod
alias notification times
sunday 00:00-24:00
monday 06:15-19:45
tuesday 06:15-19:45
wednesday 06:15-19:45
thursday 06:15-19:45
friday 06:15-19:45
saturday 00:00-24:00
}
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Don't notify between 8pm and 6am
Fantastic! Thanks @benjaminsmith
Not sure how to close this post but I am good to go.
Not sure how to close this post but I am good to go.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Don't notify between 8pm and 6am
Hello @jkinning,
Thank you for using the Nagios Support Forum.
Great. Closing this out.Fantastic! Thanks @benjaminsmith
Not sure how to close this post but I am good to go.
Thank you for using the Nagios Support Forum.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!