I am new to this product and just wanting to get familiarized with it. I have installed "Nagios-4.3.2 core on Centos 7. I have gone through the install document. The issue I am having is in the document after the install is complete and the httpd & nagios service is started its says you should be able to go to the following site http://nagiosip/nagios/. When trying to go there I don't get much. I have verifed that the service are running see below.
[root@nag nagios-4.3.2]# ps -ef |grep httpd
root 32322 1 0 12:07 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
apache 32323 32322 0 12:07 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
apache 32324 32322 0 12:07 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
apache 32325 32322 0 12:07 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
apache 32326 32322 0 12:07 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
apache 32327 32322 0 12:07 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
apache 32738 32322 0 12:12 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
apache 32739 32322 0 12:12 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
apache 32740 32322 0 12:12 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
[root@nag nagios-4.3.2]# ps -ef |grep nagios
nagios 32374 1 0 12:07 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 32376 32374 0 12:07 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 32377 32374 0 12:07 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 32378 32374 0 12:07 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 32379 32374 0 12:07 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 32380 32374 0 12:07 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
Please if someone could advise what I may be missing or doing wrong. I suspect when I got to this site http://nagiosip/nagios/ I should see some login prompt.
Thanks
New Installation
Re: New Installation
Hi,
how do You install Your Nagios - from source or from repository??
1. Does http://nagiosip/ return apache welcome page ??
2. Please verify /usr/local/nagios/share directory and check for nagios webgui files (php,html,cgi)
3. Verify Your nagios httpd config file
how do You install Your Nagios - from source or from repository??
1. Does http://nagiosip/ return apache welcome page ??
2. Please verify /usr/local/nagios/share directory and check for nagios webgui files (php,html,cgi)
3. Verify Your nagios httpd config file
Code: Select all
ScriptAlias /nagios/cgi-bin "/usr/local/nagios/cgi"
<Directory "/usr/local/nagios/cgi">
# 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 Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
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 Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
</Directory>
Re: New Installation
Another log file you can view to see why the Nagios GUI is not opening up is the /var/log/httpd/error_log file.
Without knowing which instructions you used and is there were any errors, it will be difficult to help but the first thing to try is to reinstall Nagios using the instructions in this KB article.
https://support.nagios.com/kb/article/n ... ource.html
Without knowing which instructions you used and is there were any errors, it will be difficult to help but the first thing to try is to reinstall Nagios using the instructions in this KB article.
https://support.nagios.com/kb/article/n ... ource.html
Be sure to check out our Knowledgebase for helpful articles and solutions!