Re: [rrd-users] Adding aberrant detection to existing RRD files

This is a discussion on Re: [rrd-users] Adding aberrant detection to existing RRD files within the RRD Users forums, part of the Networking and Network Related category; Livio Zanol Puppim wrote: > Your calc is wrong... After subtracting the old step from the new one, > rrdtool ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-28-2007
Eduardo M. Bragatto
 
Posts: n/a
Default Re: [rrd-users] Adding aberrant detection to existing RRD files

Livio Zanol Puppim wrote:

> Your calc is wrong... After subtracting the old step from the new one,
> rrdtool makes a division with the step number used in the "rrdtool
> create" command, to get the bps(bits per second) rating... This is used
> if the COUNTER DS type was used in the create step, so after getting the
> "OID counter" (74335473981897) you need to multiply by 300 to get the
> value that you want. To get RRDTool to not make the division you need to
> use ABSOLUTE, but then, you will have only BITS as the unit


After Bitman gave me the tip for the rrd_hwreapply I compared my code to
that and realized the value recorded by COUNTER should be multiplied by
step, which made a lot of sense and made me feel dumb. :-)

BTW, rrd_hwreapply only worked for me because I wanted only the RRA with
1 step resolution. Be aware that any other RRA with more than 1 data
point per row (in my case, 5min step sample), will be stripped out after
"conversion". That script works in a completely different way than MRTG
when converting from rateup to rrd (which preserves all RRAs).

The idea behind rrd_hwreapply is to allow you to experiment different
parameters on the same data sample, which helps a lot when tunning the
aberrant behavior detection for certain graphs.

Now, my new question is: is there a way to insert values directly into
specific RRAs that have more than 1 PDP per row? In better english: is
there a way to insert a value directly into the "weekly resolution" RRA?

I said in the beginning I did not need to preserve data that old, but
I'd like to it if I could. ;-)

[]s
Eduardo.

_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
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 05:03 AM.


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