Page 1 of 1

How to add new server Ip to nagios clients.

Posted: Thu Dec 13, 2018 2:16 pm
by anoopjeev
Hi all,

I have nagios XI server monitoring window hosts and linx hosts. I had to change the static IP address of my Nagios server due to an internal infrastructure migration. I have many windows servers now with errror: "could not fetch information from server". What is the best way for me to point all the servers to the new Nagios IP. Should i re-install the windows agent on each server? Does it require a reboot?

Please help!

Regards,
Anoop.

Re: How to add new server Ip to nagios clients.

Posted: Thu Dec 13, 2018 3:04 pm
by scottwilkerson
anoopjeev wrote:What is the best way for me to point all the servers to the new Nagios IP. Should i re-install the windows agent on each server?
I am going to assume you are using NSClient++ on these servers, to update the IP you would need to edit the following file on each server

Code: Select all

C:\Program Files\NSClient++\nsclient.ini
And change the following line to include your new IP (comma separated)

Code: Select all

allowed hosts = 127.0.0.1,::1
then restart the NSClient++ service on the servers after the line is changed

Re: How to add new server Ip to nagios clients.

Posted: Mon Jan 28, 2019 4:14 pm
by anoopjeev
You can close this as resolved. THANKS!

Re: How to add new server Ip to nagios clients.

Posted: Tue Jan 29, 2019 8:09 am
by scottwilkerson
anoopjeev wrote:You can close this as resolved. THANKS!
Great! Locking thread