Skip to main content

Hello,

At the end of a script which changes the configuration of a poller I’m trying to export the configuraiton using CLAPI v1 (with the commands POLLERGENERATE, POLLERTEST, CFGMOVE and POLLERRESTART). It seems to work fine when I run the commands, but on the HMI the column “Conf Changed” next to my poller remains on YES. It works when I try exporting the configuration manually on the HMI.

Thank you in advance for helping me.

Best regards,

Hi @Cyril_31 when you run this commands using CLAPI, can you check if your poller receives configuration (into /etc/centreon-engine directory) and if process restart (systemctl status centengine)


Hello,

 

Yes, all files in /etc/centreon-engine directory are updated at the end, and centengine is restarted.


Not sure if it's related, 90% check services on the hosts on my poller are still pending. It’s very slowly, and i have to force check on the gui.

Now, i have a problem on the poller:

“Some database poller updates are not active; check your configuration”


I have the same result on the centreon Central.

I have the “conf Changed” = yes.

If i try the cmd: centreon -u admin -p passwd -a APPLYCFG -v 1, the “conf changed” on GUI is already “yes”


You have  “conf Changed” = yes because Centreon Engine using Centreon Broker (cbmod.so) doesn’t update centreon_storage.instances table.

But if you check that Centreon Engine files are updated and centengine process is restarted, I don’t know why database is not up to date.

Do you have error in /var/log/centreon-broker/central-module-master.log file?


Hello, 

For information, this bug "conf changes=yes" with clapi is confirmed by Centreon support 


Reply