Skip to main content
Solved

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

  • April 18, 2024
  • 2 replies
  • 430 views

Forum|alt.badge.img+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.

Best answer by lpinsivy

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

2 replies

lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Centreonian
  • Answer
  • April 19, 2024

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

fgbetokpanou
Centreonian
Forum|alt.badge.img+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,