Solved

How can i change my server ip(centreon remoteDB poller)

  • 18 April 2024
  • 2 replies
  • 80 views

Badge +2

I have install centreon  with remoteDB and one poller  based on centos8  ,it works well. but now I want to change the IP addresses of these three servers, and I would like to know which configuration files I need to modify to ensure that the monitoring system functions properly after the change.

icon

Best answer by Laurent 19 April 2024, 09:03

View original

2 replies

Userlevel 6
Badge +19

HI @hqm199 

If you want to change the IP address of a poller:

  1. Go to “Configuration > Pollers > Pollers” menu, edit your poller, change IP and SAve
  2. Restart gorgoned process on Centreon Central server:
    • systemctl restart gorgoned
  3. Generate and export configuration for your poller using “Configuration > Pollers > Pollers” menu

If you want to change the IP address of your DBMS:

  1. Edit following files:
    • /etc/centreon/centreon.conf.php
    • /etc/centreon/conf.pm
    • /etc/centreon/config.d/10-database.yaml
  2. Edit your Centreon Broker central (“central-broker-master”) configuration using “Configuration  >  Pollers  >  Broker configuration”, in output tab for “Unified SQL” output and save
  3. Generate and export configuration for your Central server using “Configuration > Pollers > Pollers” menu
  4. Restart centreon process on Centreon central server:
    • systemctl restart centreon
Userlevel 5
Badge +11

Hi @hqm199! Have you managed to solve your problem? If so, don't forget to click on BEST ANSWER. Or simply tell us how you personally managed to solve this issue. This will help other people with the same problem to easily find the solution. Thank you,

Reply