[rrd-users] Re: traffic peak

Diaz Freire, Alberto adiazf at mundo-R.net
Wed Jun 4 16:39:56 MEST 2003


	Hi Alex, Thank you.

	I have changed to database with type DERIVE in stead of COUNTER with
"rrdtool tune " and I have not had problems, but when a data is insert
automatically into the data base (.rrd)  happens that the type is counter
again automatically

	#./rrdtool tune demoing.rrd
	DS[ds0] typ: COUNTER    hbt: 600        min: 0.0000     max:
12500000.0000
	DS[ds1] typ: COUNTER    hbt: 600        min: 0.0000     max:
12500000.0000  

	change the type with 
	# ./rrdtool tune demoing.rrd --data-source-type ds0:DERIVE  
	# ./rrdtool tune demoing.rrd --data-source-type ds1:DERIVE  

	# ./rrdtool tune demoing.rrd
	DS[ds0] typ: DERIVE     hbt: 600        min: 0.0000     max:
12500000.0000
	DS[ds1] typ: DERIVE     hbt: 600        min: 0.0000     max:
12500000.0000  
	
	insert a data and ....

	#./rrdtool tune demoing.rrd
	DS[ds0] typ: COUNTER    hbt: 600        min: 0.0000     max:
12500000.0000
	DS[ds1] typ: COUNTER    hbt: 600        min: 0.0000     max:
12500000.0000  

	Same idea to force the type to Derive.

	Thanks you very much.

	Alberto
	

> -----Mensaje original-----
> De:	Alex van den Bogaerdt [SMTP:alex at ergens.op.het.net]
> Enviado el:	martes 27 de mayo de 2003 14:11
> Para:	'rrd-users at list.ee.ethz.ch'
> Asunto:	[rrd-users] Re: traffic peak
> 
> On Tue, May 27, 2003 at 01:23:19PM +0200, Diaz Freire, Alberto wrote:
> 
> >
> http://groups.google.com/groups?q=alex+rrdtool+derive+negative&hl=es&lr=&i
> e=
> > UTF-8&selm=b8706d%242ccg%241%40FreeBSD.csie.NCTU.edu.tw&rnum=1
> > 	
> >
> http://groups.google.com/groups?q=alex+rrdtool+derive+negative&hl=es&lr=&i
> e=
> > UTF-8&selm=9lmq9j%24243g%241%40FreeBSD.csie.NCTU.edu.tw&rnum=2
> > 	and I have read your documentation 
> > 		http://www.rrdtool.com/tutorial/rrdtutorial.html
> > 		
> > 	but still I do not know like solving my problem.
> 
> 
> ?
> 
> I think you found the right articles.  If you don't get it you should
> ask more specific questions as I am unable to explain it in yet another
> way.
> 
> > 		I do not know where and how I can use DERIVE and I wouldn't
> > like to create a new data base .rrd because it would lose all data of
> months
> 
> DERIVE is like COUNTER.  The first article you found explains.
> 
> A new database with type DERIVE in stead of COUNTER will help, however:
> 
> I am not entirely sure but I THINK you can alter your existing database
> using rrdtool tune; just change counter into derive and don't forget to
> set the minimum allowed rate to zero.
> >>>>>TRY THIS ON A COPY NOT ON THE LIVE DATABASE<<<<<
> 
> HTH
> Alex
> 
> --
> 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://www.ee.ethz.ch/~slist/rrd-users
> WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
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://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list