[rrd-users] How can I get the accurate data from the graph by rrdtool?

Chunjing Han chjhan at cstnet.cn
Tue Aug 29 08:06:00 MEST 2006

hi ,all:
    I have used the Smokeping to get the graph of network delay and loss package rate. the graphs include daily  ,month and year rrdtool picture. In the rrdtool graph , the max and average data of ping are listed at the bottom of the picture .But I found that the max ping in the month graph is lower than the daily graph. moreover,the max ping in the year graph is lower than the monthly graph. Because the different max ping and the importance of the max ping ,I can't show the graph to explain the network trend. 
    How can I get the accurate data from the graph by rrdtool? 
the following is my rrdtool graph function:

'--start',( $mode eq 's' ? '-'.$start : $start),
'--color', 'SHADEA#ffffff',
'--color', 'SHADEB#ffffff',
'--color', 'BACK#ffffff',
'--color', 'CANVAS#ffffff',
'--color', 'FONT#003399',
'--color', 'GRID#3987D8',
'--color', 'MGRID#3987D8',
'GPRINT:median:AVERAGE:Median Ping RTT (%.1lf %ss avg)',
'GPRINT:median:MAX:Max Ping RTT (%.1lf %ss max)',
'GPRINT:ploss:AVERAGE:Packet Loss\: %.1lf %% average',
'GPRINT:ploss:MAX:%.1lf %% maximum',
'GPRINT:ploss:LAST:%.1lf %% current\l',

'COMMENT:Probe: 5 ICMP Echo Pings (56 Bytes) every 240 seconds',
'COMMENT:created on '.$date.'\j'

my ($graphret,$xs,$ys) = RRDs::graph @task;
my $ERROR = RRDs::error();


¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Chunjing Han

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡chjhan at cstnet.cn
-- Attached file removed by Ecartis and put at URL below --
-- Type: application/octet-stream
-- Size: 309 bytes
-- URL : http://lists.ee.ethz.ch/p/02-Chunjing%20Han.VCF

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