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?
Thanks in advance,
Tomas
Report problem after upgrade
Report problem after upgrade
You do not have the required permissions to view the files attached to this post.
Re: Report problem after upgrade
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
Re: Report problem after upgrade
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.
Re: Report problem after upgrade
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?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?
Former Nagios Employee
Re: Report problem after upgrade
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.
You do not have the required permissions to view the files attached to this post.
Re: Report problem after upgrade
I'm able to replicate this, let me see if I can get you a fix.
Re: Report problem after upgrade
Edit this file:
Change line 69 from:
To:
Let me know if that works for you.
Code: Select all
/usr/local/nagiosxi/html/includes/utils-reports-export.inc.phpCode: Select all
$query['records'] = 100000;Code: Select all
if (preg_match('/execsummary.php/', $_SERVER['REQUEST_URI'])) {
$query['records'] = 10;
} else {
$query['records'] = 100000;
}Re: Report problem after upgrade
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 10Re: Report problem after upgrade
Thank you very much, this solved the problem.