Problem
After the rrd migration, for some reason, some graphs are not recording values:
In the cmc.log, you may see these kinds of messages:
2022-04-06 13:24:41 [4] [client 1] Error accessing RRD: No DS called '12' in '/opt/omd/sites/mysite/var/check_mk/rrd/schiller/Interface_eth1-02.45.rrd' 2022-04-06 13:24:41 [4] [client 1] Error accessing RRD: No DS called '6' in '/opt/omd/sites/mysite/var/check_mk/rrd/schiller/Interface_eth1-02.45.rrd' 2022-04-06 13:24:41 [4] [client 1] Error accessing RRD: No DS called '5' in '/opt/omd/sites/mysite/var/check_mk/rrd/schiller/Interface_eth1-02.45.rrd' 2022-04-06 13:24:41 [4] [client 1] Error accessing RRD: No DS called '11' in '/opt/omd/sites/mysite/var/check_mk/rrd/schiller/Interface_eth1-02.45.rrd'
Solution
To automate those steps, you can get a script from Checkmk Support.
Change to the rrd directory.
How many metrics are stored in the .info file?
15 Metrics are stored here
How many datasources do we have in the .rrd file?
--> 11 Datasources are stored. As described in the cmc.log, DS 5,6,11, and 12 are missing
- So here we have a mismatch of the number of metrics in the .info (15 Metrics ) file and the amount of Datasources (11 DS) in the .rrd file
We need to create the missing DS into the rrd file.
Before continuing here, please note that we do not provide support for any broken .rrd file. Please be careful and do a backup of that files beforehand.
Stop the site
Create the four missing datasources
More information about the command can be found here: https://oss.oetiker.ch/rrdtool/doc/rrdtune.en.html.
Start the site
Related articles
Filter by label
There are no items with the selected labels at this time.