How to add new server Ip to nagios clients.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
anoopjeev
Posts: 29
Joined: Wed Jul 26, 2017 6:58 pm

How to add new server Ip to nagios clients.

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
anoopjeev
Posts: 29
Joined: Wed Jul 26, 2017 6:58 pm

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

Post by anoopjeev »

You can close this as resolved. THANKS!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post by scottwilkerson »

anoopjeev wrote:You can close this as resolved. THANKS!
Great! Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked