Scheduled downtime report

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
vhoover
Posts: 123
Joined: Mon Sep 09, 2013 12:17 pm

Scheduled downtime report

Post by vhoover »

I have an executive that wants to see a report of scheduled downtime history, and in that report they wish to see who and when it was scheduled, so they can match it up with the requests for changes to the production environment. How would I go about this? I have looked through every report option nagios contains (built-in) and through the exchange (http://exchange.nagios.org/directory) to find no way to go about this.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Scheduled downtime report

Post by slansing »

Hmm, we do not currently have the ability to do this. What you could do, (and this is ugly) is if you have Enterprise edition you could schedule the Scheduled Downtime page as a recurring report. You would use the button shown below in the top right of the blue menu bar to do it.
Capture.PNG
You do not have the required permissions to view the files attached to this post.
vhoover
Posts: 123
Joined: Mon Sep 09, 2013 12:17 pm

Re: Scheduled downtime report

Post by vhoover »

I have seen that and I do have the enterprise edition, but wouldn't that only return information if there are any scheduled downtimes at the time the report kicks off?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Scheduled downtime report

Post by slansing »

Correct, it would only be current downtime that is planned to be set in the future, or if used in the Recurring downtime section, it would show all recurring downtime. This can also be pulled from the nagios log by grepping for downtime:

Code: Select all

[1392307970] HOST DOWNTIME ALERT: localhost;STARTED; Host has entered a period of scheduled downtime
Though, that would not be pulled in a report in the web interface, unless you created one to pull that information into a report.
vhoover
Posts: 123
Joined: Mon Sep 09, 2013 12:17 pm

Re: Scheduled downtime report

Post by vhoover »

Unfortunately that will not work for me, thank you anyways though, I have placed a feature request in Mantis (http://tracker.nagios.com/view.php?id=501).
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Scheduled downtime report

Post by abrist »

You can get a list of previous scheduled downtimes in the event log. Go to Home --> event log --> set your timeframe and then search for 'DOWNTIME'.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
vhoover
Posts: 123
Joined: Mon Sep 09, 2013 12:17 pm

Re: Scheduled downtime report

Post by vhoover »

Yes thank you, however it does not state who or what the comment was for the scheduled downtime.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Scheduled downtime report

Post by abrist »

It should. For example, I ran a test of downtime with a comment. The event log shows:
Scheduled Downtime Start2014-02-13 10:11:36HOST DOWNTIME ALERT: localhost;STARTED; Host has entered a period of scheduled downtime
External Command2014-02-13 10:11:36EXTERNAL COMMAND: SCHEDULE_HOST_DOWNTIME;localhost;1392315063;1392322263;1;0;7200;Nagios Administrator;This is my comment
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
vhoover
Posts: 123
Joined: Mon Sep 09, 2013 12:17 pm

Re: Scheduled downtime report

Post by vhoover »

How are you getting it then because all I see in addition to who was notified is:
2014-02-12 11:00:00HOST DOWNTIME ALERT: host01;STARTED; Host has entered a period of scheduled downtime
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Scheduled downtime report

Post by abrist »

Are you configuring recurring downtime, or just a one-off scheduled downtime?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked