Now I made some adjustments with the values that are being passed to checkmk.
I renamed one variable from the check output, but now I got two separate values, the old and new one.
Is it possible to remove the old data, as it is no longer needed?
The *.info file contains some description and the *.rrd file the actual data.
Usually the files contain the data for all the graphs of a given service. So in your case both the “old” data and the “new” data is stored in these files.
By far the easiest way to get rid of the old data is to stop the site and delete these two files completely, i.e.:
That was super simple, I was able to just remove the values from the .info under METRICS= and it does not show up anymore. This seams to keep the “old” data, but it was only a few data points, so I assume to be not a big deal.
Good to hear. I’m not sure if I understood correctly: you changed the *.info file but left the *.rrd file untouched? Maybe you get into trouble now if you add another metric (a third one) to the check.
It works like so:
In the *.info file under METRICS is a ;-separated list of metrics and in the *.rrd file is the corresponding data.
So the first metric from *.info belongs to the first dataset in the rrd file,
the second metric from *.info belongs to the second dataset in the rrd file, and so on.
If you just edit one of the files, they might get out of sync and checkmk might get confused.