Understanding row numbers

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
ddett
Posts: 1
Joined: Wed Dec 21, 2011 9:35 am

Understanding row numbers

Post by ddett »

I need to export data from cacti rra-files.
Obviously there is rrdtool xport function and even "export" button in cacti graphical interface, but I just don't understand how data is stored.

Here is example of export for 24 hours

Code: Select all

<xport>
  <meta>
    <start>1319587200</start>
    <step>86400</step>
    <end>1319673600</end>
    <rows>2</rows>
    <columns>1</columns>
    <legend>
      <entry></entry>
    </legend>
  </meta>
  <data>
    <row><t>1319587200</t><v>3.7787899306e+03</v></row>
    <row><t>1319673600</t><v>1.2360700832e-01</v></row>
  </data>
</xport>
Cacti graph shows me that traffic for this day is equal to something like 280MB.
How cacti does its calculation? How could I convert 3.7787899306e+03 to 280MB?

Maybe there is easier way than to parse raw data? I need to get amount of traffic that was downloaded by user in particular time range.
User avatar
TheWitness
Developer
Posts: 17080
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Understanding row numbers

Post by TheWitness »

True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 42 guests