[rrd-users] Re: Damn,...

Tobias Oetiker oetiker at ee.ethz.ch
Wed Aug 25 16:04:04 MEST 1999


Today you sent me mail regarding [rrd-users] Damn,...:

*> Recently, one of our boxes went berserk and I have atypical data in the rrd
*> As this data is way out of whack I now wish to 'flatten' the event to something
*> much more sensible.
*> 
*> What I want to do it overwrite the data at that point in time with other values
*> and below I show what I'm up to,.. 
*> first off, the atypical data, followed by the attempt to modify the rrd in the past
*> 
*> The only other way I can think of doing this is to write out the rrd as a .xml,
*> pour sed through it, hoping that it doesn't stomp on anything else, and convert
*> the xml back to an rrd before the next update to the rrd
*> 
*> Am I overlooking something?

you are not, but in the pub/beta directory of the swiss rrdtool website there
is a patch for 1.0.6 which adds a feature to rrd-restore which alows you to
make sure that the values of a restored xmlk file are within MIN and MAX
limits ... otherwhise they get replaced by NaN

cheers
tobi

*> Phil
*> =--=
*> 
*> 
*> root at w3ign /home/htdocs/ign/lms/mail1# rrdtool update test.rrd 935286900:0.05:0.10:0.03:0.00:0.15
*> ERROR: illegal attempt to update using time 935286900 when last update time is 935509504 (minimum one second step)
*> root at w3ign /home/htdocs/ign/lms/mail1#  rrdtool fetch test.rrd LAST  -s 935286300 -e 935287800
*>             msgs_from   msgs_to  msgs_rej  msgs_dismsgs_total
*> 
*>  935286300:      0.05      0.10      0.03      0.00      0.15
*>  935286600:      0.06      0.08      0.04      0.00      0.14
*>  935286900:9491816.109490164.909501805.61      0.029480123.11
*>  935287200:4809611.534808772.284814673.33      0.034803686.56
*>  935287500:      0.02      0.02      0.02      0.02      0.02
*>  935287800:      0.02      0.02      0.02      0.02      0.02
*>  935288100:      0.03      0.03      0.03      0.03      0.03
*>  935288400:7110556.897110556.897110556.897110556.897110556.89
*>  935288700:7206000.607206000.607206000.607206000.607206000.60
*>  935289000:      0.02      0.02      0.02      0.02      0.02
*>  935289300:  14831.89  17270.82     77.54      0.01  32102.70
*>  935289600:    298.68    347.82      1.59      0.00    646.50
*>  935289900:      0.04      0.04      0.04      0.00      0.08
*>  935290200:      0.05      0.12      0.03      0.00      0.17
*>  935290500:      0.05      0.06      0.04      0.00      0.11
*> 
*> root at w3ign /home/htdocs/ign/lms/mail1# rrdtool update test.rrd 935286900:0.05:0.10:0.03:0.00:0.15
*> ERROR: illegal attempt to update using time 935286900 when last update time is 935509504 (minimum one second step)
*> 
*> --
*> * To unsubscribe from the rrd-users mailing list, send a message with the
*>   subject: unsubscribe to rrd-users-request at list.ee.ethz.ch
*> 
*> 

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
 / // _ \/ _ \/ / TEL: +41(0)1-6325286  FAX:...1517  ICQ: 10419518 
/_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://ee-staff.ethz.ch/~oetiker

--
* To unsubscribe from the rrd-users mailing list, send a message with the
  subject: unsubscribe to rrd-users-request at list.ee.ethz.ch



More information about the rrd-users mailing list