Re: [Nagios-users] Install difficulty
> Yes. I could be going down the wrong path but, how does the Nagios > install know what the document root of the webserver is? It would seem > to me that there should be some reference to nagios in the document > root so the webserver know where to direct the requests, or does > nagios not work that way? # cat /etc/httpd/conf.d/nagios.conf # SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER # Last Modified: 11-26-2005 # # This file contains examples of entries that need # to be incorporated into your Apache web server # configuration file. Customize the paths, etc. as # needed to fit your system. ScriptAlias /nagios/cgi-bin "/usr/lib/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 /etc/nagios/static/htpasswd.users Require valid-user Alias /nagios "/usr/share/nagios" # 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 /etc/nagios/static/htpasswd.users Require valid-user etc etc etc etc - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Install difficulty
On Tue, Jun 17, 2008 at 08:32:43AM -0700, Jim Miller wrote: >Yes. I could be going down the wrong path but, how does the Nagios install >know what the document root of the webserver is? It would seem to me that >there should be some reference to nagios in the document root so the >webserver know where to direct the requests, or does nagios not work that >way? No, generally, you have to tell your apache where to look. I have this in my /etc/httpd/nagios.conf: # SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER # Last Modified: 11-26-2005 # # This file contains examples of entries that need # to be incorporated into your Apache web server # configuration file. Customize the paths, etc. as # needed to fit your system. ScriptAlias /nagios/cgi-bin "/appl/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 Access" AuthType Basic AuthUserFile /appl/nagios/etc/htpasswd.users Require valid-user Alias /nagios "/appl/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 /appl/nagios/etc/htpasswd.users Require valid-user and that works, as the brits say, a treat. Cheers, -- jra -- Jay R. Ashworth Baylink [EMAIL PROTECTED] Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Install difficulty
Yes. I could be going down the wrong path but, how does the Nagios install know what the document root of the webserver is? It would seem to me that there should be some reference to nagios in the document root so the webserver know where to direct the requests, or does nagios not work that way? - Original Message From: "Yost, Karl" <[EMAIL PROTECTED]> To: Jim Miller <[EMAIL PROTECTED]>; nagios-users@lists.sourceforge.net Sent: Tuesday, June 17, 2008 11:26:46 AM Subject: RE: [Nagios-users] Install difficulty Did you restart apache after you configured the aliases and directory options? Thanks, Karl From:Jim Miller [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 17, 2008 11:21 AM To: Yost, Karl; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Install difficulty This did not work either. - Original Message From: "Yost, Karl" <[EMAIL PROTECTED]> To: Jim Miller <[EMAIL PROTECTED]>; nagios-users@lists.sourceforge.net Sent: Tuesday, June 17, 2008 11:14:39 AM Subject: RE: [Nagios-users] Install difficulty Try using http://localhost/nagios/ The trailing slash may be needed -Original Message- From: Jim Miller <[EMAIL PROTECTED]> Sent: Tuesday, June 17, 2008 11:11 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Install difficulty Hello everyone I have downloaded and installed Nagios per the instructions posted for Fedora. Everything "worked" according to the instructions however when I start Nagios and try to navigate to http://localhost/nagios I get a 404 error. I suspect My webserver is unaware of nagios' exsistance however I am unsure how to begin to trouble shoot this problem. Can someone offer some guidance? Thank you. Jim- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Install difficulty
Did you restart apache after you configured the aliases and directory options? Thanks, Karl From: Jim Miller [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 17, 2008 11:21 AM To: Yost, Karl; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Install difficulty This did not work either. - Original Message From: "Yost, Karl" <[EMAIL PROTECTED]> To: Jim Miller <[EMAIL PROTECTED]>; nagios-users@lists.sourceforge.net Sent: Tuesday, June 17, 2008 11:14:39 AM Subject: RE: [Nagios-users] Install difficulty Try using http://localhost/nagios/ The trailing slash may be needed -Original Message- From: Jim Miller <[EMAIL PROTECTED]> Sent: Tuesday, June 17, 2008 11:11 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Install difficulty Hello everyone I have downloaded and installed Nagios per the instructions posted for Fedora. Everything "worked" according to the instructions however when I start Nagios and try to navigate to http://localhost/nagios I get a 404 error. I suspect My webserver is unaware of nagios' exsistance however I am unsure how to begin to trouble shoot this problem. Can someone offer some guidance? Thank you. Jim - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Install difficulty
On Jun 17, 2008, at 10:09 AM, Jim Miller wrote: > Hello everyone > > I have downloaded and installed Nagios per the instructions posted > for Fedora. Everything "worked" according to the instructions > however when I start Nagios and try to navigate to http://localhost/nagios > I get a 404 error. I suspect My webserver is unaware of nagios' > exsistance however I am unsure how to begin to trouble shoot this > problem. Can someone offer some guidance? Thank you Did you 'make install-webconf' and restart apache? -- Marc - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Install difficulty
This did not work either. - Original Message From: "Yost, Karl" <[EMAIL PROTECTED]> To: Jim Miller <[EMAIL PROTECTED]>; nagios-users@lists.sourceforge.net Sent: Tuesday, June 17, 2008 11:14:39 AM Subject: RE: [Nagios-users] Install difficulty Try using http://localhost/nagios/ The trailing slash may be needed -Original Message- From: Jim Miller <[EMAIL PROTECTED]> Sent: Tuesday, June 17, 2008 11:11 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Install difficulty Hello everyone I have downloaded and installed Nagios per the instructions posted for Fedora. Everything "worked" according to the instructions however when I start Nagios and try to navigate to http://localhost/nagios I get a 404 error. I suspect My webserver is unaware of nagios' exsistance however I am unsure how to begin to trouble shoot this problem. Can someone offer some guidance? Thank you. Jim - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Install difficulty
Hello everyone I have downloaded and installed Nagios per the instructions posted for Fedora. Everything "worked" according to the instructions however when I start Nagios and try to navigate to http://localhost/nagios I get a 404 error. I suspect My webserver is unaware of nagios' exsistance however I am unsure how to begin to trouble shoot this problem. Can someone offer some guidance? Thank you. Jim- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null