Timeperiod definition issue
-
davide.bonicelli
- Posts: 134
- Joined: Thu Feb 13, 2014 5:12 am
Timeperiod definition issue
Hi, with my Nagiosxi 2014R2.6 i wanted to check the cpu with differents warning and critical values while the office are open and closed..so i made 2 different cpu check with different timeperiod..one 07:30-17:30 from monday to friday and another from 17:30-07:30 monday to friday and 24h saturday and sunday..like this:
this is the service with strange result..it only works on saturday and sunday and not from 17:30 to 7:30 in the work days..i did a mistake?
You do not have the required permissions to view the files attached to this post.
-
davide.bonicelli
- Posts: 134
- Joined: Thu Feb 13, 2014 5:12 am
Re: Timeperiod definition issue
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Timeperiod definition issue
This is because Nagios is not going to understand the 17:30-07:30 time as you expect it, because it actually is crossing 2 days
You are going to need 2 entries per day, like
You are going to need 2 entries per day, like
Code: Select all
monday 17:30-24:00
tuesday 00:00-07:30
tuesday 17:30-24:00
wednesday 00:00-07:30
wednesday 17:30-24:00
....-
davide.bonicelli
- Posts: 134
- Joined: Thu Feb 13, 2014 5:12 am
Re: Timeperiod definition issue
thanks scott..what a dumb error!!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Timeperiod definition issue
No problem.
Locking thread
Locking thread