Page 1 of 1

How to extract the list of scheduled downtime

Posted: Mon Jul 29, 2019 4:14 am
by ilanabilah
Hi, where can i extract list of scheduled downtime with all the details. Mainly for BO occurence. I need detials like servername, BO name, BO timings.

Re: How to extract the list of scheduled downtime

Posted: Mon Jul 29, 2019 11:32 am
by benjaminsmith
Hi @ilanabilah,

Just to confirm, are you using Nagios Xi or Nagios Core as the majority of questions coming from customers with an active support license are for Nagios XI. Also, what do you mean by BO occurrence? Thanks.

For Nagios Core, the /usr/local/var/nagios.log file will contain entries with the timestamp and name for hosts starting and stopping scheduled downtime.

Recurring downtime is stored in the configuration files in /usr/local/nagios/etc/, while downtime scheduled from the Nagios Core interface is stored in memory. You can access this from the home page of the Nagios Core interface by going to System > Downtime.

Re: How to extract the list of scheduled downtime

Posted: Tue Jul 30, 2019 6:00 am
by ilanabilah
Thank you @benjaminsmith,

managed to get the data as per your advise > Recurring downtime is stored in the configuration files in /usr/local/nagios/etc/

much appreciated! :-)

Re: How to extract the list of scheduled downtime

Posted: Tue Jul 30, 2019 1:12 pm
by mbellerue
Glad to hear that you got your data! Closing thread.