Page 1 of 4

Most Recent Alerts Report Issue

Posted: Tue Jul 02, 2013 12:50 pm
by EchoKev
Hello,

Recently I have noticed that when we do our end of month reports for the nagios alerts, that the information is not being fully displayed. An example is that it states "Displaying all 275 matching alerts" but then only displays 60 or so rows. This is happening no matter what settings for host, host group, etc. is selected.

Just wondering if anyone else has seen this, and how to correct this so that all the information is displayed?

Example report setup:
Alerts -> Summary
Report Type: Most Recent Alerts
Report Period: Custom Report Period
Start Date: 1st of month
ENd date: last day of month
Limit to host group: <any host group>
Limit to servicegroup: ALL SERVICEGROUPS
Limit to host: ALL HOSTS
Alert Types: Host and service alerts
State Types: Hard States
Host States: All Host states
Service States: All service State
Max List items: 300

Nagios Version: Nagios Core 3.5.0
Server: Ubuntu 12.04 LTS x64

Re: Most Recent Alerts Report Issue

Posted: Tue Jul 02, 2013 3:22 pm
by lmiltchev
I haven't been able to reproduce this issue. How did you install nagios - from repository or from source?

Re: Most Recent Alerts Report Issue

Posted: Wed Jul 03, 2013 8:56 am
by EchoKev
This would have been installed from source, as the repos were/are older versions at the time of install.

Based on the bash_history, it was configured with the default settings of: ./configure --with-nagios-user=nagios --with-nagios-group=nagios

Re: Most Recent Alerts Report Issue

Posted: Wed Jul 03, 2013 1:58 pm
by slansing
Hmm, could you possibly send a screenshot of this report? I'd like to see if there are notable formatting differences.

Re: Most Recent Alerts Report Issue

Posted: Wed Jul 03, 2013 3:19 pm
by EchoKev
See attached screenshot.
You can see that it just stops displaying data, even though it obviously finds the number of items at the start, it is not outputting them to the page.

Re: Most Recent Alerts Report Issue

Posted: Wed Jul 03, 2013 3:20 pm
by lmiltchev
Can you also run the following command and post the output of it?

Code: Select all

tail -n 50 /var/log/apache2/error.log

Re: Most Recent Alerts Report Issue

Posted: Wed Jul 03, 2013 3:21 pm
by EchoKev
lmiltchev wrote:Can you also run the following command and post the output of it?

Code: Select all

tail -n 50 /var/log/apache2/error.log

root@monitor:~# tail -n 50 /var/log/apache2/error.log
[Sun Jun 30 06:41:43 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.6 with Suhosin-Patch configured -- resuming normal operations
root@monitor:~#

Re: Most Recent Alerts Report Issue

Posted: Wed Jul 03, 2013 4:06 pm
by lmiltchev
So far, we haven't been able to reproduce the issue, and the error log is of no help. We will have to do some digging into this and will let you know if we are able to find out what is causing the issue.

Re: Most Recent Alerts Report Issue

Posted: Wed Jul 03, 2013 4:26 pm
by EchoKev
lmiltchev wrote:So far, we haven't been able to reproduce the issue, and the error log is of no help. We will have to do some digging into this and will let you know if we are able to find out what is causing the issue.
I appreciate it. Let me know if I can provide anything else which may help.

Re: Most Recent Alerts Report Issue

Posted: Mon Jul 08, 2013 1:44 pm
by lmiltchev
We tested the same scenario on many different machines, but we were not able to recreate the issue. Let's try the following - generate the same report (as on screenshot), right-click on it, select "This Frame->Save Frame As...", and save the report (it will be saved as "Nagios Event Summary.htm"). PM me the report, so that we can review it and possibly debug the issue.