Question

Poller is no running

  • 25 March 2023
  • 1 reply
  • 299 views

Badge

Hello, 

my poller can't start on my central server. I have configured the access with the user centreon-gorgone in ssh. 

I have followed this procedure well: https://docs.centreon.com/fr/docs/monitoring/monitoring-servers/add-a-poller-to-configuration/

I see no errors in the logs. Can you help me to understand my error? 

 

Central :

log central : 

2023-03-25 15:30:46 - INFO - [core] Initialize server keys
2023-03-25 15:30:46 - INFO - [core] Private key file '/var/lib/centreon-gorgone/.keys/rsakey.priv.pem' loaded
2023-03-25 15:30:46 - INFO - [core] Public key file '/var/lib/centreon-gorgone/.keys/rsakey.pub.pem' loaded
2023-03-25 15:30:46 - INFO - [core] update schema 22.04.0 -> 22.04.0
2023-03-25 15:30:46 - INFO - [core] Module 'httpserver' is loading
2023-03-25 15:30:46 - INFO - [core] Module 'httpserver' is loaded
2023-03-25 15:30:46 - INFO - [core] Module 'action' is loading
2023-03-25 15:30:46 - INFO - [core] Module 'action' is loaded
2023-03-25 15:30:46 - INFO - [core] Module 'cron' is loading
2023-03-25 15:30:46 - INFO - [core] Module 'cron' is loaded
2023-03-25 15:30:46 - INFO - [core] Module 'nodes' is loading
2023-03-25 15:30:46 - INFO - [core] Module 'nodes' is loaded
2023-03-25 15:30:46 - INFO - [core] Module 'proxy' is loading
2023-03-25 15:30:46 - INFO - [core] Module 'proxy' is loaded
2023-03-25 15:30:46 - INFO - [core] Module 'legacycmd' is loading
2023-03-25 15:30:46 - INFO - [core] Module 'legacycmd' is loaded
2023-03-25 15:30:46 - INFO - [core] Module 'engine' is loading
2023-03-25 15:30:46 - INFO - [core] Module 'engine' is loaded
2023-03-25 15:30:46 - INFO - [core] Module 'statistics' is loading
2023-03-25 15:30:46 - INFO - [core] Module 'statistics' is loaded
2023-03-25 15:30:46 - INFO - [core] Module 'autodiscovery' is loading
2023-03-25 15:30:46 - INFO - [core] Module 'autodiscovery' is loaded
2023-03-25 15:30:46 - INFO - [core] Module 'audit' is loading
2023-03-25 15:30:46 - INFO - [core] Module 'audit' is loaded
2023-03-25 15:30:46 - INFO - [core] Module 'dbcleaner' is loading
2023-03-25 15:30:46 - INFO - [core] Module 'dbcleaner' is loaded
2023-03-25 15:30:46 - INFO - [core] Gorgoned started
2023-03-25 15:30:46 - INFO - [core] PID 1046
2023-03-25 15:30:46 - INFO - [statistics] Create module 'statistics' process
2023-03-25 15:30:46 - INFO - [dbcleaner] Create module 'dbcleaner' process
2023-03-25 15:30:46 - INFO - [action] Create module 'action' process
2023-03-25 15:30:46 - INFO - [audit] Create module 'audit' process
2023-03-25 15:30:46 - INFO - [autodiscovery] Create module 'autodiscovery' process
2023-03-25 15:30:46 - INFO - [engine] Create module 'engine' process
2023-03-25 15:30:46 - INFO - [legacycmd] Create module 'legacycmd' process
2023-03-25 15:30:46 - INFO - [httpserver] Create module 'httpserver' process
2023-03-25 15:30:46 - INFO - [cron] Create module 'cron' process
2023-03-25 15:30:46 - INFO - [nodes] Create module 'nodes' process
2023-03-25 15:30:46 - ERROR - [proxy] Cannot create child, need a core id
2023-03-25 15:30:46 - ERROR - [proxy] Cannot create child, need a core id
2023-03-25 15:30:46 - ERROR - [proxy] Cannot create child, need a core id
2023-03-25 15:30:46 - ERROR - [proxy] Cannot create child, need a core id
2023-03-25 15:30:46 - ERROR - [proxy] Cannot create child, need a core id
2023-03-25 15:30:46 - INFO - [core] Server accepting clients
2023-03-25 15:30:46 - INFO - [core] module key gorgone-statistics changed
2023-03-25 15:30:46 - INFO - [core] module key gorgone-dbcleaner changed
2023-03-25 15:30:46 - INFO - [core] module key gorgone-action changed
2023-03-25 15:30:46 - INFO - [core] module key gorgone-audit changed
2023-03-25 15:30:46 - INFO - [core] module key gorgone-engine changed
2023-03-25 15:30:46 - INFO - [core] module key gorgone-legacycmd changed
2023-03-25 15:30:46 - INFO - [core] module key gorgone-autodiscovery changed
2023-03-25 15:30:46 - INFO - [core] module key gorgone-cron changed
2023-03-25 15:30:46 - INFO - [cron] Adding cron definition 'broker_stats'
2023-03-25 15:30:46 - INFO - [cron] Adding cron definition 'engine_stats'
2023-03-25 15:30:46 - INFO - [core] module key gorgone-nodes changed
2023-03-25 15:30:47 - INFO - [core] module key gorgone-httpserver changed
2023-03-25 15:30:47 - DEBUG - [core] Message received - [SETCOREID] [] [] {"id":1}
2023-03-25 15:30:47 - INFO - [proxy] Create module 'proxy' child process for pool id '1'
2023-03-25 15:30:47 - DEBUG - [nodes] Event: [ACK] [fb4c419ff5b29e0cca5c4d6405fd5dcd698b64097206b3ed02a484d4c602d3d7e7aee5f931d16550493829a05b9b480fda67b8d4cdc5ffd942346144cfb28121] {"code":0,"data":null}
2023-03-25 15:30:47 - DEBUG - [proxy] PID 1844 (gorgone-proxy) for pool id '1'
2023-03-25 15:30:47 - INFO - [proxy] Create module 'proxy' child process for pool id '2'
2023-03-25 15:30:47 - DEBUG - [proxy] PID 1852 (gorgone-proxy) for pool id '2'
2023-03-25 15:30:47 - INFO - [proxy] Create module 'proxy' child process for pool id '3'
2023-03-25 15:30:47 - DEBUG - [proxy] PID 1859 (gorgone-proxy) for pool id '3'
2023-03-25 15:30:47 - INFO - [proxy] Create module 'proxy' child process for pool id '4'
2023-03-25 15:30:47 - DEBUG - [proxy] PID 1860 (gorgone-proxy) for pool id '4'
2023-03-25 15:30:47 - INFO - [proxy] Create module 'proxy' child process for pool id '5'
2023-03-25 15:30:47 - DEBUG - [proxy] PID 1880 (gorgone-proxy) for pool id '5'
2023-03-25 15:30:47 - INFO - [core] Setcoreid changed 1
2023-03-25 15:30:47 - DEBUG - [core] Message received - [REGISTERNODES] [] [] {"nodes":[{"address":"192.168.1.58","ssh_port":22,"type":"push_ssh","ssh_username":"centreon","id":"2"}]}
2023-03-25 15:30:47 - DEBUG - [nodes] Event: [ACK] [3ef83f2406a56a8171b75d80c617be10b217ca45a135cb778b606fd5a6bdb32e9d3b07fc6465fba9ef420b88a4673b701662123df34b1612e6b14e68abe067c2] {"code":2,"data":{"action":"setcoreid","message":"setcoreid changed"}}
2023-03-25 15:30:47 - DEBUG - [core] Message received - [UNREGISTERNODES] [] [] {"nodes":[]}
2023-03-25 15:30:47 - DEBUG - [core] Message received - [SETMODULEKEY] [] [] {"key":"179e2cafb5099d5a8e80ab8768fa926a77ee071659290153b0bc938fa0e176cb"}
2023-03-25 15:30:47 - INFO - [core] module key gorgone-proxy-4 changed
2023-03-25 15:30:47 - DEBUG - [core] Message received - [SETMODULEKEY] [] [] {"key":"8819f16e432817d99121058d7c2aa665a77a7b0cca1b016d855b2854b0f1617b"}
2023-03-25 15:30:47 - INFO - [core] module key gorgone-proxy-1 changed
2023-03-25 15:30:47 - DEBUG - [core] Message received - [SETMODULEKEY] [] [] {"key":"b227eb150d73be67e3cefe9f19284c4293a7090413867cad5313df159448edd6"}
2023-03-25 15:30:47 - INFO - [core] module key gorgone-proxy-3 changed
2023-03-25 15:30:47 - DEBUG - [core] Message received - [SETMODULEKEY] [] [] {"key":"9d690d2e2a69d08b6b86b0107fe0a0be8758fb14c5bc97dda0a4e62a67617a63"}
2023-03-25 15:30:47 - INFO - [core] module key gorgone-proxy-2 changed
2023-03-25 15:30:47 - DEBUG - [core] Message received - [SETMODULEKEY] [] [] {"key":"8c9881fa1dd40cf37fbf234c90863ee35c6b3c5a85a46c0c78a3bca9ef7625d5"}
2023-03-25 15:30:47 - INFO - [core] module key gorgone-proxy-5 changed
2023-03-25 15:30:47 - DEBUG - [core] Message received - [PUTLOG] [42549663fb78139c480426989a36204f30ce71791a49a8f1f668f3b351eb49f8e3f4d731e3e16ab22aedc47deebc2ee5372b3c8f762a6e1f0b79c47159c69591] [] {"etime":1679754647,"token":"42549663fb78139c480426989a36204f30ce71791a49a8f1f668f3b351eb49f8e3f4d731e3e16ab22aedc47deebc2ee5372b3c8f762a6e1f0b79c47159c69591","instant":null,"code":2,"data":{"message":"action nodesresync finished"}}
2023-03-25 15:30:47 - DEBUG - [nodes] Event: [ACK] [8856516d6303d3c50c7fcc4a155bbda7553814d6b2bcd7aa454a92bd74a4ba6d0a73ab534b9f44797f07e0ee90b579e5e2b1f9e01d71e3a3b627bd0cd7403b31] {"data":null,"code":0}
2023-03-25 15:30:47 - DEBUG - [core] Message received - [PROXYREADY] [] [] {"pool_id":"4"}
2023-03-25 15:30:47 - DEBUG - [core] Message received - [PROXYREADY] [] [] {"pool_id":"1"}
2023-03-25 15:30:47 - DEBUG - [core] Message received - [PROXYREADY] [] [] {"pool_id":"3"}
2023-03-25 15:30:47 - DEBUG - [nodes] Event: [ACK] [42549663fb78139c480426989a36204f30ce71791a49a8f1f668f3b351eb49f8e3f4d731e3e16ab22aedc47deebc2ee5372b3c8f762a6e1f0b79c47159c69591] {"code":0,"data":{"message":"message inserted"}}
2023-03-25 15:30:47 - DEBUG - [core] Message received - [PROXYREADY] [] [] {"pool_id":"2"}
2023-03-25 15:30:47 - DEBUG - [core] Message received - [PROXYREADY] [] [] {"pool_id":"5"}
2023-03-25 15:30:47 - INFO - [proxy] Node '2' is registered
2023-03-25 15:30:47 - DEBUG - [nodes] Event: [ACK] [b6deea614f63feb2833c1d7e1f53c4743d786d3d2aeb055a8f1151de55a9f1fbd06038439315986619b58c7429aef5a9453f4d07a1804cd2d703ecfad8e2be00] {"data":null,"code":0}
2023-03-25 15:30:47 - DEBUG - [proxy] Send message: [channel = control] [action = PROXYADDNODE] [token = ] [target = 2~~2] [data = {"address":"192.168.1.58","ssh_port":22,"type":"push_ssh","ssh_username":"centreon","id":"2"}]
2023-03-25 15:30:47 - DEBUG - [core] Message received - [PROXYREADY] [] [] {"node_id":"2"}
2023-03-25 15:30:49 - INFO - [autodiscovery] -class- host discovery - sync started
2023-03-25 15:31:42 - DEBUG - [proxy] Send message: [channel = control] [action = PING] [token = ] [target = 2~~2] [data = {}]
2023-03-25 15:31:42 - INFO - [sshclient] Client authenticated successfully to 'ssh://192.168.1.58:22'
2023-03-25 15:31:42 - DEBUG - [core] Message received - [PONG] [] [] {"data":{"id":"2"}}
2023-03-25 15:31:42 - INFO - [proxy] Pong received from '2'
2023-03-25 15:31:47 - DEBUG - [audit] sampling starting
2023-03-25 15:32:42 - DEBUG - [proxy] Send message: [channel = control] [action = PING] [token = ] [target = 2~~2] [data = {}]
2023-03-25 15:32:42 - DEBUG - [core] Message received - [PONG] [] [] {"data":{"id":"2"}}
2023-03-25 15:32:42 - INFO - [proxy] Pong received from '2'
2023-03-25 15:32:47 - DEBUG - [audit] sampling starting
2023-03-25 15:33:42 - DEBUG - [proxy] Send message: [channel = control] [action = PING] [token = ] [target = 2~~2] [data = {}]
2023-03-25 15:33:42 - DEBUG - [core] Message received - [PONG] [] [] {"data":{"id":"2"}}
2023-03-25 15:33:42 - INFO - [proxy] Pong received from '2'
2023-03-25 15:33:47 - DEBUG - [audit] sampling starting
2023-03-25 15:34:42 - DEBUG - [proxy] Send message: [channel = control] [action = PING] [token = ] [target = 2~~2] [data = {}]
2023-03-25 15:34:42 - DEBUG - [core] Message received - [PONG] [] [] {"data":{"id":"2"}}
2023-03-25 15:34:42 - INFO - [proxy] Pong received from '2'
2023-03-25 15:34:47 - DEBUG - [audit] sampling starting
2023-03-25 15:35:00 - INFO - [cron] Launching job 'broker_stats'
2023-03-25 15:35:00 - DEBUG - [core] Message received - [BROKERSTATS] [] [] {"content":{"timeout":"10"}}
2023-03-25 15:35:00 - DEBUG - [statistics] Event: [BROKERSTATS] [6208b92d3f7696b1ce0e7948455f2ba71252dbd7b7e6137f78054a1b44d1480b4d294c9031b954792533df3819df840730f68331e4ec26055645577c57fb9711] [] {"content":{"timeout":"10"}}
2023-03-25 15:35:00 - DEBUG - [statistics] No Broker statistics collection configured
2023-03-25 15:35:00 - DEBUG - [cron] Event: [ACK] [6208b92d3f7696b1ce0e7948455f2ba71252dbd7b7e6137f78054a1b44d1480b4d294c9031b954792533df3819df840730f68331e4ec26055645577c57fb9711] {"code":0,"data":null}
2023-03-25 15:35:00 - DEBUG - [core] Message received - [PUTLOG] [6208b92d3f7696b1ce0e7948455f2ba71252dbd7b7e6137f78054a1b44d1480b4d294c9031b954792533df3819df840730f68331e4ec26055645577c57fb9711] [] {"etime":1679754900,"token":"6208b92d3f7696b1ce0e7948455f2ba71252dbd7b7e6137f78054a1b44d1480b4d294c9031b954792533df3819df840730f68331e4ec26055645577c57fb9711","instant":1,"code":0,"data":{"message":"action brokerstats starting"}}
2023-03-25 15:35:00 - INFO - [cron] Launching job 'engine_stats'
2023-03-25 15:35:00 - DEBUG - [core] Message received - [ENGINESTATS] [] [] {"content":{"timeout":"10"}}
2023-03-25 15:35:00 - DEBUG - [cron] Event: [ACK] [ad840e5dc19da97d9818c92fb7655d0cabf23ac754cc10195859e4df42b561a10f6c6da6762f51f960575ee9d41485d3b4f383e44fe0cdad84fa1b30f3147aa5] {"data":null,"code":0}
2023-03-25 15:35:00 - DEBUG - [statistics] Event: [ACK] [6208b92d3f7696b1ce0e7948455f2ba71252dbd7b7e6137f78054a1b44d1480b4d294c9031b954792533df3819df840730f68331e4ec26055645577c57fb9711] {"code":0,"data":{"message":"message inserted"}}
2023-03-25 15:35:00 - DEBUG - [statistics] Event: [ENGINESTATS] [ad840e5dc19da97d9818c92fb7655d0cabf23ac754cc10195859e4df42b561a10f6c6da6762f51f960575ee9d41485d3b4f383e44fe0cdad84fa1b30f3147aa5] [] {"content":{"timeout":"10"}}
2023-03-25 15:35:00 - DEBUG - [core] Message received - [PUTLOG] [6208b92d3f7696b1ce0e7948455f2ba71252dbd7b7e6137f78054a1b44d1480b4d294c9031b954792533df3819df840730f68331e4ec26055645577c57fb9711] [] {"data":{"message":"no collection configured"},"token":"6208b92d3f7696b1ce0e7948455f2ba71252dbd7b7e6137f78054a1b44d1480b4d294c9031b954792533df3819df840730f68331e4ec26055645577c57fb9711","instant":1,"code":2,"etime":1679754900}
2023-03-25 15:35:00 - INFO - [statistics] Collecting Engine statistics from target '1'
2023-03-25 15:35:00 - INFO - [statistics] Collecting Engine statistics from target '2'
2023-03-25 15:35:00 - DEBUG - [core] Message received - [PUTLOG] [ad840e5dc19da97d9818c92fb7655d0cabf23ac754cc10195859e4df42b561a10f6c6da6762f51f960575ee9d41485d3b4f383e44fe0cdad84fa1b30f3147aa5] [] {"etime":1679754900,"token":"ad840e5dc19da97d9818c92fb7655d0cabf23ac754cc10195859e4df42b561a10f6c6da6762f51f960575ee9d41485d3b4f383e44fe0cdad84fa1b30f3147aa5","instant":1,"code":0,"data":{"message":"action enginestats starting"}}
2023-03-25 15:35:00 - DEBUG - [statistics] Event: [ACK] [6208b92d3f7696b1ce0e7948455f2ba71252dbd7b7e6137f78054a1b44d1480b4d294c9031b954792533df3819df840730f68331e4ec26055645577c57fb9711] {"code":0,"data":{"message":"message inserted"}}
2023-03-25 15:35:00 - DEBUG - [core] Message received - [ADDLISTENER] [] [] [{"identity":"gorgonestatistics","target":"1","timeout":18,"event":"STATISTICSLISTENER","token":"ad840e5dc19da97d9818c92fb7655d0cabf23ac754cc10195859e4df42b561a10f6c6da6762f51f960575ee9d41485d3b4f383e44fe0cdad84fa1b30f3147aa5-1","log_pace":3}]
2023-03-25 15:35:00 - DEBUG - [listener] add token 'ad840e5dc19da97d9818c92fb7655d0cabf23ac754cc10195859e4df42b561a10f6c6da6762f51f960575ee9d41485d3b4f383e44fe0cdad84fa1b30f3147aa5-1'
2023-03-25 15:35:00 - DEBUG - [statistics] Event: [ACK] [ad840e5dc19da97d9818c92fb7655d0cabf23ac754cc10195859e4df42b561a10f6c6da6762f51f960575ee9d41485d3b4f383e44fe0cdad84fa1b30f3147aa5] {"data":{"message":"message inserted"},"code":0}
2023-03-25 15:35:00 - DEBUG - [core] Message received - [COMMAND] [ad840e5dc19da97d9818c92fb7655d0cabf23ac754cc10195859e4df42b561a10f6c6da6762f51f960575ee9d41485d3b4f383e44fe0cdad84fa1b30f3147aa5-1] [1] {"instant":1,"content":[{"timeout":"10","metadata":{"poller_id":"1","source":"enginestats"},"command":"/usr/sbin/centenginestats -c /etc/centreon-engine//centengine.cfg"}]}
2023-03-25 15:35:00 - DEBUG - [statistics] Event: [ACK] [b5932cf218ba781b626d4e4a9d645f31016d3e74b4adb094117c28b62f8a24f6119a0fd1c91ea7bf586b829674f93a7434e1487b88a46b84589bace7b6e8ac62] {"data":{"data":[{"identity":"gorgonestatistics","target":"1","timeout":18,"event":"STATISTICSLISTENER","token":"ad840e5dc19da97d9818c92fb7655d0cabf23ac754cc10195859e4df42b561a10f6c6da6762f51f960575ee9d41485d3b4f383e44fe0cdad84fa1b30f3147aa5-1","log_pace":3}],"action":"addlistener","message":"ok"},"code":2}
2023-03-25 15:35:00 - DEBUG - [action] Event: [COMMAND] [ad840e5dc19da97d9818c92fb7655d0cabf23ac754cc10195859e4df42b561a10f6c6da6762f51f960575ee9d41485d3b4f383e44fe0cdad84fa1b30f3147aa5-1] [] {"instant":1,"content":[{"timeout":"10","metadata":{"poller_id":"1","source":"enginestats"},"command":"/usr/sbin/centenginestats -c /etc/centreon-engine//centengine.cfg"}]}
2023-03-25 15:35:00 - DEBUG - [core] Message received - [ADDLISTENER] [] [] [{"log_pace":3,"token":"ad840e5dc19da97d9818c92fb7655d0cabf23ac754cc10195859e4df42b561a10f6c6da6762f51f960575ee9d41485d3b4f383e44fe0cdad84fa1b30f3147aa5-2","identity":"gorgonestatistics","target":"2","timeout":18,"event":"STATISTICSLISTENER"}]
2023-03-25 15:35:00 - DEBUG - [statistics] Event: [ACK] [ad840e5dc19da97d9818c92fb7655d0cabf23ac754cc10195859e4df42b561a10f6c6da6762f51f960575ee9d41485d3b4f383e44fe0cdad84fa1b30f3147aa5-1] {"data":null,"code":0}
2023-03-25 15:35:00 - DEBUG - [listener] add token 'ad840e5dc19da97d9818c92fb7655d0cabf23ac754cc10195859e4df42b561a10f6c6da6762f51f960575ee9d41485d3b4f383e44fe0cdad84fa1b30f3147aa5-2'
2023-03-25 15:35:00 - DEBUG - [action] Create sub-process
2023-03-25 15:35:00 - DEBUG - [core] Message received - [GETLOG] [] [2] {}
2023-03-25 15:35:00 - DEBUG - [proxy] choose node target '2' for node '2'
2023-03-25 15:35:00 - DEBUG - [core] Message received - [COMMAND] [ad840e5dc19da97d9818c92fb7655d0cabf23ac754cc10195859e4df42b561a10f6c6da6762f51f960575ee9d41485d3b4f383e44fe0cdad84fa1b30f3147aa5-2] [2] {"content":[{"metadata":{"poller_id":"2","source":"enginestats"},"command":"/usr/sbin/centenginestats -c /etc/centreon-engine//centengine.cfg","timeout":"10"}],"instant":1}
2023-03-25 15:35:00 - DEBUG - [proxy] choose node target '2' for node '2'
2023-03-25 15:35:00 - DEBUG - [core] Message received - [PUTLOG] [ad840e5dc19da97d9818c92fb7655d0cabf23ac754cc10195859e4df42b561a10f6c6da6762f51f960575ee9d41485d3b4f383e44fe0cdad84fa1b30f3147aa5] [] {"code":2,"token":"ad840e5dc19da97d9818c92fb7655d0cabf23ac754cc10195859e4df42b561a10f6c6da6762f51f960575ee9d41485d3b4f383e44fe0cdad84fa1b30f3147aa5","instant":1,"data":{"message":"action enginestats finished"},"etime":1679754900}
2023-03-25 15:35:00 - DEBUG - [statistics] Event: [ACK] [638be355add7afa3cfa48f2add4fced23e537af1d0b2ffa78bd2c35b06755e47889aa33e337e70592bd5464fde882549f70246fcc16475dadca17d3aea452081] {"code":2,"data":{"action":"addlistener","message":"ok","data":[{"event":"STATISTICSLISTENER","timeout":18,"target":"2","identity":"gorgonestatistics","log_pace":3,"token":"ad840e5dc19da97d9818c92fb7655d0cabf23ac754cc10195859e4df42b561a10f6c6da6762f51f960575ee9d41485d3b4f383e44fe0cdad84fa1b30f3147aa5-2"}]}}
2023-03-25 15:35:00 - DEBUG - [statistics] Event: [ACK] [ad840e5dc19da97d9818c92fb7655d0cabf23ac754cc10195859e4df42b561a10f6c6da6762f51f960575ee9d41485d3b4f383e44fe0cdad84fa1b30f3147aa5-2] {"data":null,"code":0}
2023-03-25 15:35:00 - DEBUG - [proxy] Send message: [channel = 2] [action = COMMAND] [token = ad840e5dc19da97d9818c92fb7655d0cabf23ac754cc10195859e4df42b561a10f6c6da6762f51f960575ee9d41485d3b4f383e44fe0cdad84fa1b30f3147aa5-2] [target = 2~~2] [data = {"content":[{"command":"/usr/sbin/centenginestats -c /etc/centreon-engine//centengine.cfg","metadata":{"poller_id":"2","source":"enginestats"},"timeout":"10"}],"instant":1}]
2023-03-25 15:35:00 - DEBUG - [core] Message received - [PUTLOG] [ad840e5dc19da97d9818c92fb7655d0cabf23ac754cc10195859e4df42b561a10f6c6da6762f51f960575ee9d41485d3b4f383e44fe0cdad84fa1b30f3147aa5-1] [] {"token":"ad840e5dc19da97d9818c92fb7655d0cabf23ac754cc10195859e4df42b561a10f6c6da6762f51f960575ee9d41485d3b4f383e44fe0cdad84fa1b30f3147aa5-1","code":0,"instant":null,"data":{"request_content":[{"command":"/usr/sbin/centenginestats -c /etc/centreon-engine//centengine.cfg","metadata":{"poller_id":"1","source":"enginestats"},"timeout":"10"}],"message":"commands processing has started"},"etime":1679754900}
2023-03-25 15:35:00 - DEBUG - [statistics] Event: [ACK] [ad840e5dc19da97d9818c92fb7655d0cabf23ac754cc10195859e4df42b561a10f6c6da6762f51f960575ee9d41485d3b4f383e44fe0cdad84fa1b30f3147aa5] {"code":0,"data":{"message":"message inserted"}}
2023-03-25 15:35:00 - DEBUG - [listener] trigger event 'ad840e5dc19da97d9818c92fb7655d0cabf23ac754cc10195859e4df42b561a10f6c6da6762f51f960575ee9d41485d3b4f383e44fe0cdad84fa1b30f3147aa5-1'
2023-03-25 15:35:00 - DEBUG - [core] Message received - [STATISTICSLISTENER] [ad840e5dc19da97d9818c92fb7655d0cabf23ac754cc10195859e4df42b561a10f6c6da6762f51f960575ee9d41485d3b4f383e44fe0cdad84fa1b30f3147aa5-1] [] { "code": 0, "data": {"request_content":[{"metadata":{"poller_id":"1","source":"enginestats"},"command":"/usr/sbin/centenginestats -c /etc/centreon-engine//centengine.cfg","timeout":"10"}],"message":"commands processing has started"} }
2023-03-25 15:35:00 - DEBUG - [statistics] Event: [STATISTICSLISTENER] [ad840e5dc19da97d9818c92fb7655d0cabf23ac754cc10195859e4df42b561a10f6c6da6762f51f960575ee9d41485d3b4f383e44fe0cdad84fa1b30f3147aa5-1] [] { "code": 0, "data": {"request_content":[{"metadata":{"poller_id":"1","source":"enginestats"},"command":"/usr/sbin/centenginestats -c /etc/centreon-engine//centengine.cfg","timeout":"10"}],"message":"commands processing has started"} }
2023-03-25 15:35:00 - DEBUG - [core] Message received - [PUTLOG] [ad840e5dc19da97d9818c92fb7655d0cabf23ac754cc10195859e4df42b561a10f6c6da6762f51f960575ee9d41485d3b4f383e44fe0cdad84fa1b30f3147aa5-1] [] {"token":"ad840e5dc19da97d9818c92fb7655d0cabf23ac754cc10195859e4df42b561a10f6c6da6762f51f960575ee9d41485d3b4f383e44fe0cdad84fa1b30f3147aa5-1","code":0,"instant":null,"data":{"message":"command has started","command":"/usr/sbin/centenginestats -c /etc/centreon-engine//centengine.cfg","metadata":{"poller_id":"1","source":"enginestats"}},"etime":1679754900}
2023-03-25 15:35:00 - DEBUG - [listener] trigger event 'ad840e5dc19da97d9818c92fb7655d0cabf23ac754cc10195859e4df42b561a10f6c6da6762f51f960575ee9d41485d3b4f383e44fe0cdad84fa1b30f3147aa5-1'
2023-03-25 15:35:00 - DEBUG - [core] Message received - [STATISTICSLISTENER] [ad840e5dc19da97d9818c92fb7655d0cabf23ac754cc10195859e4df42b561a10f6c6da6762f51f960575ee9d41485d3b4f383e44fe0cdad84fa1b30f3147aa5-1] [] { "code": 0, "data": {"message":"command has started","command":"/usr/sbin/centenginestats -c /etc/centreon-engine//centengine.cfg","metadata":{"source":"enginestats","poller_id":"1"}} }
2023-03-25 15:35:00 - DEBUG - [statistics] Event: [STATISTICSLISTENER] [ad840e5dc19da97d9818c92fb7655d0cabf23ac754cc10195859e4df42b561a10f6c6da6762f51f960575ee9d41485d3b4f383e44fe0cdad84fa1b30f3147aa5-1] [] { "code": 0, "data": {"message":"command has started","command":"/usr/sbin/centenginestats -c /etc/centreon-engine//centengine.cfg","metadata":{"source":"enginestats","poller_id":"1"}} }
2023-03-25 15:35:00 - DEBUG - [core] Message received - [PUTLOG] [ad840e5dc19da97d9818c92fb7655d0cabf23ac754cc10195859e4df42b561a10f6c6da6762f51f960575ee9d41485d3b4f383e44fe0cdad84fa1b30f3147aa5-1] [] {"data":{"message":"command has finished successfully","metrics":{"start":1679754900,"end":1679754900,"duration":0},"result":{"exit_code":0,"stdout":"Centreon Engine Statistics Utility 22.10.0\n\nCopyright 2003-2008      Ethan Galstad\nCopyright 2011-2013,2016 Centreon\nLicense: GPLv2\n\nCURRENT STATUS DATA\n------------------------------------------------------\nStatus File:                            /var/log/centreon-engine/status.dat\nStatus File Age:                        0d 0h 0m 13s\nStatus File Version:                    (null)\n\nProgram Running Time:                   0d 0h 4m 13s\nCentreon Engine PID:                    1858\nUsed/High/Total Command Buffers:        0 / 0 / 4096\n\nTotal Services:                         36\nServices Checked:                       36\nServices Scheduled:                     36\nServices Actively Checked:              36\nServices Passively Checked:             0\nTotal Service State Change:             0.000 / 19.470 / 1.146 %\nActive Service Latency:                 0.113 / 0.992 / 0.574 sec\nActive Service Execution Time:          0.007 / 0.529 / 0.209 sec\nActive Service State Change:            0.000 / 19.470 / 1.146 %\nActive Services Last 1/5/15/60 min:     2 / 7 / 7 / 7\nPassive Service Latency:                0.000 / 0.000 / 0.000 sec\nPassive Service State Change:           0.000 / 0.000 / 0.000 %\nPassive Services Last 1/5/15/60 min:    0 / 0 / 0 / 0\nServices Ok/Warn/Unk/Crit:              34 / 0 / 1 / 1\nServices Flapping:                      0\nServices In Downtime:                   0\n\nTotal Hosts:                            3\nHosts Checked:                          3\nHosts Scheduled:                        3\nHosts Actively Checked:                 3\nHost Passively Checked:                 0\nTotal Host State Change:                0.000 / 14.010 / 6.227 %\nActive Host Latency:                    0.324 / 0.467 / 0.392 sec\nActive Host Execution Time:             0.007 / 0.204 / 0.073 sec\nActive Host State Change:               0.000 / 14.010 / 6.227 %\nActive Hosts Last 1/5/15/60 min:        1 / 3 / 3 / 3\nPassive Host Latency:                   0.000 / 0.000 / 0.000 sec\nPassive Host State Change:              0.000 / 0.000 / 0.000 %\nPassive Hosts Last 1/5/15/60 min:       0 / 0 / 0 / 0\nHosts Up/Down/Unreach:                  3 / 0 / 0\nHosts Flapping:                         0\nHosts In Downtime:                      0\n\nActive Host Checks Last 1/5/15 min:     1 / 3 / 3\n   Scheduled:                           1 / 3 / 3\n   On-demand:                           0 / 0 / 0\n   Parallel:                            1 / 3 / 3\n   Serial:                              0 / 0 / 0\n   Cached:                              0 / 0 / 0\nPassive Host Checks Last 1/5/15 min:    0 / 0 / 0\nActive Service Checks Last 1/5/15 min:  2 / 7 / 7\n   Scheduled:                           2 / 7 / 7\n   On-demand:                           0 / 0 / 0\n   Cached:                              0 / 0 / 0\nPassive Service Checks Last 1/5/15 min: 0 / 0 / 0\n\nExternal Commands Last 1/5/15 min:      0 / 0 / 0\n\n"},"metadata":{"poller_id":"1","source":"enginestats"},"command":"/usr/sbin/centenginestats -c /etc/centreon-engine//centengine.cfg"},"token":"ad840e5dc19da97d9818c92fb7655d0cabf23ac754cc10195859e4df42b561a10f6c6da6762f51f960575ee9d41485d3b4f383e44fe0cdad84fa1b30f3147aa5-1","code":100,"instant":1,"etime":1679754900}
2023-03-25 15:35:00 - DEBUG - [listener] trigger event 'ad840e5dc19da97d9818c92fb7655d0cabf23ac754cc10195859e4df42b561a10f6c6da6762f51f960575ee9d41485d3b4f383e44fe0cdad84fa1b30f3147aa5-1'
2023-03-25 15:35:00 - DEBUG - [core] Message received - [STATISTICSLISTENER] [ad840e5dc19da97d9818c92fb7655d0cabf23ac754cc10195859e4df42b561a10f6c6da6762f51f960575ee9d41485d3b4f383e44fe0cdad84fa1b30f3147aa5-1] [] { "code": 100, "data": {"metadata":{"source":"enginestats","poller_id":"1"},"command":"/usr/sbin/centenginestats -c /etc/centreon-engine//centengine.cfg","result":{"stdout":"Centreon Engine Statistics Utility 22.10.0\n\nCopyright 2003-2008      Ethan Galstad\nCopyright 2011-2013,2016 Centreon\nLicense: GPLv2\n\nCURRENT STATUS DATA\n------------------------------------------------------\nStatus File:                            /var/log/centreon-engine/status.dat\nStatus File Age:                        0d 0h 0m 13s\nStatus File Version:                    (null)\n\nProgram Running Time:                   0d 0h 4m 13s\nCentreon Engine PID:                    1858\nUsed/High/Total Command Buffers:        0 / 0 / 4096\n\nTotal Services:                         36\nServices Checked:                       36\nServices Scheduled:                     36\nServices Actively Checked:              36\nServices Passively Checked:             0\nTotal Service State Change:             0.000 / 19.470 / 1.146 %\nActive Service Latency:                 0.113 / 0.992 / 0.574 sec\nActive Service Execution Time:          0.007 / 0.529 / 0.209 sec\nActive Service State Change:            0.000 / 19.470 / 1.146 %\nActive Services Last 1/5/15/60 min:     2 / 7 / 7 / 7\nPassive Service Latency:                0.000 / 0.000 / 0.000 sec\nPassive Service State Change:           0.000 / 0.000 / 0.000 %\nPassive Services Last 1/5/15/60 min:    0 / 0 / 0 / 0\nServices Ok/Warn/Unk/Crit:              34 / 0 / 1 / 1\nServices Flapping:                      0\nServices In Downtime:                   0\n\nTotal Hosts:                            3\nHosts Checked:                          3\nHosts Scheduled:                        3\nHosts Actively Checked:                 3\nHost Passively Checked:                 0\nTotal Host State Change:                0.000 / 14.010 / 6.227 %\nActive Host Latency:                    0.324 / 0.467 / 0.392 sec\nActive Host Execution Time:             0.007 / 0.204 / 0.073 sec\nActive Host State Change:               0.000 / 14.010 / 6.227 %\nActive Hosts Last 1/5/15/60 min:        1 / 3 / 3 / 3\nPassive Host Latency:                   0.000 / 0.000 / 0.000 sec\nPassive Host State Change:              0.000 / 0.000 / 0.000 %\nPassive Hosts Last 1/5/15/60 min:       0 / 0 / 0 / 0\nHosts Up/Down/Unreach:                  3 / 0 / 0\nHosts Flapping:                         0\nHosts In Downtime:                      0\n\nActive Host Checks Last 1/5/15 min:     1 / 3 / 3\n   Scheduled:                           1 / 3 / 3\n   On-demand:                           0 / 0 / 0\n   Parallel:                            1 / 3 / 3\n   Serial:                              0 / 0 / 0\n   Cached:                              0 / 0 / 0\nPassive Host Checks Last 1/5/15 min:    0 / 0 / 0\nActive Service Checks Last 1/5/15 min:  2 / 7 / 7\n   Scheduled:                           2 / 7 / 7\n   On-demand:                           0 / 0 / 0\n   Cached:                              0 / 0 / 0\nPassive Service Checks Last 1/5/15 min: 0 / 0 / 0\n\nExternal Commands Last 1/5/15 min:      0 / 0 / 0\n\n","exit_code":0},"metrics":{"duration":0,"end":1679754900,"start":1679754900},"message":"command has finished successfully"} }
2023-03-25 15:35:00 - DEBUG - [core] Message received - [PUTLOG] [ad840e5dc19da97d9818c92fb7655d0cabf23ac754cc10195859e4df42b561a10f6c6da6762f51f960575ee9d41485d3b4f383e44fe0cdad84fa1b30f3147aa5-1] [] {"data":{"message":"commands processing has finished successfully"},"token":"ad840e5dc19da97d9818c92fb7655d0cabf23ac754cc10195859e4df42b561a10f6c6da6762f51f960575ee9d41485d3b4f383e44fe0cdad84fa1b30f3147aa5-1","code":2,"instant":null,"etime":1679754900}
2023-03-25 15:35:00 - DEBUG - [statistics] Event: [STATISTICSLISTENER] [ad840e5dc19da97d9818c92fb7655d0cabf23ac754cc10195859e4df42b561a10f6c6da6762f51f960575ee9d41485d3b4f383e44fe0cdad84fa1b30f3147aa5-1] [] { "code": 100, "data": {"metadata":{"source":"enginestats","poller_id":"1"},"command":"/usr/sbin/centenginestats -c /etc/centreon-engine//centengine.cfg","result":{"stdout":"Centreon Engine Statistics Utility 22.10.0\n\nCopyright 2003-2008      Ethan Galstad\nCopyright 2011-2013,2016 Centreon\nLicense: GPLv2\n\nCURRENT STATUS DATA\n------------------------------------------------------\nStatus File:                            /var/log/centreon-engine/status.dat\nStatus File Age:                        0d 0h 0m 13s\nStatus File Version:                    (null)\n\nProgram Running Time:                   0d 0h 4m 13s\nCentreon Engine PID:                    1858\nUsed/High/Total Command Buffers:        0 / 0 / 4096\n\nTotal Services:                         36\nServices Checked:                       36\nServices Scheduled:                     36\nServices Actively Checked:              36\nServices Passively Checked:             0\nTotal Service State Change:             0.000 / 19.470 / 1.146 %\nActive Service Latency:                 0.113 / 0.992 / 0.574 sec\nActive Service Execution Time:          0.007 / 0.529 / 0.209 sec\nActive Service State Change:            0.000 / 19.470 / 1.146 %\nActive Services Last 1/5/15/60 min:     2 / 7 / 7 / 7\nPassive Service Latency:                0.000 / 0.000 / 0.000 sec\nPassive Service State Change:           0.000 / 0.000 / 0.000 %\nPassive Services Last 1/5/15/60 min:    0 / 0 / 0 / 0\nServices Ok/Warn/Unk/Crit:              34 / 0 / 1 / 1\nServices Flapping:                      0\nServices In Downtime:                   0\n\nTotal Hosts:                            3\nHosts Checked:                          3\nHosts Scheduled:                        3\nHosts Actively Checked:                 3\nHost Passively Checked:                 0\nTotal Host State Change:                0.000 / 14.010 / 6.227 %\nActive Host Latency:                    0.324 / 0.467 / 0.392 sec\nActive Host Execution Time:             0.007 / 0.204 / 0.073 sec\nActive Host State Change:               0.000 / 14.010 / 6.227 %\nActive Hosts Last 1/5/15/60 min:        1 / 3 / 3 / 3\nPassive Host Latency:                   0.000 / 0.000 / 0.000 sec\nPassive Host State Change:              0.000 / 0.000 / 0.000 %\nPassive Hosts Last 1/5/15/60 min:       0 / 0 / 0 / 0\nHosts Up/Down/Unreach:                  3 / 0 / 0\nHosts Flapping:                         0\nHosts In Downtime:                      0\n\nActive Host Checks Last 1/5/15 min:     1 / 3 / 3\n   Scheduled:                           1 / 3 / 3\n   On-demand:                           0 / 0 / 0\n   Parallel:                            1 / 3 / 3\n   Serial:                              0 / 0 / 0\n   Cached:                              0 / 0 / 0\nPassive Host Checks Last 1/5/15 min:    0 / 0 / 0\nActive Service Checks Last 1/5/15 min:  2 / 7 / 7\n   Scheduled:                           2 / 7 / 7\n   On-demand:                           0 / 0 / 0\n   Cached:                              0 / 0 / 0\nPassive Service Checks Last 1/5/15 min: 0 / 0 / 0\n\nExternal Commands Last 1/5/15 min:      0 / 0 / 0\n\n","exit_code":0},"metrics":{"duration":0,"end":1679754900,"start":1679754900},"message":"command has finished successfully"} }
2023-03-25 15:35:00 - DEBUG - [statistics] Writing in file '/var/lib/centreon/nagios-perf//perfmon-1/nagios_cmd_buffer.rrd'

 

Distant  :

log poller distant: 

2023-03-25 15:30:49 - INFO - [core] Initialize server keys
2023-03-25 15:30:49 - INFO - [core] Private key file '/var/lib/centreon-gorgone/.keys/rsakey.priv.pem' loaded
2023-03-25 15:30:49 - INFO - [core] Public key file '/var/lib/centreon-gorgone/.keys/rsakey.pub.pem' loaded
2023-03-25 15:30:49 - INFO - [core] update schema 22.04.0 -> 22.04.0
2023-03-25 15:30:49 - INFO - [core] Module 'action' is loading
2023-03-25 15:30:50 - INFO - [core] Module 'action' is loaded
2023-03-25 15:30:50 - INFO - [core] Module 'engine' is loading
2023-03-25 15:30:50 - INFO - [core] Module 'engine' is loaded
2023-03-25 15:30:50 - INFO - [core] Module 'autodiscovery' is loading
2023-03-25 15:30:50 - INFO - [core] Module 'autodiscovery' is loaded
2023-03-25 15:30:50 - INFO - [core] Module 'audit' is loading
2023-03-25 15:30:50 - INFO - [core] Module 'audit' is loaded
2023-03-25 15:30:50 - INFO - [core] Module 'dbcleaner' is loading
2023-03-25 15:30:50 - INFO - [core] Module 'dbcleaner' is loaded
2023-03-25 15:30:50 - INFO - [core] Gorgoned started
2023-03-25 15:30:50 - INFO - [core] PID 1116
2023-03-25 15:30:50 - INFO - [autodiscovery] Create module 'autodiscovery' process
2023-03-25 15:30:50 - INFO - [audit] Create module 'audit' process
2023-03-25 15:30:50 - INFO - [dbcleaner] Create module 'dbcleaner' process
2023-03-25 15:30:50 - INFO - [action] Create module 'action' process
2023-03-25 15:30:50 - INFO - [engine] Create module 'engine' process
2023-03-25 15:30:50 - INFO - [core] Server accepting clients
2023-03-25 15:30:50 - INFO - [core] module key gorgone-autodiscovery changed
2023-03-25 15:30:50 - INFO - [core] module key gorgone-audit changed
2023-03-25 15:30:50 - INFO - [core] module key gorgone-dbcleaner changed
2023-03-25 15:30:50 - INFO - [core] module key gorgone-action changed
2023-03-25 15:30:50 - INFO - [core] module key gorgone-engine changed
2023-03-25 15:30:53 - INFO - [autodiscovery] -class- host discovery - sync started
2023-03-25 15:40:53 - INFO - [autodiscovery] -class- host discovery - sync started
2023-03-25 15:50:54 - INFO - [autodiscovery] -class- host discovery - sync started
2023-03-25 16:00:55 - INFO - [autodiscovery] -class- host discovery - sync started
 


1 reply

Userlevel 1
Badge +5

Hello

I'm afraid you've confused poller with remote server.

you have declared a poller on the central but you seem to have a remote server

Best regards

Reply