Timeperiods for specific hours

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
fraguillen
Posts: 47
Joined: Fri May 18, 2018 11:40 am

Timeperiods for specific hours

Post by fraguillen »

Good morning, happy new year.
How can I specify a time period that is at certain times and not at a range? For example:
1:00
2:00
3:00
4:00
And so until 24:00
Best regards...
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Timeperiods for specific hours

Post by lmiltchev »

What exactly are you trying to accomplish? Do you want your hosts/services to be checked only once per hour? If this is the case, you can set your check_interval to 60 min, and use 24x7 time period. The checks may not be executed exactly at 1:00, 2:00, etc. but will be spread an hour apart.

Note: you cannot specify just a time, e.g. "1:00" in the time period. It is supposed to be a, well, time period (range). See what a valid time period syntax looks like here:

https://assets.nagios.com/downloads/nag ... timeperiod
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked