[Xymon] repair rrd data

diffusion at bulot-fr.com diffusion at bulot-fr.com
Sat Jun 22 12:07:54 CEST 2024


Le Fri, 21 Jun 2024 10:23:24 +1000,
Jeremy Laidman <jeremy at laidman.org> a écrit :

> This is most likely a problem with the data source feeding into
> Xymon, in which case the RRD file will have times with no data, shown
> as "nan" (not a number) in "rrdtool fetch <filename> AVERAGE" output.
> Note that it's common for one or two "NaN" records at the end of each
> timescale in the RRD file (and a bunch at the start also, if the host
> has been added relatively recently), but it's less common to have
> numbers intermingled with NaN lines. Here's an example:
> 


$ rrdtool fetch "${RRDBASEHOST}/ups,BCHARGE.rrd" AVERAGE | tail -15
1719046500: 1,0000000000e+02
1719046800: 1,0000000000e+02
1719047100: 1,0000000000e+02
1719047400: 1,0000000000e+02
1719047700: 1,0000000000e+02
1719048000: 1,0000000000e+02
1719048300: 1,0000000000e+02
1719048600: 1,0000000000e+02
1719048900: -nan
1719049200: -nan
1719049500: -nan
1719049800: -nan
1719050100: 1,0000000000e+02
1719050400: -nan
1719050700: -nan


> You might find log messages in xymond.log that help identify a
> problem. Also on the client, the xymonclient.log file might be worth
> a look.


ok i'll have a look, at first nothing, but i'll add verbosity for my
check "ups/bcharge" (the most easy to look, and the least important
history)


More information about the Xymon mailing list