Skip to main content
Question

Nothing liste on poller on port 4317

  • August 11, 2025
  • 6 replies
  • 120 views

Forum|alt.badge.img+2

I have set everything in centreon following doc; tcpdump show incoming data from my agent but with netstat nothing listen on port 4317

 

otl json seem ok :

{
    "otel_server": {
        "host": "0.0.0.0",
        "port": 4317,
        "encryption": true,
        "public_cert": "/etc/pki/xxx.crt",
        "private_key": "/etc/pki/xxx.key",
        "ca_certificate": "/etc/pki/xxx.crt"
    },
    "centreon_agent": {
        "check_interval": 60,
        "export_period": 60
    },
    "tokens": {
        "xxx": {
            "token": "xxxx"
,
            "encoding_key": "xxxx"
        }
    }
}

 

i have set on trace mode on engine configuration and didn’t show any errors

 

systemctl status centengine
● centengine.service - Centreon Engine
     Loaded: loaded (/lib/systemd/system/centengine.service; enabled; preset: enabled)
     Active: active (running) since Mon 2025-08-11 15:12:38 CEST; 32s ago
   Main PID: 22301 (centengine)
      Tasks: 32 (limit: 9439)
     Memory: 36.7M
        CPU: 941ms
     CGroup: /system.slice/centengine.service
             └─22301 /usr/sbin/centengine /etc/centreon-engine/centengine.cfg

août 11 15:12:38 cam-be-app0027 centengine[22301]: [2025-08-11T15:12:38.822+02:00] [config] [info] Processing object config file '/etc/centreon-engine/escalations.cfg'
août 11 15:12:38 cam-be-app0027 centengine[22301]: [2025-08-11T15:12:38.823+02:00] [config] [info] Processing object config file '/etc/centreon-engine/dependencies.cfg'
août 11 15:12:38 cam-be-app0027 centengine[22301]: [2025-08-11T15:12:38.823+02:00] [config] [info] Processing object config file '/etc/centreon-engine/connectors.cfg'
août 11 15:12:38 cam-be-app0027 centengine[22301]: [2025-08-11T15:12:38.823+02:00] [config] [info] Processing object config file '/etc/centreon-engine/meta_commands.cfg'
août 11 15:12:38 cam-be-app0027 centengine[22301]: [2025-08-11T15:12:38.823+02:00] [config] [info] Processing object config file '/etc/centreon-engine/meta_timeperiod.cfg'
août 11 15:12:38 cam-be-app0027 centengine[22301]: [2025-08-11T15:12:38.823+02:00] [config] [info] Processing object config file '/etc/centreon-engine/meta_host.cfg'
août 11 15:12:38 cam-be-app0027 centengine[22301]: [2025-08-11T15:12:38.823+02:00] [config] [info] Processing object config file '/etc/centreon-engine/meta_services.cfg'
août 11 15:12:38 cam-be-app0027 centengine[22301]: [2025-08-11T15:12:38.823+02:00] [config] [info] Processing object config file '/etc/centreon-engine/tags.cfg'
août 11 15:12:38 cam-be-app0027 centengine[22301]: [2025-08-11T15:12:38.823+02:00] [config] [info] Processing object config file '/etc/centreon-engine/severities.cfg'
août 11 15:12:38 cam-be-app0027 centengine[22301]: [2025-08-11T15:12:38.823+02:00] [config] [info] Reading resource file '/etc/centreon-engine/resource.cfg'

 

i’m on debian 12, no firewall and updated centreon this morning to 24.10.9

6 replies

fmattes
Centreonian
Forum|alt.badge.img+10
  • Centreonian
  • August 12, 2025

Hi, 

Could you check if Configuration > Command > Connectors contains “Centreon Monitoring Agent” Connector ? 

And if yes, check is this Connectors is correctly associated with CMA commands (“used by” field) ?

Then redo a configuration export and engine restart.


Forum|alt.badge.img+2
  • Author
  • Steward *
  • August 12, 2025

yes, everything is there:

 


fmattes
Centreonian
Forum|alt.badge.img+10
  • Centreonian
  • August 12, 2025

I send you a private message to schedule a meet together


Forum|alt.badge.img+2
  • Author
  • Steward *
  • August 14, 2025

for everyone else, it was missing directive poller centengine configuration > data:

/usr/lib64/centreon-engine/libopentelemetry.so /etc/centreon-engine/otl_server.json


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

hi,

 

i had the same problem with the missing command.

 

by the way, i still have nothing listning on port 4317 :(


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

hi,

 

i had the same problem with the missing command.

 

by the way, i still have nothing listning on port 4317 :(

Hi, can you open a dedicated thread with maximum details ? 

We will have a look together. 

Thanks