How to change Nagios XI listening port ???

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
eric.lin826
Posts: 33
Joined: Thu Apr 02, 2015 11:51 pm

How to change Nagios XI listening port ???

Post 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 ?
You do not have the required permissions to view the files attached to this post.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

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

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
eric.lin826
Posts: 33
Joined: Thu Apr 02, 2015 11:51 pm

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

Post by eric.lin826 »

Hi
I change /etc/httpd/conf/httpd.conf file.
ex. change line 136's "Listen 80" to "Listen 8080"
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

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

Post 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.
Former Nagios Employee.
me.
eric.lin826
Posts: 33
Joined: Thu Apr 02, 2015 11:51 pm

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

Post by eric.lin826 »

Hi hsmith
It works. Thanks for your help!
Locked