The order problem for install nagios and apache?


#1

I installed nagios and plugin prior to installing apache.now I configured the /usr/local/apache2/conf/httpd.conf according to doc.

I added the following into httpd.conf


ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/
<Directory


#2

you need to access " ](http://)/nagios ", probably the apache.com you accessed is a internet web site unless you have your own dns/hosts file changed.


#3

So apache.com has a nagios installation or are you working for apache.com and are triing to setup nagios at that site? If so, you may want to learn a bit more about linux before attempting to setup nagios on linux.


#4

I have setup the nagios on linux before installing apache. I typed the my-web-svr-ip-address,then the apache web appeared,and I typed the
my-web-svr-ip-address/nagios again ,this site couldnot be accessed,
I am trying to learn liunx more.

Kind Regards!

Minquan


#5

" my-web-svr-ip-address/nagios again ,this site couldnot be accessed, "

Reason is because you didn’t setup the nagios website per the docs. Read the docs again and perform those instructions.
nagios.sourceforge.net/docs/1_0/installweb.html


#6

btw, it’s not really my-web-svr-ip-address/nagios

It’s really whatever your website is, try this instead.
localhost/nagios


#7

I have already setup the nagios website per the docs before I tried.


#8

After you make a change to the apache config you have to restart the webserver. If you are in doubt, perform all the steps in the documentation again.