Code: Select all
curl -I http://localhost/nagios
Code: Select all
HTTP/1.1 404 Not Found
Date: Mon, 31 Aug 2015 20:56:35 GMT
Server: Apache/2.2.15 (CentOS)
Connection: close
Content-Type: text/html; charset=iso-8859-1
Please help.
Code: Select all
curl -I http://localhost/nagios
Code: Select all
HTTP/1.1 404 Not Found
Date: Mon, 31 Aug 2015 20:56:35 GMT
Server: Apache/2.2.15 (CentOS)
Connection: close
Content-Type: text/html; charset=iso-8859-1
Can you please post the output of a service nagios status?vbelenky wrote:I followed the instructions at https://assets.nagios.com/downloads/nag ... Source.pdf to install Nagios on CentOS. However, when I run:
I get the following output:Code: Select all
curl -I http://localhost/nagios
I went through many threads on this forum but still can't get it to work.Code: Select all
HTTP/1.1 404 Not Found Date: Mon, 31 Aug 2015 20:56:35 GMT Server: Apache/2.2.15 (CentOS) Connection: close Content-Type: text/html; charset=iso-8859-1
Please help.
Code: Select all
service nagios statusCode: Select all
nagios (pid 25461) is running...
Hm, I thought it would do that for you...not an issue we normally run into. Thanks for the update and including the resolution.vbelenky wrote:I solved this problem. Inside "/etc/httpd/conf.d/nagios.conf" I uncommented the 2 lines "Allow from 127.0.0.1" and restarted apache "service httpd restart".