Skip to main content

Hi!

First time posting here, It’s been some time since we had working graphs on Centreon and I’m trying to see if I can make them work again.

 

Here is a summary of the situation : It’s been like this for 6 months. This morning I updated from 22.04 to 22.10 but it’s the exact same thing: I either have “ No data available for this period ” or graphs but without any data on them.

 

I saw other posts from other users and tried the solutions (like adding an IPv4 output named centreon-broker-rrd, see

), but nothing seems to work.

 

I appreciate any help 🙂 Thanks!

HI @tch,

 

Can you confirm that you have a dedicated Centreon Broker output on “central-broker-master” to forward data to “central-rrd-master” :

 

And you have a “central-rrd-master” definition?

Then can you check that both Centeron Broker are working on your server using:

systemctl status cbd

You should have something like:

● cbd.service - Centreon Broker watchdog
Loaded: loaded (/usr/lib/systemd/system/cbd.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2023-03-13 06:01:26 UTC; 9h ago
Main PID: 1232 (cbwd)
CGroup: /system.slice/cbd.service
├─1232 /usr/sbin/cbwd /etc/centreon-broker/watchdog.json
├─1242 /usr/sbin/cbd /etc/centreon-broker/central-broker.json
└─1243 /usr/sbin/cbd /etc/centreon-broker/central-rrd.json

 


Hi,

Thanks for your help. Yes I do have those like you. Here are some screenshots :

 

 


Ok, can you check if you have errors in /var/log/centreon-broker/central-rrd-master.log?

Can you check also if you have enough space on /var/lib/centreon?

df -h /var/lib/centreon/metrics/

 


Here is the rrd-master logfile :

 

>2023-03-13T08:31:21.335+01:00]  core]  info] main: configuration update requested
>2023-03-13T08:31:21.337+01:00] core] info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/50-tcp.so' which is already loaded
>2023-03-13T08:31:21.337+01:00] core] info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/70-rrd.so' which is already loaded
>2023-03-13T08:31:21.338+01:00] core] info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/15-stats.so' which is already loaded
>2023-03-13T08:31:21.338+01:00] core] info] multiplexing: engine started
>2023-03-13T08:31:25.968+01:00] core] info] main: configuration update requested
>2023-03-13T08:31:25.970+01:00] core] info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/50-tcp.so' which is already loaded
>2023-03-13T08:31:25.970+01:00] core] info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/70-rrd.so' which is already loaded
>2023-03-13T08:31:25.970+01:00] core] info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/15-stats.so' which is already loaded
>2023-03-13T08:31:25.970+01:00] core] info] multiplexing: engine started
>2023-03-13T11:16:39.572+01:00] core] info] main: termination request received by process
>2023-03-13T11:16:42.489+01:00] core] info] processing acceptor 'central-rrd-master-input' finished
>2023-03-13T11:16:42.490+01:00] core] info] multiplexing: stopping engine
>2023-03-13T11:16:42.490+01:00] core] info] multiplexing: sending events to muxers for the last time
>2023-03-13T11:16:42.497+01:00] core] info] Destroying muxer central-rrd-master-output: number of events in the queue: 0
>2023-03-13T11:16:42.497+01:00] core] info] modules: closing '/usr/share/centreon/lib/centreon-broker/70-rrd.so'
>2023-03-13T11:16:42.499+01:00] core] info] protocols: unregistering protocol 'RRD'
>2023-03-13T11:16:42.499+01:00] core] info] modules: closing '/usr/share/centreon/lib/centreon-broker/60-tls.so'
>2023-03-13T11:16:42.499+01:00] core] info] protocols: unregistering protocol 'TLS'
>2023-03-13T11:16:42.500+01:00] core] info] modules: closing '/usr/share/centreon/lib/centreon-broker/50-tcp.so'
>2023-03-13T11:16:42.500+01:00] core] info] protocols: unregistering protocol 'TCP'
>2023-03-13T11:16:42.501+01:00] core] info] modules: closing '/usr/share/centreon/lib/centreon-broker/15-stats.so'
>2023-03-13T11:16:42.560+01:00] core] info] modules: closing '/usr/share/centreon/lib/centreon-broker/10-neb.so'
>2023-03-13T11:16:42.562+01:00] core] info] protocols: unregistering protocol 'BBDO'
>2023-03-13T11:16:42.562+01:00] core] info] protocols: unregistering protocol 'compression'
>2023-03-13T11:16:42.562+01:00] core] info] protocols: unregistering protocol 'file'
>2023-03-13T11:16:42.562+01:00] core] info] protocols: destruction (0 protocols still registered)
>2023-03-13T11:16:42.562+01:00] core] info] pool: the latency check encountered an error: Operation aborted.
>2023-03-13T11:16:42.582+01:00] core] info] log finished
>2023-03-13T11:43:14.020+01:00] core] info] Starting the TCP thread pool of 3 threads
>2023-03-13T11:43:14.032+01:00] core] info] protocols: registering protocol ('file' (layers 1-3)
>2023-03-13T11:43:14.032+01:00] core] info] protocols: registering protocol ('compression' (layers 6-6)
>2023-03-13T11:43:14.032+01:00] core] info] protocols: registering protocol ('BBDO' (layers 7-7)
>2023-03-13T11:43:14.032+01:00] core] info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/50-tcp.so'
>2023-03-13T11:43:14.059+01:00] core] info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/10-neb.so'
>2023-03-13T11:43:14.083+01:00] core] info] NEB: module for Centreon Broker 22.04.1
>2023-03-13T11:43:14.083+01:00] core] info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/60-tls.so'
>2023-03-13T11:43:14.150+01:00] core] info] protocols: registering protocol ('TLS' (layers 5-5)
>2023-03-13T11:43:14.150+01:00] core] info] protocols: registering protocol ('TCP' (layers 1-4)
>2023-03-13T11:43:14.150+01:00] core] info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/70-rrd.so'
>2023-03-13T11:43:14.258+01:00] core] info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/10-neb.so' which is already loaded
>2023-03-13T11:43:14.262+01:00] core] info] protocols: registering protocol ('RRD' (layers 1-7)
>2023-03-13T11:43:14.262+01:00] core] info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/15-stats.so'
>2023-03-13T11:43:14.321+01:00] core] info] multiplexing: 'central-rrd-master-input' starts with 0 in queue and the queue file is disable
>2023-03-13T11:43:14.328+01:00] core] info] Destroying muxer central-rrd-master-input: number of events in the queue: 0
>2023-03-13T11:43:14.342+01:00] core] info] multiplexing: 'central-rrd-master-output' starts with 0 in queue and the queue file is disable
>2023-03-13T11:43:14.352+01:00] core] info] multiplexing: engine started
>2023-03-13T11:45:31.488+01:00] core] info] main: termination request received by process
>2023-03-13T11:45:33.174+01:00] core] info] processing acceptor 'central-rrd-master-input' finished
>2023-03-13T11:45:33.179+01:00] core] info] multiplexing: stopping engine
>2023-03-13T11:45:33.179+01:00] core] info] multiplexing: sending events to muxers for the last time
>2023-03-13T11:45:33.191+01:00] core] info] Destroying muxer central-rrd-master-output: number of events in the queue: 0
>2023-03-13T11:45:33.203+01:00] core] info] modules: closing '/usr/share/centreon/lib/centreon-broker/70-rrd.so'
>2023-03-13T11:45:33.203+01:00] core] info] protocols: unregistering protocol 'RRD'
>2023-03-13T11:45:33.203+01:00] core] info] modules: closing '/usr/share/centreon/lib/centreon-broker/60-tls.so'
>2023-03-13T11:45:33.203+01:00] core] info] protocols: unregistering protocol 'TLS'
>2023-03-13T11:45:33.204+01:00] core] info] modules: closing '/usr/share/centreon/lib/centreon-broker/50-tcp.so'
>2023-03-13T11:45:33.204+01:00] core] info] protocols: unregistering protocol 'TCP'
>2023-03-13T11:45:33.204+01:00] core] info] modules: closing '/usr/share/centreon/lib/centreon-broker/15-stats.so'
>2023-03-13T11:45:33.297+01:00] core] info] modules: closing '/usr/share/centreon/lib/centreon-broker/10-neb.so'
>2023-03-13T11:45:33.298+01:00] core] info] protocols: unregistering protocol 'BBDO'
>2023-03-13T11:45:33.298+01:00] core] info] protocols: unregistering protocol 'compression'
>2023-03-13T11:45:33.298+01:00] core] info] protocols: unregistering protocol 'file'
>2023-03-13T11:45:33.298+01:00] core] info] protocols: destruction (0 protocols still registered)
>2023-03-13T11:45:33.298+01:00] core] info] pool: the latency check encountered an error: Operation aborted.
>2023-03-13T11:45:33.309+01:00] core] info] log finished
>2023-03-13T11:48:36.714+01:00] core] info] Starting the TCP thread pool of 3 threads
>2023-03-13T11:48:36.715+01:00] core] info] protocols: registering protocol ('file' (layers 1-3)
>2023-03-13T11:48:36.715+01:00] core] info] protocols: registering protocol ('compression' (layers 6-6)
>2023-03-13T11:48:36.715+01:00] core] info] protocols: registering protocol ('BBDO' (layers 7-7)
>2023-03-13T11:48:36.715+01:00] core] info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/50-tcp.so'
>2023-03-13T11:48:36.732+01:00] core] info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/10-neb.so'
>2023-03-13T11:48:36.735+01:00] core] info] NEB: module for Centreon Broker 22.10.0
>2023-03-13T11:48:36.735+01:00] core] info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/60-tls.so'
>2023-03-13T11:48:36.758+01:00] core] info] protocols: registering protocol ('TLS' (layers 5-5)
>2023-03-13T11:48:36.758+01:00] core] info] protocols: registering protocol ('TCP' (layers 1-4)
>2023-03-13T11:48:36.758+01:00] core] info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/70-rrd.so'
>2023-03-13T11:48:36.782+01:00] core] info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/10-neb.so' which is already loaded
>2023-03-13T11:48:36.782+01:00] core] info] protocols: registering protocol ('RRD' (layers 1-7)
>2023-03-13T11:48:36.782+01:00] core] info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/15-stats.so'
>2023-03-13T11:48:36.785+01:00] core] info] multiplexing: 'central-rrd-master-input' starts with 0 in queue and the queue file is disable
>2023-03-13T11:48:36.806+01:00] core] info] Destroying muxer central-rrd-master-input: number of events in the queue: 0
>2023-03-13T11:48:36.806+01:00] core] info] multiplexing: 'central-rrd-master-output' starts with 0 in queue and the queue file is disable
>2023-03-13T11:48:36.828+01:00] core] info] multiplexing: engine started
>2023-03-13T14:11:20.425+01:00] core] info] main: configuration update requested
>2023-03-13T14:11:20.427+01:00] core] info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/50-tcp.so' which is already loaded
>2023-03-13T14:11:20.427+01:00] core] info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/70-rrd.so' which is already loaded
>2023-03-13T14:11:20.427+01:00] core] info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/15-stats.so' which is already loaded
>2023-03-13T14:11:20.427+01:00] core] info] multiplexing: engine started
>2023-03-13T14:17:27.239+01:00] core] info] main: termination request received by process
>2023-03-13T14:17:29.701+01:00] core] info] processing acceptor 'central-rrd-master-input' finished
>2023-03-13T14:17:29.701+01:00] core] info] multiplexing: stopping engine
>2023-03-13T14:17:29.701+01:00] core] info] multiplexing: sending events to muxers for the last time 0 events to send
>2023-03-13T14:17:29.766+01:00] core] info] Destroying muxer central-rrd-master-output: number of events in the queue: 0
>2023-03-13T14:17:29.766+01:00] core] info] modules: closing '/usr/share/centreon/lib/centreon-broker/70-rrd.so'
>2023-03-13T14:17:29.766+01:00] core] info] protocols: unregistering protocol 'RRD'
>2023-03-13T14:17:29.766+01:00] core] info] modules: closing '/usr/share/centreon/lib/centreon-broker/60-tls.so'
>2023-03-13T14:17:29.766+01:00] core] info] protocols: unregistering protocol 'TLS'
>2023-03-13T14:17:29.767+01:00] core] info] modules: closing '/usr/share/centreon/lib/centreon-broker/50-tcp.so'
>2023-03-13T14:17:29.767+01:00] core] info] protocols: unregistering protocol 'TCP'
>2023-03-13T14:17:29.767+01:00] core] info] modules: closing '/usr/share/centreon/lib/centreon-broker/15-stats.so'
>2023-03-13T14:17:29.779+01:00] core] info] modules: closing '/usr/share/centreon/lib/centreon-broker/10-neb.so'
>2023-03-13T14:17:29.779+01:00] core] info] protocols: unregistering protocol 'BBDO'
>2023-03-13T14:17:29.779+01:00] core] info] protocols: unregistering protocol 'compression'
>2023-03-13T14:17:29.779+01:00] core] info] protocols: unregistering protocol 'file'
>2023-03-13T14:17:29.779+01:00] core] info] protocols: destruction (0 protocols still registered)
>2023-03-13T14:17:29.779+01:00] core] info] pool: the latency check encountered an error: Operation aborted.
>2023-03-13T14:17:29.782+01:00] core] info] log finished
>2023-03-13T14:19:24.782+01:00] core] info] Starting the TCP thread pool of 3 threads
>2023-03-13T14:19:24.785+01:00] core] info] protocols: registering protocol ('file' (layers 1-3)
>2023-03-13T14:19:24.785+01:00] core] info] protocols: registering protocol ('compression' (layers 6-6)
>2023-03-13T14:19:24.785+01:00] core] info] protocols: registering protocol ('BBDO' (layers 7-7)
>2023-03-13T14:19:24.785+01:00] core] info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/50-tcp.so'
>2023-03-13T14:19:24.807+01:00] core] info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/10-neb.so'
>2023-03-13T14:19:24.835+01:00] core] info] NEB: module for Centreon Broker 22.10.0
>2023-03-13T14:19:24.835+01:00] core] info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/60-tls.so'
>2023-03-13T14:19:24.916+01:00] core] info] protocols: registering protocol ('TLS' (layers 5-5)
>2023-03-13T14:19:24.916+01:00] core] info] protocols: registering protocol ('TCP' (layers 1-4)
>2023-03-13T14:19:24.916+01:00] core] info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/70-rrd.so'
>2023-03-13T14:19:25.015+01:00] core] info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/10-neb.so' which is already loaded
>2023-03-13T14:19:25.017+01:00] core] info] protocols: registering protocol ('RRD' (layers 1-7)
>2023-03-13T14:19:25.017+01:00] core] info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/15-stats.so'
>2023-03-13T14:19:25.034+01:00] core] info] multiplexing: 'central-rrd-master-input' starts with 0 in queue and the queue file is disable
>2023-03-13T14:19:25.041+01:00] core] info] Destroying muxer central-rrd-master-input: number of events in the queue: 0
>2023-03-13T14:19:25.043+01:00] core] info] multiplexing: 'central-rrd-master-output' starts with 0 in queue and the queue file is disable
>2023-03-13T14:19:25.055+01:00] core] info] multiplexing: engine started
>2023-03-13T14:40:58.917+01:00] core] info] main: termination request received by process
>2023-03-13T14:41:00.742+01:00] core] info] processing acceptor 'central-rrd-master-input' finished
>2023-03-13T14:41:00.753+01:00] core] info] multiplexing: stopping engine
>2023-03-13T14:41:00.753+01:00] core] info] multiplexing: sending events to muxers for the last time 0 events to send
>2023-03-13T14:41:00.778+01:00] core] info] Destroying muxer central-rrd-master-output: number of events in the queue: 0
>2023-03-13T14:41:00.778+01:00] core] info] modules: closing '/usr/share/centreon/lib/centreon-broker/70-rrd.so'
>2023-03-13T14:41:00.778+01:00] core] info] protocols: unregistering protocol 'RRD'
>2023-03-13T14:41:00.778+01:00] core] info] modules: closing '/usr/share/centreon/lib/centreon-broker/60-tls.so'
>2023-03-13T14:41:00.778+01:00] core] info] protocols: unregistering protocol 'TLS'
>2023-03-13T14:41:00.779+01:00] core] info] modules: closing '/usr/share/centreon/lib/centreon-broker/50-tcp.so'
>2023-03-13T14:41:00.779+01:00] core] info] protocols: unregistering protocol 'TCP'
>2023-03-13T14:41:00.779+01:00] core] info] modules: closing '/usr/share/centreon/lib/centreon-broker/15-stats.so'
>2023-03-13T14:41:00.864+01:00] core] info] modules: closing '/usr/share/centreon/lib/centreon-broker/10-neb.so'
>2023-03-13T14:41:00.864+01:00] core] info] protocols: unregistering protocol 'BBDO'
>2023-03-13T14:41:00.865+01:00] core] info] protocols: unregistering protocol 'compression'
>2023-03-13T14:41:00.865+01:00] core] info] protocols: unregistering protocol 'file'
>2023-03-13T14:41:00.865+01:00] core] info] protocols: destruction (0 protocols still registered)
>2023-03-13T14:41:00.865+01:00] core] info] pool: the latency check encountered an error: Operation aborted.
>2023-03-13T14:41:00.867+01:00] core] info] log finished
>2023-03-13T14:41:05.038+01:00] core] info] Starting the TCP thread pool of 3 threads
>2023-03-13T14:41:05.039+01:00] core] info] protocols: registering protocol ('file' (layers 1-3)
>2023-03-13T14:41:05.039+01:00] core] info] protocols: registering protocol ('compression' (layers 6-6)
>2023-03-13T14:41:05.039+01:00] core] info] protocols: registering protocol ('BBDO' (layers 7-7)
>2023-03-13T14:41:05.039+01:00] core] info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/50-tcp.so'
>2023-03-13T14:41:05.046+01:00] core] info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/10-neb.so'
>2023-03-13T14:41:05.050+01:00] core] info] NEB: module for Centreon Broker 22.10.0
>2023-03-13T14:41:05.050+01:00] core] info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/60-tls.so'
>2023-03-13T14:41:05.058+01:00] core] info] protocols: registering protocol ('TLS' (layers 5-5)
>2023-03-13T14:41:05.058+01:00] core] info] protocols: registering protocol ('TCP' (layers 1-4)
>2023-03-13T14:41:05.058+01:00] core] info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/70-rrd.so'
>2023-03-13T14:41:05.071+01:00] core] info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/10-neb.so' which is already loaded
>2023-03-13T14:41:05.071+01:00] core] info] protocols: registering protocol ('RRD' (layers 1-7)
>2023-03-13T14:41:05.071+01:00] core] info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/15-stats.so'
>2023-03-13T14:41:05.075+01:00] core] info] multiplexing: 'central-rrd-master-input' starts with 0 in queue and the queue file is disable
>2023-03-13T14:41:05.076+01:00] core] info] Destroying muxer central-rrd-master-input: number of events in the queue: 0
>2023-03-13T14:41:05.077+01:00] core] info] multiplexing: 'central-rrd-master-output' starts with 0 in queue and the queue file is disable
>2023-03-13T14:41:05.078+01:00] core] info] multiplexing: engine started
>2023-03-13T14:49:02.695+01:00] core] info] main: termination request received by process
>2023-03-13T14:49:02.950+01:00] core] info] processing acceptor 'central-rrd-master-input' finished
>2023-03-13T14:49:02.950+01:00] core] info] multiplexing: stopping engine
>2023-03-13T14:49:02.950+01:00] core] info] multiplexing: sending events to muxers for the last time 0 events to send
>2023-03-13T14:49:02.952+01:00] core] info] Destroying muxer central-rrd-master-output: number of events in the queue: 0
>2023-03-13T14:49:02.952+01:00] core] info] modules: closing '/usr/share/centreon/lib/centreon-broker/70-rrd.so'
>2023-03-13T14:49:02.952+01:00] core] info] protocols: unregistering protocol 'RRD'
>2023-03-13T14:49:02.952+01:00] core] info] modules: closing '/usr/share/centreon/lib/centreon-broker/60-tls.so'
>2023-03-13T14:49:02.952+01:00] core] info] protocols: unregistering protocol 'TLS'
>2023-03-13T14:49:02.953+01:00] core] info] modules: closing '/usr/share/centreon/lib/centreon-broker/50-tcp.so'
>2023-03-13T14:49:02.953+01:00] core] info] protocols: unregistering protocol 'TCP'
>2023-03-13T14:49:02.953+01:00] core] info] modules: closing '/usr/share/centreon/lib/centreon-broker/15-stats.so'
>2023-03-13T14:49:02.989+01:00] core] info] modules: closing '/usr/share/centreon/lib/centreon-broker/10-neb.so'
>2023-03-13T14:49:02.989+01:00] core] info] protocols: unregistering protocol 'BBDO'
>2023-03-13T14:49:02.989+01:00] core] info] protocols: unregistering protocol 'compression'
>2023-03-13T14:49:02.989+01:00] core] info] protocols: unregistering protocol 'file'
>2023-03-13T14:49:02.989+01:00] core] info] protocols: destruction (0 protocols still registered)
>2023-03-13T14:49:02.990+01:00] core] info] pool: the latency check encountered an error: Operation aborted.
>2023-03-13T14:49:02.992+01:00] core] info] log finished
>2023-03-13T14:50:40.528+01:00] core] info] Starting the TCP thread pool of 3 threads
>2023-03-13T14:50:40.535+01:00] core] info] protocols: registering protocol ('file' (layers 1-3)
>2023-03-13T14:50:40.535+01:00] core] info] protocols: registering protocol ('compression' (layers 6-6)
>2023-03-13T14:50:40.535+01:00] core] info] protocols: registering protocol ('BBDO' (layers 7-7)
>2023-03-13T14:50:40.535+01:00] core] info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/50-tcp.so'
>2023-03-13T14:50:40.556+01:00] core] info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/10-neb.so'
>2023-03-13T14:50:40.575+01:00] core] info] NEB: module for Centreon Broker 22.10.0
>2023-03-13T14:50:40.575+01:00] core] info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/60-tls.so'
>2023-03-13T14:50:40.633+01:00] core] info] protocols: registering protocol ('TLS' (layers 5-5)
>2023-03-13T14:50:40.633+01:00] core] info] protocols: registering protocol ('TCP' (layers 1-4)
>2023-03-13T14:50:40.633+01:00] core] info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/70-rrd.so'
>2023-03-13T14:50:40.704+01:00] core] info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/10-neb.so' which is already loaded
>2023-03-13T14:50:40.704+01:00] core] info] protocols: registering protocol ('RRD' (layers 1-7)
>2023-03-13T14:50:40.704+01:00] core] info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/15-stats.so'
>2023-03-13T14:50:40.741+01:00] core] info] multiplexing: 'central-rrd-master-input' starts with 0 in queue and the queue file is disable
>2023-03-13T14:50:40.757+01:00] core] info] Destroying muxer central-rrd-master-input: number of events in the queue: 0
>2023-03-13T14:50:40.757+01:00] core] info] multiplexing: 'central-rrd-master-output' starts with 0 in queue and the queue file is disable
>2023-03-13T14:50:40.768+01:00] core] info] multiplexing: engine started

 

 

And also here is what returns the “resources” command:

 

eroot@centreon ~]# df -h /var/lib/centreon/metrics/
Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur
/dev/mapper/centos_centreon-var_lib_centreon 10G 1,5G 8,6G 15% /var/lib/centreon

 


What is the result of:

jq '."endpoint central-rrd-master-input"."central-rrd-master-input-1"' /var/lib/centreon-broker/central-rrd-master-stats.json

 


“Unknown command” 🙄


You must install jq:

yum install -y jq

 


Ok thanks, here is what returns the jd command :

 

>root@centreon ~]# jq '."endpoint central-rrd-master-input"."central-rrd-master-input-1"' /var/lib/centreon-broker/central-rrd-master-stats.json
null
>root@centreon ~]#

 


Can you put the content of both *.json file from /var/lib/centreon-broker/ directory?


Both of them weigh 0 Bytes and are completely empty...


can you put here the json files from /etc/centeron-broker directory to check configuration?


Yes, here they are:

 

central-broker.json: https://pastebin.com/U5EzzLFm

central-module.json: https://pastebin.com/VwcWnZD4

central-rrd.json: https://pastebin.com/JsQUfZH5

watchdog.json: https://pastebin.com/LUA1STFs


The central-broker.json file doesn’t content output to central-rrd.

Can you please try to generate and export configuration, and also check that “gorgoned” process is alive:

systemctl status gorgoned

 


Here is the output of the command:

 

>root@centreon ~]# systemctl status gorgoned
● gorgoned.service - Centreon Gorgone
Loaded: loaded (/etc/systemd/system/gorgoned.service; enabled; vendor preset: disabled)
Active: active (running) since lun. 2023-03-13 14:50:36 CET; 23h ago
Main PID: 752 (perl)
CGroup: /system.slice/gorgoned.service
├─ 752 /usr/bin/perl /usr/bin/gorgoned --config=/etc/centreon-gorgone/config.yaml --logfile=/var/log/centreon-gorgone/gorgoned.log --severity=info
├─ 975 gorgone-audit
├─ 976 gorgone-nodes
├─ 984 gorgone-dbcleaner
├─ 985 gorgone-autodiscovery
├─ 992 gorgone-cron
├─ 998 gorgone-engine
├─1006 gorgone-statistics
├─1013 gorgone-action
├─1026 gorgone-httpserver
├─1034 gorgone-legacycmd
├─1709 gorgone-proxy
├─1710 gorgone-proxy
├─1711 gorgone-proxy
├─1712 gorgone-proxy
└─1713 gorgone-proxy

mars 13 14:50:36 centreon systemd1]: Started Centreon Gorgone.
rroot@centreon ~]#

 

Yesterday I rebooted the VM multiple times, and I often generate + export the configuration when I add hosts.

 

That’s a really strange problem.


Can you check if in /var/log/centreon-gorgone/gorgoned.log you don’t have errors when you “move” configuration?


The only error is for a licencing problem on a module, but nothing about this...


Can you move broker files and restart process:

rm -f /etc/centreon-broker/*
mv /var/cache/centreon/config/broker/1/* /etc/centreon-broker/
chown centreon-broker:centreon-broker /etc/centreon-broker/*
systemctl restart cbd

 


Well… There’s nothing in the /var/cache/centreon/config/broker/ folder


You don’t have a “1” subfolder in /var/cache/centreon/config/broker/:

 

# ls -lah /var/cache/centreon/config/broker/1/
total 20K
drwxrwx--- 2 apache apache 105 Mar 15 08:40 .
drwxrwsr-x 3 centreon centreon 15 Mar 15 08:40 ..
-rw-r--r-- 1 apache apache 4.8K Mar 15 08:40 central-broker.json
-rw-r--r-- 1 apache apache 1.7K Mar 15 08:40 central-module.json
-rw-r--r-- 1 apache apache 2.1K Mar 15 08:40 central-rrd.json
-rw-r--r-- 1 apache apache 549 Mar 15 08:40 watchdog.json

 


Nope :/

 

>root@centreon ~]# ls -lah /var/cache/centreon/config/broker/
total 0
drwxrwsr-x 2 centreon centreon 6 2 mars 17:11 .
drwxrwsr-x. 5 centreon centreon 48 13 mars 11:48 ..
>root@centreon ~]# ls -lah /var/cache/centreon/config/broker/1/
ls: impossible d'accéder à /var/cache/centreon/config/broker/1/: Aucun fichier ou dossier de ce type
root@centreon ~]#

 


Can you execute following command:

centreon -u admin -p '<your_password>' -a POLLERGENERATE -v 1
Configuration files generated for poller 1

and check if you have files into /var/cache/centreon/config/broker/1


Yes, now I do have a “1” folder. In there they are 4 json files and they’re not empty.


ok, the content of central-broker.json have 2 outputs?


Well I just took a look at my Centreon and the graphs are back… Right after the “poolergenerate” command they started to work again, the question now is “why were they missing in the first place?”

 

Anyway, big thanks for the help, I hope this topic will help some people in the future.


Reply