How to extract the list of scheduled downtime

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
ilanabilah
Posts: 5
Joined: Tue Jul 02, 2019 9:51 pm

How to extract the list of scheduled downtime

Post 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.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: How to extract the list of scheduled downtime

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
ilanabilah
Posts: 5
Joined: Tue Jul 02, 2019 9:51 pm

Re: How to extract the list of scheduled downtime

Post 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! :-)
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: How to extract the list of scheduled downtime

Post by mbellerue »

Glad to hear that you got your data! Closing thread.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked