Skip to main content
Troubleshooting

No graphs seem to be generated

  • June 23, 2022
  • 0 replies
  • 1739 views

Forum|alt.badge.img+5

Please note that the only procedures supported and maintained by Centreon are those published in the official documentation. If you have a question about this article, post it in the comments.


Symptom

RRD files do not seem to be generated. Graphs cannot be displayed.

 

Verification

Refer to this list of checkpoints to identify where the issue is located.

 

Disk space

By default, the graph files (.rrd) are stored in the /var/lib/centreon/metrics directory. Ensure you have enough space in your filesystem for the storage.

 

Permissions

Ensure the .rrd files can be written in the /var/lib/centreon/metrics and /var/lib/centreon/status/ directories. The process that usually writes in this directory is centreon-broker.

 

Plugins

Ensure your plugin returns the correct output. Refer to this documentation for more information.

 

Centreon Broker

  • Centreon Broker must be configured properly, refer to this documentation for more information.
  • The cbd rrd daemon must be running:

# systemctl status cbd

● cbd.service - Centreon Broker watchdog

   Loaded: loaded (/etc/systemd/system/cbd.service; enabled; vendor preset: disabled)

   Active: active (running) since mer. 2018-07-18 17:46:03 CEST; 2 months 9 days ago

  Process: 21410 ExecReload=/bin/kill -HUP $MAINPID (code=exited, status=0/SUCCESS)

 Main PID: 9537 (cbwd)

   CGroup: /system.slice/cbd.service

           ├─9537 /usr/sbin/cbwd /etc/centreon-broker/watchdog.xml

           ├─9539 /usr/sbin/cbd /etc/centreon-broker/central-rrd.xml

           └─9540 /usr/sbin/cbd /etc/centreon-broker/central-broker.xml