Page 1 of 1

URL setup for Nagios XI

Posted: Wed Aug 10, 2011 5:56 am
by pryker
I have a couple of questions:

1. I want to run NagiosXI like http://server.com/ rather than http://server.com/nagiosxi/. What would be the process of doing this so I do not break anything?

2. My NagiosXI installation has a different URL for external access (i.e. http://server1.com/nagiosxi/ is internal and http://server2.com/nagiosxi/ is external). The problem I am having is that all email is being sent out to the notification recipients with the link for internal access rather than external. Is there a way to change this?

Thanks

Phil

Re: URL setup for Nagios XI

Posted: Wed Aug 10, 2011 9:49 am
by agriffin
  1. If you look in the file /etc/httpd/conf/httpd.conf change this line:

    Code: Select all

    DocumentRoot "/var/www/html"
    to:

    Code: Select all

    DocumentRoot "/usr/local/nagiosxi/html
    Then run 'service httpd restart' and you're done!
  2. Can you explain this a bit more? I'm not sure I understand what's going on here.

Re: URL setup for Nagios XI

Posted: Mon Aug 15, 2011 9:59 am
by pryker
This worked well, thank you!

Re: URL setup for Nagios XI

Posted: Mon Aug 15, 2011 10:39 am
by mguthrie
Good deal!