Skip to main content

 

Hey
When I want to deactivate a host from Centreon because the host has been summered and after restarting the poller, nothing happens.
I have to go CLI on the Centreon server and use “systemctl reload cbd ou centreon” to remove the host.

Have you ever had this happen?I am using version 24.04.7 of Centreon.Best regards

Hi,

what commands are defined when you go to the configuration of you poller?

(Goto “Pollers”=> “click on your poller”)

 

 


EDITHere is an image capture

 


Hi @Undef1ned, if you modify your configuration, you need to generate configuration and export it.

If you did this and you have issue, it means that an error appears with Centreon gorgone process, please check /var/log/centreon-gorgone/gorgoned.log file.


Modify my configuration ?

Here is the message I have in the log “/var/log/centreon-gorgone/gorgoned.log”

 


Can you check the content of /etc/centreon/config.d/10-database.yaml file?


Yes, I have an account called “centreon”

For me it must be an access problem given the image, but I really can't find the problem

Hello ​@Undef1ned 
seem like your dsn is not correctly configured.

In the file /etc/centroen/config.d/10-database.yaml, you should have something like this :
 

you can see a part “host=localhost” present in the dsn because my database is installed on the same host as my web interface. if you db is installed on another server then the ip/fqdn of this database server should be present instead.

You can test the connexion with mysql client :

mysql -u centreon -ppassword -h localhost -P3306 centreon

 


Reply