Skip to main content

Hello,

after upgrading from 19.10 to 23.10 i’m not able to restart centengine over the web interface on Central server. On poller is working ok.

 

centengine restart from centreon-gorgone user is working

 

i turn on debug on gorgone and this is output when i try restart centengine:

“2024-07-03 16:12:14 - DEBUG - Blegacycmd] Processing file '/var/lib/centreon/centcore//1720015930.4536-externalcommand.cmd_read'
2024-07-03 16:12:14 - INFO - Nlegacycmd] Handling command 'RESTART', Target: '2'
2024-07-03 16:12:14 - DEBUG - Blegacycmd] internal message: sCOMMAND] M0d765c1b11d6a95f44d356015d0f0c19f64c94902b908c17fd42c2c39a68fcc079d650295cbd7ac8c0177ab484586bb0d19a2fca5d6e1258c475f403045af3dc] f2] {"logging":0,"content":t{"metadata":{"centcore_cmd":"RESTART","centcore_proxy":1},"command":"sudo service centengine restart"}]}
2024-07-03 16:12:14 - DEBUG - Bcore] Message received internal - nCOMMAND] M0d765c1b11d6a95f44d356015d0f0c19f64c94902b908c17fd42c2c39a68fcc079d650295cbd7ac8c0177ab484586bb0d19a2fca5d6e1258c475f403045af3dc] f2] {"logging":0,"content":t{"metadata":{"centcore_cmd":"RESTART","centcore_proxy":1},"command":"sudo service centengine restart"}]}
2024-07-03 16:12:14 - DEBUG - Blegacycmd] Event: vACK] [] {"data":{"error":"unknown_action","message":"action 'COMMAND' is unknown"},"code":1}”

 

In Configuration - Pollers in Actions gorgone configuration is write id: 1 but central has server_id:2

 

During migration i follow centreon documentation.

Ok so with this migration

https://docs.centreon.com/docs/developer/developer-gorgone-migrate-from-centcore/

it’s generate config.yaml file in centreon-gorgone directory with configuration

But there should be this:

name: config.yaml
description: Configuration brought by Centreon Gorgone package. SHOULD NOT BE EDITED! USE CONFIG.D DIRECTORY!
configuration: !include /etc/centreon-gorgone/config.d/*.yaml

Now is working


Reply