Centstorage to Centreon Broker¶
One key feature of Centreon is to generate graphs with information provided from the monitoring. Historically, this was done through the Centstorage software. Now Centreon Broker can handle graph generation in a harder, better, faster, stronger way. Centreon Broker provide more options and consume less resources than Centstorage.
It is assumed that you’re already using Centreon Broker in your Centreon setup. We suppose we have a MySQL database on 10.30.2.62 with the user centreon and the password centreon.
The Storage engine¶
The Storage engine communicates with the storage database, which contains the index_data, metrics and data_bin tables. This database holds useful information that are filled by the Storage engine and used by Centreon to properly print graphs. Without a Storage engine in your setup, no Centreon-compatible graphs could be generated by Centreon Broker.
Adding the Storage engine in Centreon¶
Connect to the Centreon interface and go to Configuration, then Centreon and finally Centreon-Broker to select your central configuration file.
In the Output tab, add a Storage - Perfdata Generator output with information similar to the following.
Also, don’t forget to add a File - File failover for the previous output.
The RRD engine¶
The RRD engine write RRD files on disk from information provided by the Storage engine. It also handles their deletion or rebuild. The RRD has multiple options, the most important being the ability to write RRD files through the rrdcached software.
Adding the RRD engine in Centreon¶
In a similar manner than what was done for the Storage engine, add a new output RRD - RRD File Generator with the following caracteristics.
Once again, don’t forget to add a File - File failover for the previous output.
Go to Administration, then Options, CentStorage and uncheck Enable Centstorage Engine.
From the command prompt you can now stop CentStorage.
Finally, go to Configuration then Monitoring Engine. Export the configuration and restart engines. Graphs are now written by Centreon Broker !