[rrd-users] add upper and lower limit lines?
Rob Newman
rlnewman at ucsd.edu
Mon Oct 23 23:50:25 MEST 2006
Hi RRD users,
In one of my RRD graphs I would like to draw lines of maximum and
minimum valid value. I have a gauge variable that varies greatly, and
I want to add a maximum line at +40, and a minimum line at -40. This
way, anyone who looks at the graph can see if the value plotted from
the archive is valid or not. I know I can do this with RRD. From the
documentation (http://oss.oetiker.ch/rrdtool/doc/
rrdgraph_rpn.en.html) I see that I can define a VDEF expression.
Could someone please give me an example of how I would define this
expression to give the lines that I need? This does not seem to work:
DEF:ds1=/path/to/myrrd.rrd:mass:AVERAGE
LINE1:ds1#000000:"mass position"
VDEF:limits=ds1,-40,40,LIMIT
LINE1:limits#333333:"Limits"
Thanks in advance,
- Rob
--
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://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the rrd-users
mailing list