I was able to set up a recurring downtime for this without issue. My problem is that the downtime is currently from 5PM - 8AM the next morning - I would much rather use the Flexible Downtime feature that is available on the "Scheduled Downtime" page; 15 hours is quite a long downtime window but that's when the servers reboot.
Is there a way to create a Recurring Downtime that is flexible? Looking at /usr/local/nagiosxi/cron/recurring_downtime.php it looks like there might be a way to do this (there is a boolean fixed as a part of the array) but there is no corresponding toggle on the "Add Recurring Downtime Schedule" page in XI.
recurringdowntime.cfg:
Code: Select all
define schedule {
sid someuuid
user someuser
comment Patch Tuesday - Tuesday Reboots
time 17:00
duration 900
days_of_week tue
days_of_month 8,9,10,11,12,13,14
months_of_year jan,feb,mar,apr,may,jun,jul,aug,sep,oct,nov,dec
svcalso 1
schedule_type hostgroup
hostgroup_name windows-servers
}