You could instead use rrdinfo to get the last_update timestamp.  The
starting timestamp for the "month" RRA can then be computed.  Using
the default RRA definitions, it should be something like:

   last_updated - 2459520   (=15*244*672)


On Tue, Jul 27, 2010 at 15:32, Stevens, Weston J
<[email protected]> wrote:
> Say for default Ganglia for example I wanted to grab the first and last 
> timestamps for the month RRA so I can run a bounds check on begin/end time 
> inputs. Ideally I'd like to get all this information by simply specifying the 
> RRD granularity in seconds, without having to also specify the length of the 
> RRD to get the last timestamp in a command line. Using rrdtool dump, what 
> would be a good regex or anything else like Perl XML support that could do 
> this for me? Or a completely different and better way to do it?
>
>
>
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://ad.doubleclick.net/clk;226879339;13503038;l?
> http://clk.atdmt.com/CRS/go/247765532/direct/01/
> _______________________________________________
> Ganglia-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ganglia-general
>



-- 
Jesse Becker
Every cloud has a silver lining, except for the mushroom-shaped ones,
which come lined with strontium-90.

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to