[rrd-users] How can i get <last_ds> counter value from rrd file?
Benny Baumann
BenBE at geshi.org
Thu Oct 1 16:20:22 CEST 2009
Hi,
Am 01.10.2009 12:12, schrieb jayashree:
> Hi,
>
> I am interested in getting the counter value stored in <last_ds> in the rrd
> file. Any rrd function which can help me?
>
rrd_info, rrd_lastupdate, in extreme cases even rrd_dump.
> The idea is, i dont have response from the router at a certain point and I
> want to log a zero in my graph. So to achieve this, I am trying to get the
> last counter value stored in <last_ds> in my rrd file. If there is a better
> way to handle this problem of updating my rrd file with a '0' when i dont
> have response from the device, please let me know.
>
A much better ay to do this would be having rrd_tool handle this and
"fixing" those unknown values when graphing or fetching data. There are
many examples on how to do this on the RRD homepage.
> Thanks,
> jayashree
>
Regards,
BenBE.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
Url : http://lists.oetiker.ch/pipermail/rrd-users/attachments/20091001/fe3c21ca/attachment.pgp
More information about the rrd-users
mailing list