Page 1 of 1

XI Reporting Part Two

Posted: Tue Feb 16, 2016 3:19 pm
by jkinning
Ok, the bulk rename kept the data and I checked several reports / historical data for the newly re-named Cincinnati-North office, and did see historical information. However, when I ran the “Legacy Availability Report”, which is what I use to create the monthly Availability Report that is sent to Management, it seems like there is no historical data available. Below is what I am getting. Is there any way to get this report to show data prior to the re-name? Would it help at all to put it back to the old name (Hamilton)?

Re: XI Reporting Part Two

Posted: Wed Feb 17, 2016 12:44 pm
by tmcdonald
Seeing as that report is a Legacy from Core, it likely has no knowledge of the rename (I believe it parses the log files for that report). I've asked our Core dev for clarification, and will update when I know more. Update: Dev confirmed, Core uses logs for reports

On a related note, is there a particular reason you are using the legacy report instead of the XI version?

Re: XI Reporting Part Two

Posted: Thu Feb 18, 2016 11:43 am
by jkinning
The user likes that formatting and is easier for the Business Unit to read. What is the equivalent report in XI so that it looks similar and provides the same data?

Re: XI Reporting Part Two

Posted: Thu Feb 18, 2016 3:01 pm
by jkinning
They want to see the exact dates and times when a connection was up or down. The Legacy Report shows this much more clearly than the “current” report:

“Current” report doesn’t show the start and stop time of each period, nor the duration, nor the overall availability. See 1.jpg attachment.
Legacy report shows the start and stop time of each period, its duration, and the overall availability. See 2.jpg attachement.

Re: XI Reporting Part Two

Posted: Thu Feb 18, 2016 5:48 pm
by ssax
I've created a feature request for this with a link back to this thread:

Code: Select all

NEW TASK ID 7813 created - Nagios XI Feature Request: State History Report - Add the ability to show start/stop/duration/overall availability like legacy report
I think that you would have to rename it back for it to pull properly from the logs in the legacy report.

Re: XI Reporting Part Two

Posted: Fri Feb 19, 2016 6:56 am
by jkinning
So I could rename it and the Legacy report would show me that information for the host? Just don't want to create any damage since these reports are critical for the Business Unit. :D

Thanks for the feature request submission!

Re: XI Reporting Part Two

Posted: Fri Feb 19, 2016 3:15 pm
by ssax
You should take an XI backup / VM snapshot before trying it just in case:

Code: Select all

https://assets.nagios.com/downloads/nagiosxi/docs/Backing-Up-And-Restoring-Nagios-XI.pdf
Use the renaming tool to rename it back and then it should be just like it was, the log files contain the old name so it wouldn't find them, it should when you name it back.

Also, you might be able to do a find/replace on the old logfiles to change the name in there so you wouldn't have to change it back.