Page 1 of 1

Change of IP-Adresse (Distribution: CentOS 7 Core)

Posted: Tue Feb 25, 2025 10:00 am
by RalfS
Good day,

we have to following problem: We have to change simple the IP-Adress from our Nagios-XI-Server (Distribution: CentOS Linux 7 (Core) but unfortunately it was not possible so far to change same.

With the "usual" commands it was unfortunately not successfull so far..

Need quickly help how to change the ip-adress as have no access presently to have Monitoring of Nagios XI.

Many thanks beforehand for your help.

Re: Change of IP-Adresse (Distribution: CentOS 7 Core)

Posted: Tue Feb 25, 2025 8:17 pm
by kg2857
You'll want to check the centos documentation for changing the host IP. Of course once changed hosts monitored via an agent such as nrpe will have to be reconfigured.

Re: Change of IP-Adresse (Distribution: CentOS 7 Core)

Posted: Fri Feb 28, 2025 4:31 pm
by jmichaelson
Assuming nothing has changed from Centos 7 to Centos 9 (A big reach, I know), check the files under /etc//sysconfig/network-scripts/ifconfig-* and /etc/NetworkManager/system-connections.