Hi,
On a new installation with a central server and a remote poller, the poller does not run.
I followed the guide https://www.centreon.com/centreon-troubleshoot-series-episode-1-help-my-poller-is-down/
Netstat for poller seems ok :
sudo netstat -plant | egrep '5669|5556'
>sudo] Mot de passe de admcent :
tcp 0 0 0.0.0.0:5556 0.0.0.0:* LISTEN 917/perl
tcp 0 0 192.168.109.212:5556 192.168.109.211:59262 ESTABLISHED 917/perl
tcp 0 0 192.168.109.212:58450 192.168.109.211:5669 ESTABLISHED 1720/centengine
Netstat for central seems ok :
sudo netstat -plant | egrep '5669|5556'
/sudo] Mot de passe de admcent :
tcp 0 0 0.0.0.0:5669 0.0.0.0:* LISTEN 1198/cbd
tcp 0 0 127.0.0.1:54920 127.0.0.1:5669 ESTABLISHED 1193/centengine
tcp 0 0 127.0.0.1:5669 127.0.0.1:54920 ESTABLISHED 1198/cbd
tcp 0 0 192.168.109.211:5669 192.168.109.212:58450 ESTABLISHED 1198/cbd
tcp 0 0 192.168.109.211:59262 192.168.109.212:5556 ESTABLISHED 1102/gorgone-proxy
When i try to export configuration i have an error
On central i check where is centcore.cmd file but not found
On central /var/log/centreon-broker/central-broker-master.log :
o2024-08-07T17:42:16.127-10:00] 0core] rinfo] Poller '' with id 0 just disconnected
r2024-08-07T17:42:16.127-10:00] 0core] rinfo] multiplexing: '/var/lib/centreon-broker//central-broker-master.queue.central-broker-master-input-1' removed
r2024-08-07T17:42:17.066-10:00] 0core] rinfo] main: termination request received by process 1198
r2024-08-07T17:42:17.067-10:00] 0core] rinfo] unloading applier::endpoint
r2024-08-07T17:42:18.034-10:00] 0core] rinfo] removing 'central-broker-master-input-1' from acceptor 'central-broker-master-input'
r2024-08-07T17:42:18.034-10:00] 0core] rinfo] Destroying muxer 0x7fee10007930 central-broker-master-input-1: number of events in the queue: 0
r2024-08-07T17:42:18.035-10:00] 0core] rinfo] processing acceptor 'central-broker-master-input' finished
r2024-08-07T17:42:18.035-10:00] 0core] rwarning] There is currently no poller 0 connected
r2024-08-07T17:42:18.035-10:00] 0core] rinfo] multiplexing: '/var/lib/centreon-broker//central-broker-master.queue.central-broker-master-input-3' removed
r2024-08-07T17:42:18.036-10:00] 0core] rinfo] Destroying muxer 0x7fee1000b6a0 central-broker-master-input-3: number of events in the queue: 0
r2024-08-07T17:42:18.036-10:00] 0tcp] cerror] Error while reading on socket from 192.168.109.212: Operation canceled
r2024-08-07T17:42:18.138-10:00] 0core] rwarning] There is currently no poller 0 connected
r2024-08-07T17:42:18.138-10:00] 0tcp] cerror] Error while reading on socket from localhost: Operation canceled
r2024-08-07T17:42:18.138-10:00] 0core] rinfo] Destroying muxer 0x55672aa01f90 centreon-broker-rrd: number of events in the queue: 0
r2024-08-07T17:42:18.138-10:00] 0core] rinfo] multiplexing: stopping engine
r2024-08-07T17:42:18.139-10:00] 0core] rinfo] Waiting for the destruction of subscribers
r2024-08-07T17:42:18.139-10:00] 0core] rinfo] modules: closing '/usr/share/centreon/lib/centreon-broker/60-tls.so'
r2024-08-07T17:42:18.139-10:00] 0core] rinfo] protocols: unregistering protocol 'TLS'
r2024-08-07T17:42:18.140-10:00] 0core] rinfo] modules: closing '/usr/share/centreon/lib/centreon-broker/50-tcp.so'
r2024-08-07T17:42:18.140-10:00] 0core] rinfo] protocols: unregistering protocol 'TCP'
r2024-08-07T17:42:18.140-10:00] 0core] rinfo] modules: closing '/usr/share/centreon/lib/centreon-broker/15-stats.so'
r2024-08-07T17:42:18.228-10:00] 0core] rinfo] modules: closing '/usr/share/centreon/lib/centreon-broker/10-neb.so'
r2024-08-07T17:42:18.228-10:00] 0core] rinfo] protocols: unregistering protocol 'BBDO'
r2024-08-07T17:42:18.228-10:00] 0core] rinfo] protocols: unregistering protocol 'compression'
r2024-08-07T17:42:18.228-10:00] 0core] rinfo] protocols: unregistering protocol 'file'
r2024-08-07T17:42:18.228-10:00] 0core] rinfo] protocols: destruction (0 protocols still registered)
r2024-08-07T17:42:18.247-10:00] 0core] rinfo] main: process /usr/sbin/cbd pid:1198 end exit_code:0
r2024-08-07T17:42:22.306-10:00] 0core] rinfo] main: process /usr/sbin/cbd pid:9191 begin
r2024-08-07T17:42:22.306-10:00] 0core] rinfo] Starting the TCP thread pool of 3 threads
r2024-08-07T17:42:22.307-10:00] 0core] rinfo] protocols: registering protocol ('file' (layers 1-3)
r2024-08-07T17:42:22.307-10:00] 0core] rinfo] protocols: registering protocol ('compression' (layers 6-6)
r2024-08-07T17:42:22.307-10:00] 0core] rinfo] protocols: registering protocol ('BBDO' (layers 7-7)
r2024-08-07T17:42:22.313-10:00] 0core] rinfo] start of asio thread 7f46417ff6c0
r2024-08-07T17:42:22.313-10:00] 0core] rinfo] start of asio thread 7f4640ffe6c0
r2024-08-07T17:42:22.313-10:00] 0core] rinfo] start of asio thread 7f46407fd6c0
r2024-08-07T17:42:22.348-10:00] 0core] rinfo] protocols: registering protocol ('TLS' (layers 5-5)
r2024-08-07T17:42:22.348-10:00] 0core] rinfo] protocols: registering protocol ('TCP' (layers 1-4)
r2024-08-07T17:42:22.362-10:00] 0config] ierror] endpoint applier: The configured write filters for the endpoint 'centreon-broker-rrd' contain forbidden filters. These ones are removed
r2024-08-07T17:42:22.362-10:00] 0config] ierror] endpoint applier: The configured read filters for the endpoint 'centreon-broker-rrd' contain forbidden filters. These ones are removed
r2024-08-07T17:42:22.363-10:00] 0core] rinfo] multiplexing: 'centreon-broker-rrd' starts with 0 in queue and the queue file is disable
r2024-08-07T17:42:22.369-10:00] 0core] rinfo] multiplexing: engine started
r2024-08-07T17:42:22.377-10:00] 0core] rinfo] Poller '' with id 0 connected
r2024-08-07T17:42:22.382-10:00] 0core] rinfo] Available connections cleaning: Operation canceled
r2024-08-07T17:42:22.383-10:00] 0core] rwarning] Poller '' with id 0 already known as connected. Replacing it with ''
r2024-08-07T17:42:22.383-10:00] 0core] rinfo] New incoming connection 'central-broker-master-input-1'
r2024-08-07T17:42:22.384-10:00] 0core] rinfo] multiplexing: 'central-broker-master-input-1' starts with 0 in queue and the queue file is disable
r2024-08-07T17:42:26.107-10:00] 0core] rinfo] Available connections cleaning: Operation canceled
r2024-08-07T17:42:26.107-10:00] 0core] rwarning] Poller '' with id 0 already known as connected. Replacing it with ''
r2024-08-07T17:42:26.107-10:00] 0core] rinfo] New incoming connection 'central-broker-master-input-2'
r2024-08-07T17:42:26.108-10:00] 0core] rinfo] multiplexing: 'central-broker-master-input-2' starts with 0 in queue and the queue file is disable
When Central was installed, a poller was configured. How can I delete it if I want to keep only one poller on a dedicated server?
To join the remote poller "collector01" I first used the script "/usr/share/centreon/bin/registerServerTopology.sh -u <API_ACCOUNT> \
-t poller -h <IP_TARGET_NODE> -n <POLLER_NAME>" but it didn't work, so I registered it from the GUI
What do I need to check?
Thanks for your help.
Patrick