Hi,
I have installed Nagios on CentOS8 sucessfully, but I am not able to access it. I am getting "The requested URL /nagios was not found on this server."
Please guide me.
Ekalavya
The requested URL /nagios was not found on this server.
Re: The requested URL /nagios was not found on this server.
It sounds like the Apache configuration is missing. Did you follow the steps at https://support.nagios.com/kb/article/n ... .html#RHEL ? The command to install the Apache config is:
Code: Select all
make install-webconfAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: The requested URL /nagios was not found on this server.
Hi cdienger,
Thanks for your reply. I did follow that steps successfully. But, when i was trying to access from a remote system, i am getting "The requested URL /nagios was not found on this server". I am able to access phpmyadmin for database creation without any problem.
What could be wrong?.
regards,
Ekavalya
Thanks for your reply. I did follow that steps successfully. But, when i was trying to access from a remote system, i am getting "The requested URL /nagios was not found on this server". I am able to access phpmyadmin for database creation without any problem.
What could be wrong?.
regards,
Ekavalya
Re: The requested URL /nagios was not found on this server.
Hi cdienger
Thanks for your reply. I have searched the net and found the solution as below:
Alias /nagios/ "/var/opt/user/monitoring/nagios/share/./"
<Directory "/var/opt/user/monitoring/nagios/share/./">
But i only added the Alias. Now, my nagios.conf is as below. Please advise me where all i have to make changes. Further, only localhost is visible, but i have 3 windows servers which are not showing. In this regard, how i can add?.
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
</IfVersion>
</Directory>
Alias /nagios "/usr/local/nagios/share"
<Directory "/usr/local/nagios/share">
# SSLRequireSSL
Options None
AllowOverride None
<IfVersion >= 2.3>
<RequireAll>
Require all granted
# Require host 127.0.0.1
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
</RequireAll>
</IfVersion>
<IfVersion < 2.3>
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
</IfVersion>
</Directory>
</Directory>
regards,
Ekavalya
Thanks for your reply. I have searched the net and found the solution as below:
Alias /nagios/ "/var/opt/user/monitoring/nagios/share/./"
<Directory "/var/opt/user/monitoring/nagios/share/./">
But i only added the Alias. Now, my nagios.conf is as below. Please advise me where all i have to make changes. Further, only localhost is visible, but i have 3 windows servers which are not showing. In this regard, how i can add?.
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
</IfVersion>
</Directory>
Alias /nagios "/usr/local/nagios/share"
<Directory "/usr/local/nagios/share">
# SSLRequireSSL
Options None
AllowOverride None
<IfVersion >= 2.3>
<RequireAll>
Require all granted
# Require host 127.0.0.1
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
</RequireAll>
</IfVersion>
<IfVersion < 2.3>
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
</IfVersion>
</Directory>
</Directory>
regards,
Ekavalya