Page 1 of 1

Report for scheduled downtime.

Posted: Thu Nov 14, 2019 4:03 pm
by ar0431
I want to generate the report where I can see who generate the scheduled downtime, how many scheduled downtime on one server or given number of servers.

Re: Report for scheduled downtime.

Posted: Thu Nov 14, 2019 4:53 pm
by tgriep
There is not a report in Nagios XI that you can use to get the details on who and when scheduled downtime was done.

The best you can do it to run the Event Log report and download it as a CSV file and search through that to get the data.

One thing, you will have to enable the log_external_commands option before that data is added to the Event Log.
Edit the /usr/local/nagios/etc/nagios.cfg file and change this from

Code: Select all

log_external_commands=0
to

Code: Select all

log_external_commands=1
Save the file and restart nagios.

Re: Report for scheduled downtime.

Posted: Thu Nov 14, 2019 5:00 pm
by ar0431
ok, please improve reporting function in Nagios xi. However, what log_external_commands will do. Is ti safe to turn on this option?

Re: Report for scheduled downtime.

Posted: Thu Nov 14, 2019 5:41 pm
by tgriep
If the system if not processing a log of external commands, then enabling the logs should not affect the system very much.

I'll put in a feature request asking the a detailed Scheduled Downtime report.