[drraw-users] start/end time on a DEF

Cattell, Michael Michael.Cattell at sig.com
Mon Aug 11 22:23:17 MDT 2008


Good morning,

I've been using drraw for some time now and find it a very useful companion to Gangila and other rrd related data.
Of late, I've been writing some custome rrd graphs that use SHIFT so that I can compare a few day's worth of data for one data source overlaid.

This is particularly nice if you want to see what yesterday's CPU or I/O is like compared to today.

Here is an example of how I typically do it.  This is an example I copied from the internet, but the syntax is correct.



rrdtool graph day_c.png \

        --end midnight \

        --start end-86400 \

        --upper-limit 400000 \

        --lower-limit -100000 \

        DEF:a=test.rrd:ds0:AVERAGE \

        DEF:b=test.rrd:ds0:AVERAGE:start=end-86400:end=midnight-86400 \

        LINE:a\#00CC00:a \

        LINE:200000 \

        SHIFT:b:86400 \

        LINE:b\#FF0000:b:STACK

With 2.2a5, there's SHIFT and that's way cool.  However, I have been able to figure out how to pull off the start/end times that are on the DEF and that seems like the only way to make sure the SHIFT shows data after the offset is in effect.

Any ideas on how I can do this with DRRAW?

BTW - love the Orange.

________________________________
IMPORTANT: The information contained in this email and/or its attachments is confidential. If you are not the intended recipient, please notify the sender immediately by reply and immediately delete this message and all its attachments. Any review, use, reproduction, disclosure or dissemination of this message or any attachment by an unintended recipient is strictly prohibited. Neither this message nor any attachment is intended as or should be construed as an offer, solicitation or recommendation to buy or sell any security or other financial instrument. Neither the sender, his or her employer nor any of their respective affiliates makes any warranties as to the completeness or accuracy of any of the information contained herein or that this message or any of its attachments is free of viruses.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.taranis.org/pipermail/drraw-users_lists.taranis.org/attachments/20080812/2c91b7c0/attachment.html>


More information about the drraw-users mailing list