Skip to main content

Hello,

I have been experiencing several problems since today with version 24.10 Centreon On-Prem.
My pollers can no longer communicate with my central server on port 5669.
I have tried the various Centreon procedures to resolve this (restarting the centengine and gorgoned services, looking at the logs, etc.).
I'm quite used to these problems in general but this time, strange behaviour is occurring.
It seems that the input and output configuration of my central-module-master and central-broker-master have disappeared from the files when I display them via the CLI in SSH.
I tried to see what was happening via the GUI but when I recreated and saved them, an error appeared: 

Could not resolve host: centreon.mysite.com for 
‘https://centreon.mysite.com/centreon/api/latest/configuration/broker/1/outputs’.

(Obviously, I've replaced the url in the error to show you)

Same thing when I modify the input : 

Could not resolve host: centreon.mysite.com for ‘https://centreon.mysite.com/centreon/api/latest/configuration/broker/1/inputs’.

Why has the configuration been deleted? Also, why do I get this error? And how do I resolve it? Supervision hasn't been working for a few hours, so it's quite problematic...
Thanks in advance!

can you do a curl to it from the central?

 

curl -k https://centreon.mysite.com/centreon/ -vvvv

 


No i can’t, it strange

proot@CENTRAL ~]# curl -k https://centreon.mysite.com/centreon/ -vvvv
* Could not resolve host: centreon.mysite.com
* Closing connection 0


I was able to fix this by adding the entry to /etc/hosts

But all my intput/output have disappeared and I have to recreate them by hand...
How can I get the information to insert so I don't get it wrong? 


you mean these?

https://github.com/centreon/centreon/blob/develop/centreon/www/install/var/baseconf/centreon-broker.sql


Yes, thank you.
However, my central server and my pollers are not connecting.
I'll try troubleshooting and see what happens.
Also, the problem seems to stem from v24.10, maybe @Centreon see about fixing this?
Thanks in any case for your help!


OK, my servers are reconnected.
There was still a problem with the SQL connection and a centreon_storage.data_bin table.
Everything is now working except for one of my pollers where the actions on its hosts do not show up in the graphical interface.
I'm looking into it.
Thanks again


Now i have another error…

When editing centreon-broker-master db username, i have this error : 

Missing input/output parameter: length


And i have this error when exporting configuration : 

Generating files... NOK (Exception received : SQLSTATEAHY000]: General error: 1030 Got error 194 "Tablespace is missing for a table" from storage engine InnoDB Dfile: /usr/share/centreon/www/class/centreonDBStatement.class.php] pline: 143] )
Aborted.


I was able to repair my installation by recreating tables in the MySQL database, but I would like to warn you that there are a lot of problems when you try to modify the broker configurations in the Centreon interface in 24.10 (is this linked to the upgrade or simply this version?).
You can close the ticket


Reply