Hi there.
I ve installed nagios-3.2.3
I ve installed apache2
I ve checked the status of both
/etc/init.d/nagios status
up and running
/etc/init.d/apache2 status
up and running
But cannot reach the web interface
Any ideas??? please help
Problems installing Nagios-3.2.3 on ubuntu 10.10
Re: Problems installing Nagios-3.2.3 on ubuntu 10.10
Disable your firewall (iptables) temporarily to eliminate this possibility and also check your selinux. You can disable it temporarily by running in terminal: "setenforce 0"
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Problems installing Nagios-3.2.3 on ubuntu 10.10
I just did it but nothing. Any other ideas?
Re: Problems installing Nagios-3.2.3 on ubuntu 10.10
Did you install from source of using apt? If you're using apt you need to access the page from http://<address>/nagios3. Take a look at your /etc/apache2/conf.d directory and see where the nagios alias is pointing. Verify that it's pointing to the correct directory location for the web front-end.
Re: Problems installing Nagios-3.2.3 on ubuntu 10.10
/etc/apache2conf.d contains the following files :
charset localised-error-pages other-vhosts-access-log security
which one should I configure?
charset localised-error-pages other-vhosts-access-log security
which one should I configure?
Re: Problems installing Nagios-3.2.3 on ubuntu 10.10
If you installed from apt you should already have a file somewhere called nagios3.conf. Otherwise if you installed from source, one of the last steps in the install process is "make install-webconf" and that will create the apache conf file for you as well. If you don't have either of these, here's the conf file from a source install. Change file and directory locations to match your install. You'll need to use the htpasswd command to add a password protected user to the htpasswd.users file.
Code: Select all
ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"
<Directory "/usr/local/nagios/sbin">
# SSLRequireSSL
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
AuthName "Nagios Core"
AuthType Basic
AuthUserFile /usr/local/nagiosxi/etc/htpasswd.users
Require valid-user
</Directory>
Alias /nagios "/usr/local/nagios/share"
<Directory "/usr/local/nagios/share">
# SSLRequireSSL
Options None
AllowOverride None
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
AuthName "Nagios Core"
AuthType Basic
AuthUserFile /usr/local/nagiosxi/etc/htpasswd.users
Require valid-user
</Directory>