This is a discussion on Re: [rrd-users] Reversed values within the RRD Users forums, part of the Networking and Network Related category; --===============0121848689== Content-Type: multipart/alternative; boundary="----=_Part_8603_23298025.1196695551051" ------=_Part_8603_23298025.1196695551051 Content-Type: text/plain; charset=ISO-8859-1 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============0121848689==
Content-Type: multipart/alternative; boundary="----=_Part_8603_23298025.1196695551051" ------=_Part_8603_23298025.1196695551051 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Andy, You are right, I was not sure if it was a specific issue or general given RRDtools. I posted parts of the script you referenced in your reply below. I have run different values and tried reading up on RRD to understand it better, given the specific database I am trying to create. This is more or less a project that I was thrown into head first and I am still trying to understand everything related to RRD. If you see anything specific regarding the data below please tell me what might be wrong. ************************************************** **************************** rrdtool create $rrd_dir/usr.rrd -s 86400 \ DS:alpha:DERIVE:172800:U:U DS:delta:DERIVE:172800:U:U DS:eta:DERIVE:172800:U:U DS:epsilon:DERIVE:172800:U:U \ DS:gamma:DERIVE:172800:U:U DS:iota:DERIVE:172800:U:U DS:kappa:DERIVE:172800:U:U DS:lambda:DERIVE:172800:U:U \ DS:omega:DERIVE:172800:U:U DS:theta:DERIVE:172800:U:U DS:xi:DERIVE:172800:U:U DS:zeta:DERIVE:172800:U:U \ RRA:AVERAGE:0.5:2:90; \ ************************************************** **************************** alpha=$(grep alpha $fileloc | awk -F': ' '{print $2}') \ delta=$(grep delta $fileloc | awk -F': ' '{print $2}') \ eta=$(grep ' eta' $fileloc | awk -F': ' '{print $2}') \ epsilon=$(grep epsilon $fileloc | awk -F': ' '{print $2}') \ gamma=$(grep gamma $fileloc | awk -F': ' '{print $2}') \ iota=$(grep iota $fileloc | awk -F': ' '{print $2}') \ kappa=$(grep kappa $fileloc | awk -F': ' '{print $2}') \ lambda=$(grep lambda $fileloc | awk -F': ' '{print $2}') \ omega=$(grep omega $fileloc | awk -F': ' '{print $2}') \ theta=$(grep theta $fileloc | awk -F': ' '{print $2}') \ xi=$(grep xi $fileloc | awk -F': ' '{print $2}') \ zeta=$(grep zeta $fileloc | awk -F': ' '{print $2}') rrdtool update $rrd_dir/usr.rrd N:$alpha:$delta:$eta:$epsilon:$gamma:$iota:$kappa: $lambda:$omega:$theta:$xi:$zeta; ************************************************** *************************** rrdtool graph usr.rrd.gif --title="Users per server" \ --start -1m \ --vertical-label=Users \ --alt-autoscale \ --units-length 10 \ --units-exponent 0 \ DEF:pta=usr.rrd:alpha:AVERAGE LINE1:pta#000000:Alpha \ DEF:ptd=usr.rrd:delta:AVERAGE LINE1:ptd#151B54:Delta \ DEF:pte=usr.rrd:eta:AVERAGE LINE1:pte#463E41:Eta \ DEF:ptep=usr.rrd:epsilon:AVERAGE LINE1:ptep#800517:Epsilon \ DEF:ptg=usr.rrd:gamma:AVERAGE LINE1:ptg#8E35EF:Gamma \ DEF:pti=usr.rrd:iota:AVERAGE LINE1:pti#F778A1:Iota \ DEF:ptk=usr.rrd:kappa:AVERAGE LINE1:ptk#6698FF:Kappa \ DEF:ptl=usr.rrd:lambda:AVERAGE LINE1:ptl#667C26:Lambda \ DEF:pto=usr.rrd:omega:AVERAGE LINE1:pto#87F717:Omega \ DEF:ptt=usr.rrd:theta:AVERAGE LINE1:ptt#FFFC17:Theta \ DEF:ptx=usr.rrd:xi:AVERAGE LINE1:ptx#C47451:Xi \ DEF:ptz=usr.rrd:zeta:AVERAGE LINE1:ptz#806517:Zeta On Dec 3, 2007 10:18 AM, Andy Riebs <andy.riebs@hp.com> wrote: > Marc, > > "Reversed values" is not the norm :) > > It would help to send along the commands you are using the create the > graph, and, perhaps, the commands that you are using to store the data. > > /andy > > On Mon, 2007-12-03 at 15:11 +0000, Marc T. Kaplan wrote: > > Hello all, > > > > > > Just a quick question, I have gotten my RRD setup and it is > > running and storing correctly but upon graphing the data I am > > receiving data that is a bit strange. It seems that everything is > > getting graphed in reverse, that is that everything is showing as a > > negative when it should be positive. Is there anything specific I > > should look up or do to change the values so they are plotted > > correctly? > -- > Andy Riebs, HP High Performance Computing R&D > Technology for better business outcomes > Linux Software, <http://www.hp.com/go/clusters> > Catalyst Program, <http://www.hp.com/go/catalysts> > (w) +1.603.884.1521, andy.riebs@hp.com > (h) andy@candooz.com > My opinions are not necessarily those of HP > > ------=_Part_8603_23298025.1196695551051 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Andy,<br><br><br> You are right, I was not sure if it was a specific issue or general given RRDtools. I posted parts of the script you referenced in your reply below. I have run different values and tried reading up on RRD to understand it better, given the specific database I am trying to create. This is more or less a project that I was thrown into head first and I am still trying to understand everything related to RRD. If you see anything specific regarding the data below please tell me what might be wrong. <br><br>****************************************** ************************************<br><br> &n bsp; rrdtool create $rrd_dir/usr.rrd -s 86400 \<br>DS:alpha:DERIVE:172800:U:U DS:delta:DERIVE:172800:U:U DS:eta:DERIVE:172800:U:U DS:epsilon:DERIVE:172800:U:U \ <br>DS:gamma:DERIVE:172800:U:U DS:iota:DERIVE:172800:U:U DS:kappa:DERIVE:172800:U:U DS:lambda:DERIVE:172800:U:U \<br>DS:omega:DERIVE:172800:U:U DS:theta:DERIVE:172800:U:U DS:xi:DERIVE:172800:U:U DS:zeta:DERIVE:172800:U:U \ <br> &nbs p; RRA:AVERAGE:0.5:2:90; \<br><br>***************************************** *************************************<br><br>alpha =$(grep alpha $fileloc | awk -F': ' '{print $2}') \<br> delta=$(grep delta $fileloc | awk -F': ' '{print $2}') \<br>eta=$(grep ' eta' $fileloc | awk -F': ' '{print $2}') \<br>epsilon=$(grep epsilon $fileloc | awk -F': ' '{print $2}') \ <br>gamma=$(grep gamma $fileloc | awk -F': ' '{print $2}') \<br>iota=$(grep iota $fileloc | awk -F': ' '{print $2}') \<br>kappa=$(grep kappa $fileloc | awk -F': ' '{print $2}') \ <br>lambda=$(grep lambda $fileloc | awk -F': ' '{print $2}') \<br>omega=$(grep omega $fileloc | awk -F': ' '{print $2}') \<br>theta=$(grep theta $fileloc | awk -F': ' '{print $2}') \ <br>xi=$(grep xi $fileloc | awk -F': ' '{print $2}') \<br>zeta=$(grep zeta $fileloc | awk -F': ' '{print $2}')<br><br>rrdtool update $rrd_dir/usr.rrd N:$alpha:$delta:$eta:$epsilon:$gamma:$iota:$kappa: $lambda:$omega:$theta:$xi:$zeta; <br><br>****************************************** ***********************************<br><br>rrdtool graph usr.rrd.gif --title="Users per server" \<br>--start -1m \<br>--vertical-label=Users \<br>--alt-autoscale \ <br>--units-length 10 \<br>--units-exponent 0 \<br>DEF:pta=usr.rrd:alpha:AVERAGE LINE1:pta#000000:Alpha \<br>DEF:ptd=usr.rrd:delta:AVERAGE LINE1:ptd#151B54:Delta \<br>DEF:pte=usr.rrd:eta:AVERAGE LINE1:pte#463E41:Eta \<br> DEF:ptep=usr.rrd:epsilon:AVERAGE LINE1:ptep#800517:Epsilon \<br>DEF:ptg=usr.rrd:gamma:AVERAGE LINE1:ptg#8E35EF:Gamma \<br>DEF:pti=usr.rrd:iota:AVERAGE LINE1:pti#F778A1:Iota \<br>DEF:ptk=usr.rrd:kappa:AVERAGE LINE1:ptk#6698FF:Kappa \ <br>DEF:ptl=usr.rrd:lambda:AVERAGE LINE1:ptl#667C26:Lambda \<br>DEF:pto=usr.rrd:omega:AVERAGE LINE1:pto#87F717:Omega \<br>DEF:ptt=usr.rrd:theta:AVERAGE LINE1:ptt#FFFC17:Theta \<br>DEF:ptx=usr.rrd:xi:AVERAGE LINE1:ptx#C47451:Xi \ <br>DEF:ptz=usr.rrd:zeta:AVERAGE LINE1:ptz#806517:Zeta<br><br><br><div class="gmail_quote">On Dec 3, 2007 10:18 AM, Andy Riebs <<a href="mailto:andy.riebs@hp.com">andy.riebs@hp.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Marc,<br><br>"Reversed values" is not the norm :)<br><br>It would help to send along the commands you are using the create the<br>graph, and, perhaps, the commands that you are using to store the data.<br><br>/andy <br><div><div></div><div class="Wj3C7c"><br>On Mon, 2007-12-03 at 15:11 +0000, Marc T. Kaplan wrote:<br>> Hello all,<br>><br>><br>> Just a quick question, I have gotten my RRD setup and it is<br>> running and storing correctly but upon graphing the data I am <br>> receiving data that is a bit strange. It seems that everything is<br>> getting graphed in reverse, that is that everything is showing as a<br>> negative when it should be positive. Is there anything specific I <br>> should look up or do to change the values so they are plotted<br>> correctly?<br></div></div><font color="#888888">--<br>Andy Riebs, HP High Performance Computing R&D<br> Technology for better business outcomes <br>Linux Software, <<a href="http://www.hp.com/go/clusters" target="_blank">http://www.hp.com/go/clusters</a>><br>Catalyst Program, <<a href="http://www.hp.com/go/catalysts" target="_blank">http://www.hp.com/go/catalysts </a>><br>(w) +1.603.884.1521, <a href="mailto:andy.riebs@hp.com">andy.riebs@hp.com</a><br>(h) <a href="mailto:andy@candooz.com">andy@candooz.com</a><br>My opinions are not necessarily those of HP<br><br></font></blockquote> </div><br> ------=_Part_8603_23298025.1196695551051-- --===============0121848689== 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 --===============0121848689==-- |
![]() |
| Thread Tools | |
| Display Modes | |
|
|