[rrd-users] Possible to test for existence of a remote rrd file?

Steve Shipway s.shipway at auckland.ac.nz
Fri Mar 16 00:26:14 CET 2012


If you are using the trunk version of rrdcached, then you can do a remote info request.  I don’t believe this will work with the 1.4 stable version though.

[root at kaoru sysconfig]# export RRDCACHED_ADDRESS=mrtg.auckland.ac.nz
[root at kaoru sysconfig]# /u01/bin/rrdtool info foo.rrd
ERROR: rrdcached: No such file: /u01/rrdtool/foo.rrd.
[root at kaoru sysconfig]# /u01/bin/rrdtool info zmdbdev.its-load.rrd 
filename = "/u01/rrdtool/zmdbdev.its-load.rrd"
rrd_version = "0003"
step = 300
last_update = 1331853826
header_size = 2764


Steve


Steve Shipway
ITS Unix Services Design Lead
University of Auckland, New Zealand
Floor 1, 58 Symonds Street, Auckland
Phone: +64 (0)9 3737599 ext 86487
DDI: +64 (0)9 924 6487
Mobile: +64 (0)21 753 189
Email: s.shipway at auckland.ac.nz
 Please consider the environment before printing this e-mail 



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 6080 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/rrd-users/attachments/20120315/c971c648/attachment.bin 


More information about the rrd-users mailing list