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; --===============2139747583== Content-Type: multipart/alternative; boundary="----=_Part_712_21578637.1196208760737" ------=_Part_712_21578637.1196208760737 Content-Type: text/plain; charset=ISO-8859-1 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============2139747583==
Content-Type: multipart/alternative; boundary="----=_Part_712_21578637.1196208760737" ------=_Part_712_21578637.1196208760737 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Errata: 74335473981897 - 74335472553937 =3D 1427960 1427960/300(step) =3D 4759,86666... (the value you've *got*) ----------------------------------------------------- 74335473981897*300 - 74335472553937*300 =3D (74335473981897 - 74335472553937)*300/300(step) =3D 1427960 2007/11/27, Livio Zanol Puppim <livio.zanol.puppim@gmail.com>: > > 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 th= at > you want. To get RRDTool to not make the division you need to use ABSOLUT= E, > 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 aplic= ar ao > rrd, por=E9m somente quando o gr=E1fico for solicitado, assim eu posso te= r > qualquer tipo de c=E1lculo estat=EDstico nos meus dados, sem impactar de = forma > absurda a m=E1quina, por=E9m como to com 500 coisas pra fazer vai ficar p= ra 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 > > creating > > > 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_712_21578637.1196208760737 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline <div>Errata:</div> <div> </div> <div> <div>74335473981897 - 74335472553937 =3D 1427960</div> <div>1427960/300(step) =3D 4759,86666... (the value you've <strong>got<= /strong>)</div> <div> </div> <div>-----------------------------------------------------</div> <div> </div> <div>74335473981897*300 - 74335472553937*300 =3D (74335473981897 - 74335472= 553937)*300/300(step) =3D 1427960</div> <div> </div></div> <div><br><br> </div> <div><span class=3D"gmail_quote">2007/11/27, Livio Zanol Puppim <<a href= =3D"mailto:livio.zanol.puppim@gmail.com">livio.zan ol.puppim@gmail.com</a>&g= t;:</span> <blockquote class=3D"gmail_quote" style=3D"PADDING-LEFT: 1ex; MARGIN: 0px 0= px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"> <div>Hello Bragatto!</div> <div> </div> <div>Well,</div> <div>Your calc is wrong... After subtracting the old step from the new one,= rrdtool makes a division with the step number used in the "rrdto= ol create" command, to get the bps(bits per second) rating... Thi= s is used if the COUNTER DS type was used in the create step, so after gett= ing the "OID counter" (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.=20 </div> <div> </div> <div>So:</div> <div>74335473981897 - 74335472553937 =3D 1427960</div> <div>1427960/300(step) =3D 4759,86666... (the value you wanted)<br> </= div> <div>But, you 've already got a solution from Kiss Gabor...</div> <div> </div> <div>[]'s </div> <div>Cheers,</div> <div>L=EDvio Zanol Puppim.<br> </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... :)=20 <br> </div> <div><span class=3D"gmail_quote">2007/11/23, Kiss Gabor (Bitman) <<a onc= lick=3D"return top.js.OpenExtLink(window,event,this)" href=3D"mailto:kissg@= ssg.ki.iif.hu" target=3D"_blank">kissg@ssg.ki.iif.hu</a>>:</span>=20 <div><span class=3D"e" id=3D"q_116839470234312f_1"> <blockquote class=3D"gmail_quote" style=3D"PADDING-LEFT: 1ex; MARGIN: 0px 0= px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">> My problem is that I do not= want to lose my past data by simply creating<br>> new rrd files and usi= ng them without my past data.=20 <br><br>"rrd_hwreapply" script (by Stanislav Sinyagin) is your fr= iend. :-)<br><a onclick=3D"return top.js.OpenExtLink(window,event,this)" hr= ef=3D"http://rrfw.sourceforge.net/rrdman/" target=3D"_blank">http://rrfw.so= urceforge.net/rrdman/ </a><br><br>Gabor<br><br>___________________________ ____________________ <b= r>rrd-users mailing list<br><a onclick=3D"return top.js.OpenExtLink(window,= event,this)" href=3D"mailto:rrd-users@lists.oetiker.ch" target=3D"_blank">r= rd-users@lists.oetiker.ch </a><br><a onclick=3D"return top.js.OpenExtLink(window,event,this)" href=3D= "https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users" target=3D"_blank">htt= ps://lists.oetiker.ch/cgi-bin/listinfo/rrd-users </a><br></blockquote></spa= n> </div></div><br></blockquote></div><br> ------=_Part_712_21578637.1196208760737-- --===============2139747583== 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 --===============2139747583==-- |