[rrd-users] Aggerate graph from multiple file rrd
Paolo-Fastweb
prossi at skylogic.it
Sat Nov 4 12:55:28 MET 2006
Hi guys,
I need to aggregate 500 or more rrd file to display unique cumulative
bandwidth graph report . ( on a Solaris SunO 5.8 Generic_108528-13 sun4u
sparc SUNW,Sun-Fire-280R)
I try in this way, but seems to be some errors (overflow on cdeout and
cdein variables?)
foreach $file (@files)
{
push @DEF,
join(':','DEF','a'.$count.'='.$dir."/$ip",'otot_bytes','AVERAGE');
push @DEF,
join(':','DEF','b'.$count.'='.$dir."/$ip",'itot_bytes','AVERAGE');
if ($count == 0 )
{
$cdefout="a0,UN,0,a0,IF";
$cdefin="b0,UN,0,b0,IF";
}
else
{
$cdefout.=",a".$count.","."UN,0".",a".$count.",IF,+";
$cdefin.=",b".$count.","."UN,0".",b".$count.",IF,+";
}
$count++;
}
Can someone help me?
Best Regards
Paolo
--
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