Nagios Log Server servers IP Address changed

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
Sampath.Basireddy
Posts: 252
Joined: Wed Dec 14, 2016 12:30 pm

Nagios Log Server servers IP Address changed

Post by Sampath.Basireddy »

Hello There,

We are changing IP Address of our NLS Servers. We have 2 servers in cluster.

Apart from updating the IP Address in "/usr/local/nagioslogserver/var/cluster_hosts", what other steps to be kept in mind for this change?

Thank You!!
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Nagios Log Server servers IP Address changed

Post by gsmith »

Hi,

Updating the /usr/local/nagioslogserver/var/cluster_hosts files will take care of the servers. Make sure to restart the elasticsearch service after.

But you need to check all the machines that are sending their files to the Nagios Log Server, as it is likely that they were configured
to use the Nagios Log Server's ips and not their hostnames.

Thanks
Sampath.Basireddy
Posts: 252
Joined: Wed Dec 14, 2016 12:30 pm

Re: Nagios Log Server servers IP Address changed

Post by Sampath.Basireddy »

We have a DNS entry created for VIP to which all the servers are configured to send logs to. I highly doubt we configured any server to send logs to IP Address.

I am guessing as long as DNS is resolving to correct IP Address and hostname, we should be good. Is that a fair assumption?
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Nagios Log Server servers IP Address changed

Post by gsmith »

Hi,

Yes that is correct. Sounds like you are good to go and have implemented your networking
in a smart fashion.

Thanks
Sampath.Basireddy
Posts: 252
Joined: Wed Dec 14, 2016 12:30 pm

Re: Nagios Log Server servers IP Address changed

Post by Sampath.Basireddy »

Thank You @gsmith. Please close the topic.
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Nagios Log Server servers IP Address changed

Post by gsmith »

Note for Nagios moderator: please close topic. Thanks
Locked