Page 1 of 1

How to change Nagios XI listening port ???

Posted: Sat Jun 04, 2016 12:36 am
by eric.lin826
Hi Guys
When I access XI using 80 port, everything working fine, but when I change the listening port 80 to others, I got some problem.
1.Network Status Map got nothing
2.Monitoring Process got some error

Could you help me how to change the XI web listening port ?

Re: How to change Nagios XI listening port ???

Posted: Sun Jun 05, 2016 11:33 pm
by Box293
eric.lin826 wrote: but when I change the listening port 80 to others, I got some problem.
How are you changing the listening port?
Can you please post any config files you are modifying.

Re: How to change Nagios XI listening port ???

Posted: Mon Jun 06, 2016 7:07 am
by eric.lin826
Hi
I change /etc/httpd/conf/httpd.conf file.
ex. change line 136's "Listen 80" to "Listen 8080"

Re: How to change Nagios XI listening port ???

Posted: Mon Jun 06, 2016 9:46 am
by hsmith
I haven't tested this, but you could try to change

Code: Select all

$cfg['port_number'] = false;
to

Code: Select all

$cfg['port_number'] = 8080;
in /usr/local/nagiosxi/html/config.inc.php, and then restart apache.

Let me know if this works.

Re: How to change Nagios XI listening port ???

Posted: Mon Jun 06, 2016 11:11 pm
by eric.lin826
Hi hsmith
It works. Thanks for your help!