Hi,
For what's worth, my 2 cents ....
I have created 6 rrd's which contain the # of active users on a rf-antenna. The
graph is generated by a cgi which extracts the last info (most important to us
to indicate if an antenna serves users) and stacks all the data.
The total is generated by adding the values and displayed at the bottom.
(nb this is not the complete rrdgraph statement )
hth
paul
*speaking for himself
"DEF:input1=$RRD1:input:LAST",
"DEF:input2=$RRD2:input:LAST",
"DEF:input3=$RRD3:input:LAST",
"DEF:input4=$RRD4:input:LAST",
"DEF:input5=$RRD5:input:LAST",
"DEF:input6=$RRD6:input:LAST",
"CDEF:total=input1,input2,+,input3,+,input4,+,input5,+,input6,+",
"AREA:input1#0000FF:ac1 usage",
"GPRINT:input1:LAST: (%2.0lf)",
"STACK:input2#00FFF0:ac2 usage",
"GPRINT:input2:LAST: (%2.0lf)",
"STACK:input3#0FFF00:ac3 usage",
"GPRINT:input3:LAST: (%2.0lf)",
"COMMENT:\\n",
"STACK:input4#FFF000:ac4 usage",
"GPRINT:input4:LAST: (%2.0lf)",
"STACK:input5#FF000F:ac5 usage",
"GPRINT:input5:LAST: (%2.0lf)",
"STACK:input6#000AAA:ac6 usage",
"GPRINT:input6:LAST: (%2.0lf)",
"COMMENT:\\n",
"COMMENT:Start : $startprint",
"GPRINT:total:LAST:total (%2.0lf)", <<<<<<<<<<<<<<<<<<< total
--
Unsubscribe mailto:[EMAIL PROTECTED]
Help mailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi