Hi all
I install nagios through ssh on ubuntu machine. then i try to open web interface on http://localhost/nagios/main.cgi I got this error.
Unable to get process status
My configuration file is
ScriptAlias /nagios/cgi-bin /opt/nagios/sbin
Alias /nagios /opt/nagios/share
<Location "/nagios">
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /etc/nagios/htpasswd.users
require valid-user
</Location>
<Directory "/opt/nagios/share">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Require all granted
Order allow,deny
Allow from all
</Directory>
<Directory "/opt/nagios/sbin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Require all granted
Order allow,deny
Allow from all
</Directory>
Thank you in advance
Unable to get process status on nagios web interface
-
- Posts: 2
- Joined: Tue May 22, 2018 4:43 am
-
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Unable to get process status on nagios web interface
Hello, @francofederico. Is the SElinux enabled?
If it is you need to turn it off:
And restart apache with
Code: Select all
getenforce
Code: Select all
setenforce 0
Code: Select all
service httpd restart
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
- Posts: 2
- Joined: Tue May 22, 2018 4:43 am
Re: Unable to get process status on nagios web interface
I solved the problem with the command
Thank you
Ciao
Franco
Code: Select all
nagios -d /etc/nagios/nagios.cfg
Ciao
Franco
-
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Unable to get process status on nagios web interface
@francofederico, Locking the thread.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.