Page 1 of 2

Reporting on SCheduled Downtime

Posted: Sun May 17, 2015 11:47 pm
by Fred Kroeger
Is there any way to go back and check if a host/service had been scheduled for downtime?
As part of an investigation, I need to report on the Downtime period and who scheduled it. I looked in the Audit log but couldn't find it there.

regards... Fred

Re: Reporting on SCheduled Downtime

Posted: Mon May 18, 2015 3:51 am
by WillemDH
The history component written by Troy could maybe help you out?

https://exchange.nagios.org/directory/A ... ab/details

Re: Reporting on SCheduled Downtime

Posted: Mon May 18, 2015 9:24 am
by lmiltchev
Fred Kroeger, let us know if the history tab addon is the answer to your question.

Re: Reporting on SCheduled Downtime

Posted: Mon May 18, 2015 10:12 pm
by Fred Kroeger
Thanks Willem - & Troy for the Component!
It almost has the needed info. If I schedule downtime for a Host, then the entry appears in the History Tab.
However if I cancel the downtime from the Scheduled Downtime page , no entry is created for this. Is this a bug ?

Regards ... Fred

Re: Reporting on SCheduled Downtime

Posted: Tue May 19, 2015 1:40 am
by Box293
History on Scheduled downtime is currently a feature request for that component. I plan to update it soon, just been busy with other stuff ... if only I didn't need sleep :lol:

Re: Reporting on SCheduled Downtime

Posted: Tue May 19, 2015 3:00 am
by Fred Kroeger
Thanks Troy - It certainly is a great feature - so your efforts are much appreciated.
Currently the History does show when downtime is scheduled - what's missing is when downtime ends or gets cancelled.

What's also missing are other actions such as Enabling/Disabling notifications.

regards.... Fred

Re: Reporting on SCheduled Downtime

Posted: Tue May 19, 2015 9:44 am
by lmiltchev
Fred, can you submit a review, and request these additions to the component on the Nagios Exchange?

https://exchange.nagios.org/directory/A ... ab/details

This way, this will not "fall in the cracks", and Troy will have a reminder. :)

Re: Reporting on SCheduled Downtime

Posted: Tue May 19, 2015 4:50 pm
by Box293
lmiltchev wrote:Fred, can you submit a review, and request these additions to the component on the Nagios Exchange?

https://exchange.nagios.org/directory/A ... ab/details

This way, this will not "fall in the cracks", and Troy will have a reminder. :)

Nagios Exchange NEVER emails the owner of a project when someone submits a review, which makes it very hard to know when someone does.
I only find out about these by manually going and looking at each individual project :( :( :( :( :( :( :( :( :( :( :(

Re: Reporting on SCheduled Downtime

Posted: Tue May 19, 2015 11:50 pm
by Box293
So I had some of that spare time up my sleeve and updated it. You can download it here:

https://exchange.nagios.org/directory/A ... ab/details

Changes:
2015-05-20
* Added Scheduled Downtime comments (requested by snapon_admin, Fred Kroeger)
* Added history on the following external commands (requested by Fred Kroeger):
** Active Checks enabled/disabled
** Passive Checks enabled/disabled
** Notifications enabled/disabled
** Flap Detection enabled/disabled
** Event Handler enabled/disabled
** Obsession enabled/disabled

Re: Reporting on Scheduled Downtime

Posted: Wed May 20, 2015 2:38 am
by WillemDH
Very nice Troy!

Just installed it. One small thing I noticed, is that it seems not possible to see who disabled or enabled notifications. The user is always 'Authorized User'.

Grtz

Willem