hello
I’ve tried the latest version of the cma, 24.10.3 and .4
in both case on windows 11 and 2025 I get an application crash when the service is starting
here is the event log (windows application, event ID 1000)
Faulting application name: centagent.exe, version: 24.10.4.0, time stamp: 0x679a3975
Faulting module name: centagent.exe, version: 24.10.4.0, time stamp: 0x679a3975
Exception code: 0xc0000409
Fault offset: 0x000000000080fe9d
Faulting process id: 0x4DC
Faulting application start time: 0x1DB86B66FEFF8EC
Faulting application path: C:\Program Files\Centreon\CentreonMonitoringAgent\centagent.exe
Faulting module path: C:\Program Files\Centreon\CentreonMonitoringAgent\centagent.exe
Report Id: 8cf0e8d6-1a8b-43c9-96db-728efb38750a
Faulting package full name:
Faulting package-relative application ID:
I don’t have a windows 2019/2022 on hand to test. the windows 2025 is a fresh install without anything installed on it, out of the box and january patches
on the same machines (win11 and 2025) the version 24.10.0 is working and the service is running fine
no log in the cma.log in trace except it starts, here is the full log :
p2025-02-24 04:20:05.909] 0centreon-monitoring-agent] ninfo] tmain_win.cc:207] centreon-monitoring-agent start
t2025-02-24 04:20:05.909] 0centreon-monitoring-agent] ndebug] ]grpc_client.cc:51] client this=0x1beffcf9df0 activate compression deflate
l2025-02-24 04:20:05.909] 0centreon-monitoring-agent] ninfo] tgrpc_client.cc:78] unencrypted connection to centreon:4317
42025-02-24 04:20:05.928] 0centreon-monitoring-agent] ninfo] tscheduler.cc:177] schedule 0 checks to execute in 1s
n2025-02-24 04:20:05.928] 0centreon-monitoring-agent] ndebug] ]bireactor.cc:52] create client this=0x1beffd35f50 peer:centreon:4317
I tried with and without encryption in the agent configuration
when configuring the agent with “poller iniated connection” the service is running without crash, and with or without encryption the agent log says ‘unencrypted”
e2025-02-24 05:38:53.080] 0centreon-monitoring-agent] ninfo] omain_win.cc:207] centreon-monitoring-agent start
n2025-02-24 05:38:53.081] 0centreon-monitoring-agent] ninfo] ostreaming_server.cc:146] create grpc server listening on 0.0.0.0:4317
n2025-02-24 05:38:53.081] 0centreon-monitoring-agent] ninfo] ogrpc_server.cc:60] unencrypted server listening on 0.0.0.0:4317
n2025-02-24 05:38:53.084] 0centreon-monitoring-agent] ndebug] rgrpc_server.cc:80] server default compression deflate
e2025-02-24 05:40:11.920] 0centreon-monitoring-agent] ninfo] omain_win.cc:334] SvcCtrlHandler 4
also, on the server side, the otl_server.json has alway the encryption value set to true, with or without certificate setup in the webui for the
for example here :
{
"otel_server": {
"host": "0.0.0.0",
"port": 4317,
"encryption": true,
"public_cert": "/etc/pki/cma.crt",
"private_key": "/etc/pki/cma.key",
"ca_certificate": "/etc/pki/cma.crt"
},
"centreon_agent": {
"check_interval": 60,
"export_period": 60,
"reverse_connections": "
{
"host": "192.168.10.17",
"port": 4317,
"encryption": true,
"ca_certificate": "",
"ca_name": null
}
]
}
}
the only way I could make it work :
setup the agent with poller iniated connexion and no encryption
configure the server with a certificate (as you can’t validate the wizard without a valid certificate in the /etc/pki folder)
configure the agent with poller initiated connexion
push the configuration
edit the otl_server file
remove the 3 lines “encryption, ca_certificate, ca_name” from the reverse connections
{
"otel_server": {
"host": "0.0.0.0",
"port": 4317,
"encryption": true,
"public_cert": "/etc/pki/cma.crt",
"private_key": "/etc/pki/cma.key",
"ca_certificate": ""
},
"centreon_agent": {
"check_interval": 60,
"export_period": 60,
"reverse_connections": /
{
"host": "192.168.10.17",
"port": 4317
}
]
}
}
restart the service centengine.