[rrd-users] Question on RRD fetch/graph time specifications

Clifton Royston cliftonr at lava.net
Wed Dec 13 01:16:03 MET 2000


  I have been writing some Perl utilities to retrieve data in a "batch"
mode from input lists of RRD files.  I'm using them to retrieve monthly
summary figures like average percent utilization for our links,
calculate total number of bytes transferred across a WAN link, etc. by
calling RRDs::graph or RRDs::fetch inside the Perl script.

  While doing this, I ran into a question about how to define the
monthly boundaries: I know RRD logs data in terms of UTC.

  But when you specify a time range to the "graph" or "fetch" modules,
like:

  -s 11/1/2000 -e 12/1/2000

  does RRD interpret the dates and times given on the command line in
terms of UTC, or does it interpret them as local times?  I'd like to
calculate monthly intervals running from midnight to midnight local
time, but I need to know if I should offset them by 10 hours to UTC.  I
couldn't find this in the documentation.
  -- Clifton

-- 
 Clifton Royston  --  LavaNet Systems Architect --  cliftonr at lava.net
      The named which can be named is not the Eternal named.


--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list