Installing Nagios on virtual hosted env on RHEL

Marc Powell marc at ena.com
Mon Jun 1 20:20:42 CEST 2009


On Jun 1, 2009, at 11:56 AM, Justin Wesbrooks wrote:

> Hi guys,
> I'm new to Nagios.  I just  followed the quick start guide for
> installing on Fedora (though I'm on RHEL).  Everything went ok.  I
> tried to hit the /nagios page and get nothing.  I'm using virtual
> hosts so I tried to add a virtual host that pointed to /usr/local/
> nagios as the doc root.  That doesn't work either.  I'm doing a very
> vanilla install at this point with the default config files etc.  Any
> pointers?

This is what I use (under apache 1.3 at least). Access is at http://my.nagios.foo/ 
  --

<Virtualhost *:80>
         ServerName my.nagios.foo
         Serveradmin admin at email.address
         DocumentRoot /usr/local/nagios/share
         ScriptAlias /cgi/ "/usr/local/nagios/sbin/"
         ErrorLog /var/log/httpd/my.nagios.foo-error.log
         CustomLog /var/log/httpd/my.nagios.foo-access.log combined
<Directory /usr/local/nagios/sbin>
         AllowOverride AuthConfig
         Options ExecCGI
         Satisfy All
</Directory>

<Directory /usr/local/nagios/share>
         AllowOverride AuthConfig
         order allow,deny
         allow from all
</Directory>
</VirtualHost>


--
Marc

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list