[Xymon] [xymon]repair rrd data

diffusion at bulot-fr.com diffusion at bulot-fr.com
Sat Jun 22 12:16:51 CEST 2024


Le Thu, 20 Jun 2024 20:35:31 -0400,
Ralph M <ralphmitchell at gmail.com> 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"






More information about the Xymon mailing list