Binding Nagios to a single domain

Marc Powell marc at ena.com
Mon Apr 27 16:23:32 CEST 2009


On Apr 27, 2009, at 8:28 AM, vismara at email.it wrote:

> Hello,
>
> I have installed Nagios on a machine which has more than one domain;  
> all is
> working fine, but I reach Nagios login form from all domains hosted  
> in the
> machine.
>
> I'd like to set Nagios in the way that it will be accessible only  
> via one
> specified domain (for example testingtools.mydomain.com/nagios) and
> absolutely not from others; it is possibile?
> If yes, how I can make this?

If you're using Apache, create all the domains/sites as name based  
virtualhosts.  http://httpd.apache.org/docs/2.0/vhosts/name-based.html.

If you're using some other web server software, consult it's  
documentation to see if it has similar capability (it should).

> Another question: it is possible to switch Nagios first page  
> (immediately
> after the login) to a specified one (for example the tactical view)?

Yes. Obtain the URL for the page you want displayed (by right clicking  
on the link to it and 'copy link location' for example). Edit share/ 
index.php (or is it html/index.php these days?), look for 'main.php'  
and change it to the URL you want displayed instead.

--
Marc



------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
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