[rrd-users] recreate create command

Karl Fischer rrd-users at ficos.de
Thu Mar 24 19:31:17 CET 2011


Am 24.03.2011 15:18, schrieb David OBrien:
> Is there a way to get the create statement used to create the rrd?
> 
> If not can we have something Like
> 
> rrdtool showcreate eth0.rrd

David,

this doesn't seem to exist and I stumbled over the same requirement
a few years ago and back then I hacked up a little bash script which
does exactly that - using the output from rrdtool info.

It doesn't support the full rrd create syntax - especially support
for the COMPUTE DS-type and the Aberrant Behavior Detection has
been left out because it was more complex to add and I don't need it.
Feel free to add the missing functionality if you want.

The script is attached for everybodies convenience.
(if it makes it through the mailing list)
Of course it is provided as-is and with no support.
Use on your own risk.

- Karl


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: showcreate.sh
Url: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20110324/74de0b45/attachment.txt 


More information about the rrd-users mailing list