[rrd-users] Handling VDEFs outside rrdtools

Tobias Oetiker tobi at oetiker.ch
Mon Oct 26 18:40:49 CET 2009

Hi Fredrik,

Today Fredrik Hansen wrote:

> Hi,
> Im using rrdtools to extrapolate and calculate trends for disk full prediction and the calc works as expected.
> I get nice graphs showing which date a certain disk is predicted to be at a certain usage level.
> Since the amount of rrd's is quite a lot ( around 2100 ),
> I need a smoother way to only get results/reports for the drives which have a full disk forecast in the near future. But that implies to have the calculated data scriptable, and I'm wondering if there is a way to run the calculations (LSL-based) and use the results external to rrdtool?
> One way could be to store the calculations in another rrd-file and then dump the contents from that to a handy script ?
> Another way possible is maybe to directly extract the values from the calculation and output to a script which could create an email alert or something like that.
> I'm out of ideas on how to proceed, ie to get data in a VDEF sent outside rrdtools world.
> Tips, ideas or rtfm hints are highly appreciated. :)

you can use PRINT to get VDEF results back out ...


Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900

More information about the rrd-users mailing list