Given the following script (rrdtool 1.2.11):
rrdtool graph /dev/null --start=end-2592000 --width=500 \
DEF:a=01-06-04-01.rrd:admin_uptime:AVERAGE \
DEF:b=01-06-04-02.rrd:admin_uptime:AVERAGE \
DEF:c=01-06-04-03.rrd:admin_uptime:AVERAGE \
CDEF:avg=a,b,+,c,+,3,/ \
VDEF:tot_avg=avg,AVERAGE \
PRINT:tot_avg:"average uptime %9.6lf"
rrdtool graph /dev/null --start=end-2592000 \
DEF:a=01-06-04-01.rrd:admin_uptime:AVERAGE \
DEF:b=01-06-04-02.rrd:admin_uptime:AVERAGE \
DEF:c=01-06-04-03.rrd:admin_uptime:AVERAGE \
CDEF:avg=a,b,+,c,+,3,/ \
VDEF:tot_avg=avg,AVERAGE \
PRINT:tot_avg:"average uptime %9.6lf"
I get the following output:
0x0
average uptime 99.988461
0x0
average uptime 99.988453
Note that the only thing different above is --width. Is this a feature or
a bug? :-) Sorry, I didn't have time to research this further, just
thought someone on the list might know right away.
Grisha
--
Unsubscribe mailto:[EMAIL PROTECTED]
Help mailto:[EMAIL PROTECTED]
Archive http://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi