Are you trying to resolve Administration Page Fails To Display in Nagios Log Server ?
This guide is for you.
Sometimes customers using Nagios log server face an issue when they click the Administration menu. As the page may fail to load and end up with an HTTP 500 error.
Here at Ibmi Media, as part of our Server Management Services, we regularly help our CUstomers to perform related Nagios Log Server queries.
Generally, in larger deployments of Log Server, PHP needs the memory_limit increased from the default of 128M.
This usually fixes the issue.
We must keep in mind that this needs to be performed on all Log Server nodes.
The following steps will increase the value to 512M:
1. Firstly, establish a terminal session to each Log Server node as a root user.
This change needs to be made to our php.ini file, to determine the location of this file execute the following command:
$ find /etc -name php.ini
If there are multiple results, then the one in the Apache directory is the one that needs changing.
2. Take a backup of the php.ini file.
3. We need to edit the file and make the following change:
memory_limit = 512M
Once the change has been made, we will have to restart Apache for the changes to take effect using one of the following commands:
RHEL 7+|CentOS 7+
$ systemctl restart httpd.service
$ systemctl restart apache2.service
Once the service has restarted, the Administration page will be accessible.
Who We Are ?
Most prominent, efficient, and well-performing IT companies and software solutions.