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 - [legacycmd] Processing file '/var/lib/centreon/centcore//1720015930.4536-externalcommand.cmd_read'
2024-07-03 16:12:14 - INFO - [legacycmd] Handling command 'RESTART', Target: '2'
2024-07-03 16:12:14 - DEBUG - [legacycmd] internal message: [COMMAND] [0d765c1b11d6a95f44d356015d0f0c19f64c94902b908c17fd42c2c39a68fcc079d650295cbd7ac8c0177ab484586bb0d19a2fca5d6e1258c475f403045af3dc] [2] {"logging":0,"content":[{"metadata":{"centcore_cmd":"RESTART","centcore_proxy":1},"command":"sudo service centengine restart"}]}
2024-07-03 16:12:14 - DEBUG - [core] Message received internal - [COMMAND] [0d765c1b11d6a95f44d356015d0f0c19f64c94902b908c17fd42c2c39a68fcc079d650295cbd7ac8c0177ab484586bb0d19a2fca5d6e1258c475f403045af3dc] [2] {"logging":0,"content":[{"metadata":{"centcore_cmd":"RESTART","centcore_proxy":1},"command":"sudo service centengine restart"}]}
2024-07-03 16:12:14 - DEBUG - [legacycmd] Event: [ACK] [] {"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.