Home » Categories » Products » Nagios XI » Troubleshooting » Common Problems

Nagios XI - Troubleshooting Reports

Overview

This KB article explains how to troubleshoot problems with reports taking a long time to run on your Nagios XI server.

 

 

Check Log Files

When you are experiencing issues with reports the first step is to analyze the log files for the Apache web server. Establish a terminal session to your Nagios XI server and execute the following command:

tail -f /var/log/httpd/error_log /var/log/httpd/ssl_error_log

 

This display the last few errors that may have occurred and any new ones. You should try and run the report which is taking a long time and observe any log entries that are displayed. Use this log data to help you with the remaining steps in this KB article.

Press CTRL + C to stop the log file from being watched.

 

 

Report Is Exhausting PHP Limits

A common cause with larger reports is that the php.ini file has limits imposed on it to prevent malious attacks which may cause a web server to crash. These same safety measures may also restrict larger reports from running.

The solution is to review the following KB article and edit the php.ini file to increase the max_execution, max_input, and memory variables.

Nagios XI - Optimizing The PHP Settings File

Once you have performed the changes try to re-run the Report and see if this fixes the problem. You may need to increase the values several times to find the right values, this all depends on the size of the report.

 

 

Nagios XI Program URL Is Invalid

Another reason why a report may not run is if the URL defined for the Nagios XI interface is not correct. This may be because an internal DNS record might not be resolvable when being access from the outside world, or perhaps it is spelt incorrectly.

Navigate to Admin > System Config > System Settings and review the Program URL and External URL options. Ensure there is a trailing forward slash (/) after the URL, for example:

http://<xi_server_address>/nagiosxi/

 

 

Final Thoughts

For any support related questions please visit the Nagios Support Forums at:

http://support.nagios.com/forum/

0 (0)
Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Nagios XI - Uploaded plugin returns "/bin/bash^M: bad interpreter: No such file or directory"
Viewed 3776 times since Thu, Feb 25, 2016
Nagios XI - Unable To Login Using Two Factor Authentication
Viewed 2990 times since Tue, Apr 10, 2018
Nagios XI - Notifications Not Sending In XI 5.3.0
Viewed 2558 times since Tue, Oct 4, 2016
Nagios XI - Modifying The Contents Of /usr/local/nagios/etc
Viewed 2831 times since Tue, Jan 26, 2016
Nagios XI - Oracle Services Critical After Nagios XI Upgrade
Viewed 2705 times since Wed, Jan 27, 2016
Nagios XI - Defining Global Environment Variables
Viewed 5540 times since Thu, Mar 17, 2016
Nagios XI - SNMP MIB Upload Problems
Viewed 4838 times since Mon, Apr 10, 2017
Nagios XI - MSSQL Wizards - Adaptive Server connection failed
Viewed 5613 times since Thu, Aug 3, 2017
Nagios XI - ERROR: PostgresQL not running - exiting
Viewed 2556 times since Tue, Jan 26, 2016
Nagios XI - Installing XI Fails To Install Dependency pymssql
Viewed 3238 times since Mon, Oct 17, 2016