Solved

Problem getting Centreon montiroing working

  • 12 April 2024
  • 2 replies
  • 41 views

Badge +1

Hello,

 

I trying to get Centreon monitoring working and have run into a problem. I have created two server, one for the Central Server and a Polling server but it does not appear to be working as seen in the screen shot below. Both the Central Server and the Poller are not running?

 

I have found the following error (highlighted in bold) in the “/var/log/centreon-gorgone/gorgoned.log”. 

2024-04-12 11:35:48 - ERROR - [autodiscovery] -class- host discovery - cannot get host discovery jobs - request error [code: '500'] [message: 'The license of the autodiscovery module is not valid']
        (in cleanup) Can't call method "is_debug" on an undefined value at /usr/share/perl5/vendor_perl/gorgone/class/http/backend/curl.pm line 274 during global destruction.
2024-04-12 11:36:27 - ERROR - [core] Package 'gorgone::modules::core::action::hooks' already loaded
2024-04-12 11:36:27 - ERROR - MySQL error : cannot connect to database 'mysql:host=127.0.0.1:port=3306;dbname=centreon': Can't connect to MySQL server on '127.0.0.1' (115) (caller: gorgone::class::db:/usr/share/perl5/vendor_perl/gorgone/class/db.pm:339) (try: 0)
2024-04-12 11:36:27 - ERROR - [nodes] -class- cannot find debug configuration
 

I have tried changing the database connection to use 127.0.0.1 instead of “localhost”, but neither seem to fix the issue. Mariadb is up and running and all Centreon services/process are up and running as best I can tell. 

 

Does anyone have any ideas what is wrong.

 

~Thanks for the help,

Andrew

icon

Best answer by ponchoh 12 April 2024, 22:32

View original

2 replies

Userlevel 4
Badge +13

 

  1. Is this a new install?
  2. Did you follow these?
    1. https://docs.centreon.com/docs/installation/web-and-post-installation/#initialization-of-the-monitoring
  3. is mariadb alive?
    1. systemctl status mariadb
    2. can you connect with the credential provided?

🤞

Badge +1

Hello Ponchoh,

 

Thanks for the reply. I now have it all working thanks to your help. I missed a step in the configuration process and you point it out to me (https://docs.centreon.com/docs/installation/web-and-post-installation/#initialization-of-the-monitoring). Once I followed those steps, the Central Server showed as running. I readded the poller and than that start working.

 

~Thanks you for the help,

Andrew

Reply