[rrd-users] Graph Error ?

This is a discussion on [rrd-users] Graph Error ? within the RRD Users forums, part of the Networking and Network Related category; Hello , I have made the folowing graph: /usr/local/rrdtool/bin/rrdtool graph - \ --imgformat=PNG \ --start=-86400 \ --end=-300 \ --title=&...


Go Back   Usenet Forums > Networking and Network Related > RRD Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-05-2006
ICALLING
 
Posts: n/a
Default [rrd-users] Graph Error ?

Hello ,
I have made the folowing graph:

/usr/local/rrdtool/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="SoftSwitch - Total Trafic Per Operator" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="NrOffCallsPerOperator" \
--slope-mode \
DEF:a="/var/www/cacti-0.8.6i/rra/softswitch_snmp_oid1_all_142.rrd":snmp_oid:AVERAGE
\
DEF:b="/var/www/cacti-0.8.6i/rra/softswitch_snmp_oid_60.rrd":snmp_oid:AVERAGE
\
DEF:c="/var/www/cacti-0.8.6i/rra/softswitch_snmp_oid_183.rrd":snmp_oid:AVERAGE
\
DEF:d="/var/www/cacti-0.8.6i/rra/softswitch_snmp_oid_66.rrd":snmp_oid:AVERAGE
\
CDEF:cdefca=TIME,1165299244,GT,a,a,UN,0,a,IF,IF,TI ME,1165299244,GT,b,b,UN,0,b,IF,IF,TIME,1165299244, GT,c,c,UN,0,c,IF,IF,TIME,1165299244,GT,d,d,UN,0,d, IF,IF,+,+,+
\
AREA:a#DE0056:"OP1 \:" \
GPRINT:a:LAST:"Current\:%2.0lf%S" \
GPRINT:a:MIN:"Min\:%2.0lf%S" \
GPRINT:a:MAX:"Max\:%2.0lf%S" \
GPRINT:a:AVERAGE:"Average\:%2.0lf%S\n" \
LINE2:b#7EE600:"OP2\:" \
GPRINT:b:LAST:" Current\:%2.0lf%S" \
GPRINT:b:MIN:"Min\:%2.0lf%S" \
GPRINT:b:MAX:"Max\:%2.0lf%S" \
GPRINT:b:AVERAGE:"Average\:%2.0lf%S\n" \
LINE2:c#F9FD5F:"OP3\:" \
GPRINT:c:LAST:" Current\:%2.0lf%S" \
GPRINT:c:MIN:"Min\:%2.0lf%S" \
GPRINT:c:MAX:"Max\:%2.0lf%S" \
GPRINT:c:AVERAGE:"Average\:%2.0lf%S\n" \
LINE2:d#002A8F:"OP4\:" \
GPRINT:d:LAST:" Current\:%2.0lf%S" \
GPRINT:d:MIN:"Min\:%2.0lf%S" \
GPRINT:d:MAX:"Max\:%2.0lf%S" \
GPRINT:d:AVERAGE:"Average\:%2.0lf%S\n" \
GPRINT:cdefca:LAST:"Current\:%8.0lf\n" \
GPRINT:cdefca:AVERAGE:"Average\:%8.0lf\n" \
GPRINT:cdefca:MAX:"Maximum\:%8.0lf\n"

The image displayed is ok, except the fact that the sum for maximum is
wrong. Where i is the mistake ?






--
Alex Mitrus
Voip Integrator



-- Attached file removed by Ecartis and put at URL below --
-- Type: image/bmp
-- Size: 495k (507190 bytes)
-- URL : http://lists.ee.ethz.ch/p/untitled.bmp


--
Unsubscribe mailto:rrd-users-request@list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request@list.ee.ethz.ch?subject=help
Archive http://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:33 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0