Skip to main content
Question

no key field when creating a poller

  • Dec 1, 2026 1:23 PM UTC
  • 4 replies
  • 11 views

Forum|alt.badge.img+1

Hello,

I just installed Centreon using debian package and a poller with debian package too on another vm.

My problem is that when I want to copy the Gorgone configuration file, the is no key field.

 

What I tried:

  1. Check that the protocol is ZMQ (Default). It is.
  2. Check gorgone status hand restart it

root@redacted:~# systemctl status gorgoned

● gorgoned.service - Centreon Gorgone
    Loaded: loaded (/usr/lib/systemd/system/gorgoned.service; enabled; preset: enabled)
    Active: active (running) since Tue 2026-12-01 13:17:22 CET; 53min ago
Invocation: redactedredacted
  Main PID: 1173684 (perl)
     Tasks: 48 (limit: 4673)
    Memory: 165.2M (peak: 166.1M)
       CPU: 46min 55.028s
    CGroup: /system.slice/gorgoned.service
            ├─1173684 /usr/bin/perl /usr/bin/gorgoned --config=/etc/centreon-gorgone/config.yaml --logfile=/var/log/centreon-gorgone/gorgoned.log --severity=error
            ├─1173689 gorgone-audit
            ├─1173690 gorgone-action
            ├─1173691 gorgone-engine
            ├─1173692 gorgone-httpserver
            ├─1173693 gorgone-legacycmd
            ├─1173694 gorgone-cron
            ├─1173695 gorgone-proxy
            ├─1173698 gorgone-proxy
            ├─1173701 gorgone-proxy
            ├─1173710 gorgone-proxy
            ├─1173723 gorgone-proxy
            ├─1173745 gorgone-statistics
            ├─1173748 gorgone-autodiscovery
            ├─1173752 gorgone-dbcleaner
            └─1173755 gorgone-nodes

Dec 01 13:17:22 redacted systemd[1]: Started gorgoned.service - Centreon Gorgone.

 

 

  1. check the keys

root@redacted:~# ls -la /var/lib/centreon-gorgone/.keys/
total 8
drwxr-xr-x 2 centreon-gorgone centreon-gorgone   51 Nov 25 10:18 .
drwxrwxr-x 3 centreon-gorgone centreon-gorgone   38 Dec  1 14:12 ..
-rw------- 1 centreon-gorgone centreon-gorgone 1675 Nov 25 10:18 rsakey.priv.pem
-rw-r----- 1 centreon-gorgone centreon-gorgone  451 Nov 25 10:18 rsakey.pub.pem
 

 

 

     4. check the internal api 


root@redacted:~# curl -s http://127.0.0.1:8085/api/internal/thumbprint
{"data":{"thumbprint":"...redactedredcatedredacted..."},"message":"ok","action":"getthumbprint"}

 

All seem to be working so I don’t really know what to do. Here is what I have:

And here are the settings
 

 

 

Thank you :)

4 replies

fgbetokpanou
Centreonian
Forum|alt.badge.img+12
  • Centreonian
  • Dec 2, 2026 12:53 PM UTC

Hi ​@lorey,
To help us narrow it down: which Centreon version are you on, and were the .keys and thumbprint checks done on the Central or on the poller? Could you also check /var/log/centreon-gorgone/gorgoned.log on the Central for errors, and share a screenshot of the Gorgone configuration popin (with sensitive values hidden)?


Forum|alt.badge.img+1
  • Author
  • Steward *
  • Dec 2, 2026 1:16 PM UTC

Hello,

Thank you for the answer. 

 

 - Centreon version is: 

Centreon version 26.10.1 install with debian packages

 

.keys and thumbprint checks done on the Central. But idk more precisely. I installed centreon with debian packages.

 

below is centreon gorgone configuration. Gordoned log are on the netxt message.

 

root@moni2i01:/etc/centreon-gorgone/config.d# cat *
name: centreon.yaml
description: Configure Centreon Gorgone to work with Centreon Web.
centreon: !include /etc/centreon/config.d/*.yaml
gorgone:
 tpapi:
   - name: centreonv2
     base_url: "https://url.org/centreon/api/latest/"
     username: "username"
     password: "8P"
   - name: clapi
     username: "username"
     password: "8P"
gorgone:
 modules:
   - name: action
     package: "gorgone::modules::core::action::hooks"
     enable: true
     command_timeout: 30
     whitelist_cmds: true
     allowed_cmds: !include /etc/centreon-gorgone/config.d/whitelist.conf.d/*.yaml
gorgone:
 gorgonecore:
   privkey: "/var/lib/centreon-gorgone/.keys/rsakey.priv.pem"
   pubkey: "/var/lib/centreon-gorgone/.keys/rsakey.pub.pem"
   id: 1

 modules:
   - name: httpserver
     package: "gorgone::modules::core::httpserver::hooks"
     enable: true
     address: "0.0.0.0"
     port: "8085"
     ssl: false
     auth:
       enabled: false
     allowed_hosts:
       enabled: true
       subnets:
         - 127.0.0.1/32

   - name: cron
     package: "gorgone::modules::core::cron::hooks"
     enable: true
     cron: !include cron.d/*.yaml

   - name: nodes
     package: "gorgone::modules::centreon::nodes::hooks"
     enable: true

   - name: proxy
     package: "gorgone::modules::core::proxy::hooks"
     enable: true

   - name: legacycmd
     package: "gorgone::modules::centreon::legacycmd::hooks"
     enable: true
     cmd_dir: "/var/lib/centreon/centcore/"
     cmd_file: "/var/lib/centreon/centcore.cmd"
     cache_dir: "/var/cache/centreon/"
     cache_dir_trap: "/etc/snmp/centreon_traps"
     remote_dir: "/var/cache/centreon//config/remote-data/"

   - name: engine
     package: "gorgone::modules::centreon::engine::hooks"
     enable: true
     command_file: "/var/lib/centreon-engine/rw/centengine.cmd"

   - name: statistics
     package: "gorgone::modules::centreon::statistics::hooks"
     enable: true
     broker_cache_dir: "/var/cache/centreon//broker-stats/"
     cron:
       - id: broker_stats
         timespec: "*/5 * * * *"
         action: BROKERSTATS
         parameters:
           timeout: 10
       - id: engine_stats
         timespec: "*/5 * * * *"
         action: ENGINESTATS
         parameters:
           timeout: 10
gorgone:
 modules:
   - name: autodiscovery
     package: "gorgone::modules::centreon::autodiscovery::hooks"
     enable: true
     no_shell_interpretation: true
gorgone:
 modules:
   - name: audit
     package: "gorgone::modules::centreon::audit::hooks"
     enable: true

 


fgbetokpanou
Centreonian
Forum|alt.badge.img+12

Thanks for the details!

First, a quick security note: your post shows the centreon-gorgone API credentials and the public URL of your Central. Even if part of the password is hidden, I'd suggest you edit your message to remove them, and to change that user's password to be safe.

Now about the missing key. Your checks look good: Gorgone is running, the keys exist, and the API returns a thumbprint when you call it locally. So Gorgone isn't the problem. The popin gets that thumbprint by calling the Gorgone API from the Centreon web interface. If that call fails, the key field stays empty.

Could you check the following on the Central:

  1. Go to Administration > Parameters > Gorgone and check that the settings match your httpserver config:
    • IP address or hostname: 127.0.0.1 (your allowed_hosts only allows 127.0.0.1/32, so any other address will be refused)
    • Port: 8085
    • Use SSL/TLS: disabled
    • Username and password: not needed, since auth is disabled
  2. Save, then go back to Configuration > Pollers and click the Display Gorgone configuration icon on your poller's line. Check whether the key now appears under authorized_clients.
  3. If it's still missing, please share the errors from /var/log/centreon-gorgone/gorgoned.log that appear when you open the popin.

Thanks!


Forum|alt.badge.img+1
  • Author
  • Steward *
  • Dec 2, 2026 2:20 PM UTC

Thank you again for the help but unfortunately:

 

problem is that I get no log, at least in gorgoned.log when I open the popin (I look with tail -f). I am on debug level but still nothing.

 

Administration > Parameters > Gorgone has exactly the same as you said.