[rrd-users] Help in RRD XPORT
s.shipway at auckland.ac.nz
Thu Mar 26 23:18:44 CET 2015
Set up an additional CDEF.
XPORT:customvar:"Temp" >> /home/temp/abc.xml
Now you'll get a column with '12345' in it next to the outoctets column.
Note that you need the 'out,POP' to make customvar a time series, although you throw away the original 'out' value. You can't just use 'CDEF:customvar=12345'.
University of Auckland ITS
UNIX Systems Design Lead
s.shipway at auckland.ac.nz<mailto:s.shipway at auckland.ac.nz>
Ph: +64 9 373 7599 ext 86487
From: rrd-users [rrd-users-bounces+s.shipway=auckland.ac.nz at lists.oetiker.ch] on behalf of Utpal Bora [cs14mtech11017 at iith.ac.in]
Sent: Friday, 27 March 2015 3:57 a.m.
To: rrd-users at lists.oetiker.ch
Subject: [rrd-users] Help in RRD XPORT
I am working on a Network Visualization project using RRDTool for my graduate course on Network Engineering.
I want to use the export feature of RRDtool to create an XML where I want to add some hard coded values(DS not in RRD) to the xml.
However, I could not find a solution as of yet.
Please assist me on this.
What I am trying to do -
rrdtool xport \
XPORT:out:"out bytes" >> /home/temp/abc.xml
XPORT:"SOME_CUSTOM_VALUE":"Temp" >> /home/temp/abc.xml
Here I want to append SOME_CUSTOM_VALUE to the output xml, which I am not able to do as SOME_CUSTOM_VALUE is not present in the database.
M. Tech 1st year
Computer Science & Engineering
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rrd-users