Xymon Mailing List Archive search

repair rrd data

list Grégory Bulot
Sat, 22 Jun 2024 12:16:51 +0200
Message-Id: <user-8d686eceb61c@xymon.invalid>

Le Thu, 20 Jun 2024 20:35:31 -0400,
Ralph M <user-00a5e44c48c0@xymon.invalid> a ?crit :
Gaps like that happen when there's missing data.  There's not a lot
you can do about that.
i think that to (and Jeremy Laidman previous answer)
If you really, really want to make the gaps go away, you can try
dumping out the RRD to XML, edit the dump, then load it back in.

     rrdtool   dump   xymon.rrd
$ rrdtool dump "${RRDBASEHOST}/ups,BCHARGE.rrd" | tail -7 | sed
's#.*-->\(.*\)#  \1#'
   <row><v>9.9378222222e+01</v></row>
   <row><v>NaN</v></row>
   <row><v>1.0000000000e+02</v></row>
   <row><v>1.0000000000e+02</v></row>
                </database>
        </rra>
</rrd>


I'll try to see the trouble, and after trying to add "missing data with
value not too bad"