timeperiod for off-hours notification

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
markgreene
Posts: 11
Joined: Mon Jun 17, 2019 9:44 am

timeperiod for off-hours notification

Post by markgreene »

Is it possible to specify a timeperiod so I only get notifications for a system off-hours? Can I specify the range like " monday 18:00-08:00 ", or do I have to do something like " monday 00:00-08:00,18:00-24:00 "?

I have been asked to monitor certain QA systems after hours. I don't want 24x7 monitoring because the apps are often restarted during the day, subject to load and volume testing, etc., and I don't need to be bothered with any of that activity.

Thanks
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: timeperiod for off-hours notification

Post by scottwilkerson »

You cannot wrap around past 24:00 you would need to do something like

Code: Select all

monday 00:00-08:00,18:00-24:00
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked