Skip to main content
Question

Error: Could not load module '/usr/lib64/centreon-engine/libopentelemetry.so'

  • September 18, 2025
  • 4 replies
  • 136 views

Forum|alt.badge.img+13

Hello,

 

In a simple Centreon 24.10.12 setup (all in one an a single machine), connection flow Poller → Agent without TLS, with only one host configured to be monitored : localhost

 

When I generate the Poller configuration, and ask for a restart (not a reload) I have errors in the Engine log file :

[2025-09-18T17:00:52.412+02:00] [events] [info] [1442255] Event broker module '/usr/lib64/nagios/cbmod.so' initialized successfully
[2025-09-18T17:00:52.418+02:00] [core] [info] [1442255] Poller 'Central' with id 1 connected
[2025-09-18T17:00:52.419+02:00] [config] [error] [1442255] forbidden values in grpc otl config: document doesn't respect this schema:
.....
Invalid value for #/properties/ca_name
Problem for schema keyword:type
Invalid document: #/ca_name
[2025-09-18T17:00:52.420+02:00] [runtime] [error] [1442255] Error: Could not load module '/usr/lib64/centreon-engine/libopentelemetry.so': document doesn't respect this schema:
.....
Invalid value for #/properties/ca_name
Problem for schema keyword:type
Invalid document: #/ca_name
$ cat /etc/centreon-engine/otl_server.json
{
"otel_server": {
"host": "0.0.0.0",
"port": 4317,
"encryption": false,
"public_cert": "",
"private_key": "",
"ca_certificate": "",
"trusted_tokens": []
},
"centreon_agent": {
"check_interval": 60,
"export_period": 60,
"reverse_connections": [
{
"host": "127.0.0.1",
"port": 4317,
"encryption": false,
"ca_certificate": "",
"ca_name": null,
"token": null
}
]
}
}

Any idea ?

4 replies

fmattes
Centreonian
Forum|alt.badge.img+10
  • Centreonian
  • September 18, 2025

Hi ​@benoitp , known issue here. It only occurs in No TLS.

we will fix it in 25.10.1


Forum|alt.badge.img+1
  • Steward *
  • November 19, 2025

hi,

 

any release date ? Because for now, i am unable to make it works with certificate.

 

guides are not clear at all, with no exemples.


fmattes
Centreonian
Forum|alt.badge.img+10
  • Centreonian
  • November 20, 2025

hi,

 

any release date ? Because for now, i am unable to make it works with certificate.

 

guides are not clear at all, with no exemples.

Hi, this issue is related to No TLS. It should not cause problems with certificates. 

can you open a dedicated thread with maximum details ? 

We will have a look together. 

Thanks


Forum|alt.badge.img+1
  • Steward *
  • November 21, 2025

hi,

 

in the same time, i was able to diagnose : no worker is listening on my centreon in device to poller mode.

 

i am investigating with this.

 

thanks