[root@RedhatCluster2 nagios]#
######################
After Nagios Instalation using the guide , You need to create Host and service definations.
After you may find out the Issue With Content Visibility On Nagios Web page with a error String such as
"Internal Error" and upon digging with nagios Error Log you may find out following error:
Permission denied: exec of '/usr/local/nagios/sbin/status.cgi' failed.
You can do following to Solve the issue.
1. Check If "SELINUX=enforcing" in /etc/selinux/config, If yes Proceed further.
2. To disable Permanently, Which is not a good practice Please do the following:
edit /etc/selinux/config and change the SELINUX line to SELINUX=disabled:
and then reboot the system.
or, setenforce 0
3. Recommended Steps, to Allow with Selinux Enable:
chcon -R -t httpd_sys_content_t /usr/local/nagios
And then restart Nagios.
No comments