Report problem after upgrade

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
koza
Posts: 12
Joined: Wed Dec 16, 2015 7:36 am

Report problem after upgrade

Post by koza »

Hi,

after upgrading to Nagios XI 5.2.5 we have a problem with generating Executive Summary report. Instead of adding just Top Alert Producers, it adds every service that produced at least 1 alert. So instead of 12 top producers it makes 15 pages of alert producers. It was allright before upgrade, is it bug in this version?
topalerts.PNG
Thanks in advance,
Tomas
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Report problem after upgrade

Post by tmcdonald »

Myself and a co-worker were unable to reproduce this - can you show me a screenshot of the 15 pages? Also, what XI version did you upgrade from?
Former Nagios employee
koza
Posts: 12
Joined: Wed Dec 16, 2015 7:36 am

Re: Report problem after upgrade

Post by koza »

Sure it looks like this. Tbh I'm not really sure from which version we upgraded, because I was not present in the company at that time. Is there a way to find some update log in Nagios XI?
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Report problem after upgrade

Post by rkennedy »

koza wrote:Sure it looks like this. Tbh I'm not really sure from which version we upgraded, because I was not present in the company at that time. Is there a way to find some update log in Nagios XI?
I don't believe that there is. We would need to know what version you upgraded. The case could have been that only 12 hosts / services were producing alerts. I could file a feature request for an option to limit that number if you'd like?
Former Nagios Employee
koza
Posts: 12
Joined: Wed Dec 16, 2015 7:36 am

Re: Report problem after upgrade

Post by koza »

The thing is, when I display the report, it looks the way it should be, but when I save it, it expands on every alert.
summary.PNG
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Report problem after upgrade

Post by ssax »

I'm able to replicate this, let me see if I can get you a fix.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Report problem after upgrade

Post by ssax »

Edit this file:

Code: Select all

/usr/local/nagiosxi/html/includes/utils-reports-export.inc.php
Change line 69 from:

Code: Select all

$query['records'] = 100000;
To:

Code: Select all

if (preg_match('/execsummary.php/', $_SERVER['REQUEST_URI'])) {
        $query['records'] = 10;
} else {
        $query['records'] = 100000;
}
Let me know if that works for you.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Report problem after upgrade

Post by ssax »

Also, bug report created:

Code: Select all

NEW TASK ID 8074 created - Nagios XI Bug Report: Executive Summary Report - PDF showing all objects with alerts, not just top 10
koza
Posts: 12
Joined: Wed Dec 16, 2015 7:36 am

Re: Report problem after upgrade

Post by koza »

Thank you very much, this solved the problem.
Locked