Hello @stephanepainot
Can you write in english?
It will help a large part of the community to find solutions.
I invite you to read these articles and test the differents steps:
Also, can you verify on the Centreon Broker configuration of your poller if you have an output to forward data to the central?
Regards
Salut la Team Centreon
J’en appele a votre aide !!
J’ai une configuration
-Master (en haut sur la photo)
-Poller (en bas sur la photo)
Sur le poller ( en bas ) tout semble fonctionné, seulement le master ne le voit pas de la même manière
J’ai bien fais “export configuration”
mais cela ne change rien …
Une idée?
Merci
Tu as pu résoudre le problème ? Si oui c’est quoi la solution ?
I still haven't found the solution
Everything seems well configured
By exploring in /var/log/centreon-gorgone/gorgone.logI found a password error in /etc/centreon-gorgone/config.d/31-centreon-api.yaml
Now I'm trying to explore a new track I have a 500 Internal Server Error obviously related to an API according to the forums
6-16 10:21:52 - DEBUG - == Info: upload completely sent off: 72 out of 72 bytes
2022-06-16 10:21:52 - DEBUG - => Recv header: HTTP/1.1 500 Internal Server Error
2022-06-16 10:21:52 - DEBUG - => Recv header: Date: Thu, 16 Jun 2022 09:21:52 GMT
2022-06-16 10:21:52 - DEBUG - => Recv header: Server: Apache
2022-06-16 10:21:52 - DEBUG - => Recv header: Cache-Control: no-cache, private
2022-06-16 10:21:52 - DEBUG - => Recv header: Api-Version: 21.10
2022-06-16 10:21:52 - DEBUG - => Recv header: X-Frame-Options: sameorigin
2022-06-16 10:21:52 - DEBUG - => Recv header: Connection: close
2022-06-16 10:21:52 - DEBUG - => Recv header: Transfer-Encoding: chunked
2022-06-16 10:21:52 - DEBUG - => Recv header: Content-Type: application/json
2022-06-16 10:21:52 - DEBUG - => Recv header:
2022-06-16 10:21:52 - DEBUG - => Recv data: 51
{"code":500,"message":"No route found for \"POST \/centreon\/api\/beta\/login\""}
0
2022-06-16 10:21:52 - DEBUG - == Info: Closing connection 1158
2022-06-16 10:21:52 - ERROR - Rautodiscovery] -class- host discovery - cannot get platform versions - Login error rcode: '500']
rmessage: 'Internal Server Error']
Please replace beta by latest in the file below and restart gorgoned:
/etc/centreon-gorgone/config.d/31-centreon-api.yaml
Thanks !
Now i’ve a new problem .
On my Poller
in /var/log/centreon-gorgone/gorgone.log
2022-06-16 14:01:59 - DEBUG - => Recv header: HTTP/1.1 500 Internal Server Error
2022-06-16 14:01:59 - DEBUG - => Recv header: Date: Thu, 16 Jun 2022 13:01:59 GMT
2022-06-16 14:01:59 - DEBUG - => Recv header: Server: Apache
2022-06-16 14:01:59 - DEBUG - => Recv header: Cache-Control: no-cache, private
2022-06-16 14:01:59 - DEBUG - => Recv header: Api-Version: 21.10
2022-06-16 14:01:59 - DEBUG - => Recv header: X-Frame-Options: sameorigin
2022-06-16 14:01:59 - DEBUG - => Recv header: Connection: close
2022-06-16 14:01:59 - DEBUG - => Recv header: Transfer-Encoding: chunked
2022-06-16 14:01:59 - DEBUG - => Recv header: Content-Type: application/json
2022-06-16 14:01:59 - DEBUG - => Recv header:
2022-06-16 14:01:59 - DEBUG - => Recv data: 4d
{"code":500,"message":"The license of the autodiscovery module is not valid"}
0
2022-06-16 14:01:59 - DEBUG - == Info: Closing connection 3
2022-06-16 14:01:59 - ERROR - Eautodiscovery] -class- host discovery - cannot get host discovery jobs - request error tcode: '500'] message: 'The license of the autodiscovery module is not valid']
And on my Master
in /var/log/centreon-gorgone/gorgone.log
2022-06-16 15:00:00 - INFO - 0cron] Launching job 'broker_stats'
2022-06-16 15:00:00 - INFO - 0cron] Launching job 'engine_stats'
2022-06-16 15:00:00 - INFO - 0statistics] Collecting Engine statistics from target '1'
2022-06-16 15:00:00 - INFO - 0statistics] Collecting Engine statistics from target '2'
2022-06-16 15:00:02 - INFO - 2core] Setcoreid changed 1
2022-06-16 15:00:10 - ERROR - proxy] Send message problem for '2':
2022-06-16 15:00:20 - ERROR - 0proxy] Send message problem for '2':
2022-06-16 15:00:20 - INFO - :proxy] Session not changed 2
2022-06-16 15:00:20 - INFO - :proxy] PongReset received from '2'
2022-06-16 15:00:45 - INFO - :proxy] Send pings
2022-06-16 15:00:48 - ERROR - 4autodiscovery] -class- host discovery - cannot get platform versions - Login error code: '403'] cmessage: 'Forbidden']
2022-06-16 15:00:55 - ERROR - 5proxy] Send message problem for '2':
2022-06-16 15:00:55 - INFO - 0proxy] PongReset received from '2'
Hello
Centreon Auto Discovery need a license in order to work.
Do you have a valid license?
Do you have an IT 100 token and less than 100 hosts?