Re: [cricket-users] [MRTG-DEV] Re: [cricket-users] Re: cartinha p/ lista cricket

From: Tobias Oetiker (oetiker@ee.ethz.ch)
Date: Wed May 05 1999 - 15:38:16 PDT


From: Tobias Oetiker <oetiker@ee.ethz.ch>

On Wed, 5 May 1999, Steen Linden wrote:

>
> On Wed, 5 May 1999, Tobias Oetiker wrote:
> > can you provide an ebine-inc.rrd file and an absolute --start parameter
> > which shows the problem ? The rrd should have been created either on a
> > solaris sparc or on a linux intel box ...
>
> Hi Tobi,
>
> I turned off cricket updates and ran the following command every minute
> for 20 minutes (13:56-14:16) in order to isolate cricket out of the test.
>
> /usr/local/bin/rrdtool graph out.gif --base 1024 --start -151200 \
> --vertical-label 'bits per second' --width 500 --height 200 \
> DEF:ds0=/usr/users/sl/cricket-data/hqgw/ebone-inc.rrd:ds0:AVERAGE \
> DEF:ds1=/usr/users/sl/cricket-data/hqgw/ebone-inc.rrd:ds1:AVERAGE \
> CDEF:sds0='ds0,8,*' \
> CDEF:sds1='ds1,8,*' \
> AREA:sds0#00cc00:'Average bits in' \
> LINE1:sds1#0000ff:'Average bytes out' \
> VRULE:925855200#ff0000: VRULE:925768800#ff0000:
>
> Sometimes it produces the right graph sometimes it doesn't.
>
> The problem was not present when running rrdtool between minutes 00-05 and
> 10-15. But between 56-00, 05-10, 15-16 it didn't work out. (see
> http://serv.ebone.net/~sl/out.html).
> So it looks like a periodic problem every 5 minutes.

OK, I have now tested it with a little script:

#!/usr/bin/perl
$start = 925905000;
my $name = "out000";
for $x (1..12){
$name++;
$s= $start-151200+$x*60;
$e= $start+$x*60;
print localtime($e)."\n";
system "../src/rrdtool graph $name.gif --base 1024 --start $s --end $e ".
"--vertical-label 'bits per second' --width 500 --height 200 ".
"DEF:ds0=ebone-inc.rrd:ds0:AVERAGE ".
"DEF:ds1=ebone-inc.rrd:ds1:AVERAGE ".
"CDEF:sds0='ds0,8,*' ".
"CDEF:sds1='ds1,8,*' ".
"AREA:sds0#00cc00:'Average bits in' ".
"LINE1:sds1#0000ff:'Average bytes out' ".
"VRULE:925855200#ff0000: VRULE:925768800#ff0000: ".
"COMMENT:'".localtime($e)."'\\\\j"}

unfortunately I was not able to reproduce your problem ... all graphs
showed nicely ...

could you very fy that my testscript produced the 'desired' result on
your machine ...

cheers
tobi
r

------------------------------------------------------------------------
Did you know that
http://www.ONElist.com
More than 3.5 million people are using ONElist?



This archive was generated by hypermail 2b29 : Mon Mar 06 2000 - 19:00:48 PST