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; --===============1716425522== Content-Type: multipart/alternative; boundary="----=_Part_701_26407808.1196208452068" ------=_Part_701_26407808.1196208452068 Content-Type: text/plain; charset=ISO-8859-1 ...


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
Livio Zanol Puppim
 
Posts: n/a
Default Re: [rrd-users] Adding aberrant detection to existing RRD files

--===============1716425522==
Content-Type: multipart/alternative;
boundary="----=_Part_701_26407808.1196208452068"

------=_Part_701_26407808.1196208452068
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hello Bragatto!

Well,
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 measured.

So:
74335473981897 - 74335472553937 =3D 1427960
1427960/300(step) =3D 4759,86666... (the value you wanted)

But, you 've already got a solution from Kiss Gabor...

[]'s
Cheers,
L=EDvio Zanol Puppim.

ps.: To querendo pegar umas equa=E7=F5es de estat=EDsticas loucas e aplicar=
ao
rrd, por=E9m somente quando o gr=E1fico for solicitado, assim eu posso ter
qualquer tipo de c=E1lculo estat=EDstico nos meus dados, sem impactar de fo=
rma
absurda a m=E1quina, por=E9m como to com 500 coisas pra fazer vai ficar pra=
mais
tarde... :)

2007/11/23, Kiss Gabor (Bitman) <kissg@ssg.ki.iif.hu>:
>
> > My problem is that I do not want to lose my past data by simply creatin=

g
> > new rrd files and using them without my past data.

>
> "rrd_hwreapply" script (by Stanislav Sinyagin) is your friend. :-)
> http://rrfw.sourceforge.net/rrdman/
>
> Gabor
>
> _______________________________________________
> rrd-users mailing list
> rrd-users@lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
>


------=_Part_701_26407808.1196208452068
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<div>Hello Bragatto!</div>
<div>&nbsp;</div>
<div>Well,</div>
<div>Your calc is wrong... After subtracting the old step from the new one,=
rrdtool makes a division&nbsp;with the step number used in the &quot;rrdto=
ol create&quot; command, to get the bps(bits per second)&nbsp;rating... Thi=
s is used if the COUNTER DS type was used in the create step, so after gett=
ing the &quot;OID counter&quot; (74335473981897) you need to multiply by 30=
0 to get the value that you want. To get RRDTool to not make the division y=
ou need to use ABSOLUTE, but then, you will have only BITS as the unit meas=
ured.
</div>
<div>&nbsp;</div>
<div>So:</div>
<div>74335473981897 - 74335472553937 =3D 1427960</div>
<div>1427960/300(step) =3D 4759,86666... (the value you wanted)<br>&nbsp;</=
div>
<div>But, you 've already got a solution from Kiss Gabor...</div>
<div>&nbsp;</div>
<div>[]'s </div>
<div>Cheers,</div>
<div>L=EDvio Zanol Puppim.<br>&nbsp;</div>
<div>ps.: To querendo pegar umas equa=E7=F5es de estat=EDsticas loucas e ap=
licar ao rrd, por=E9m somente quando o gr=E1fico for solicitado, assim eu p=
osso ter qualquer tipo de c=E1lculo estat=EDstico nos meus dados, sem impac=
tar de forma absurda a m=E1quina, por=E9m como to com 500 coisas pra fazer =
vai ficar pra mais tarde... :)
<br>&nbsp;</div>
<div><span class=3D"gmail_quote">2007/11/23, Kiss Gabor (Bitman) &lt;<a hre=
f=3D"mailto:kissg@ssg.ki.iif.hu">kissg@ssg.ki.iif. hu</a>&gt;:</span>
<blockquote class=3D"gmail_quote" style=3D"PADDING-LEFT: 1ex; MARGIN: 0px 0=
px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">&gt; My problem is that I do not=
want to lose my past data by simply creating<br>&gt; new rrd files and usi=
ng them without my past data.
<br><br>&quot;rrd_hwreapply&quot; script (by Stanislav Sinyagin) is your fr=
iend. :-)<br><a href=3D"http://rrfw.sourceforge.net/rrdman/">http://rrfw.so=
urceforge.net/rrdman/</a><br><br>Gabor<br><br>___________________________ __=
__________________
<br>rrd-users mailing list<br><a href=3D"mailto:rrd-users@lists.oetiker.ch"=
>rrd-users@lists.oetiker.ch</a><br><a href=3D"https://lists.oetiker.ch/cgi-=

bin/listinfo/rrd-users">https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
</a><br></blockquote></div><br>

------=_Part_701_26407808.1196208452068--


--===============1716425522==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

--===============1716425522==--

Reply With Quote
Reply


Thread Tools
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

vB 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 11:16 AM.


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