Administration Page Fails To Display in Nagios Log Server








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.

Administration Page Fails To Display – How to resolve this Nagios error ?

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

Debian|Ubuntu 16/18/20

$ systemctl restart apache2.service

Once the service has restarted, the Administration page will be accessible.

[Need assistance in fixing Nagios errors? We can help you. ]



Conclusion

This article covers how to resolve the 'Administration Page Fails To Display' in the Nagios Log Server issue for our customers.


To fix this Nagios error, all you need to do is to:
1. Increase the PHP  memory_limit in php.ini file.
You can execute the following command:

$ find /etc -name php.ini

2. Then make the necessary changes.
3. After which you should restart Apache for the changes to take effect using one of the commands below:

$ systemctl restart apache2.service

4. Once the service has restarted, the Administration page will be accessible.

If the problem persists, please increase the value again.


When using the vi editor in Linux:
1. To make changes press i on the keyboard first to enter insert mode
2. Press Esc to exit insert mode
3. When you have finished, save the changes in vi by typing :wq and press Enter


For Linux Tutorials

We create Linux HowTos and Tutorials for Sys Admins. Visit us on LinuxAPT.com

Also for Tech related tips, Visit forum.outsourcepath.com or General Technical tips on www.outsourcepath.com