URL setup for Nagios XI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
pryker
Posts: 15
Joined: Wed Jul 27, 2011 11:33 pm

URL setup for Nagios XI

Post 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
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: URL setup for Nagios XI

Post 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.
pryker
Posts: 15
Joined: Wed Jul 27, 2011 11:33 pm

Re: URL setup for Nagios XI

Post by pryker »

This worked well, thank you!
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: URL setup for Nagios XI

Post by mguthrie »

Good deal!
Locked