[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rrd-users
Subject:    Re: [rrd-users] Perl RRDs module: add second Y axe does not work ?
From:       Thomas Parvais <tparvais () gmail ! com>
Date:       2012-11-27 9:46:07
Message-ID: CAO_Mw464X4QbxAxHT1fuRDtjRXZPdKRGuJRgg3L=-tsNanprTA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello

Tobi, you make my day !!! :-) :-)

Thank you

Thomas


2012/11/26 Tobias Oetiker <tobi@oetiker.ch>

> Hi Thomas,
>
> Today Thomas Parvais wrote:
>
> > Hello
> >
> > I've compiled all the stuff with the help of sdbs script. I had to
> > change/hack some source archives because I can install XZ-utils on my
> > sheevaplug.
> >
> > finally, I got a nice "thirdparty" folder with a lot of stuff in it. I
> > indeed find the new rrdtool binary that seems to react correctly to
> rrdtool
> > -v.
> >
> > I have copied this binary to replace my existing one in /usr/bin
> > I did the same with perl module /thirdparty/lib/perl5/RRDp.pm to
> > /usr/lib/perl5
> >
> > but this is not enough I guest, as it start to complain when I launch m=
y
> > script perl.
> >
> > what and how should I copy from the fresh compiled /thirdparty director=
y
> to
> > my /usr ?
>
> you do not copy the things ... leave them in the location where you
> built them ...
>
> add this to your perl script
>
> use lib qw(PATH_TO_THIRDPARY/lib/perl5);
>
> to make it find the RRDs module
>
> cheers
> tobi
>
> >
> > thank you
> >
> > Thomas
> >
> >
> > 2012/11/26 Tobias Oetiker <tobi@oetiker.ch>
> >
> > > Hi Thomas,
> > >
> > > Today Thomas Parvais wrote:
> > >
> > > > Hi
> > > >
> > > > This what I also conclude... Indeed thank you
> > > >
> > > > Is there somewhere an Ubuntu jaunty package rrdtool1.4 even non
> > > > official for armv5 ? (sheevaplug computer)
> > >
> > > I don't know ... I don't create binary packages for rrdtool
> > >
> > > https://github.com/oetiker/sdbs
> > >
> > > might help in compiling
> > >
> > > cheers
> > > tobi
> > >
> > > > I tried to compile from scratch, but they are too many dependencies
> for
> > > my plug to compile it correctly
> > > >
> > > > The last official release jaunty is 1.3
> > > >
> > > > Thank you
> > > >
> > > > Thomas
> > > >
> > > > Le 26 nov. 2012 =E0 07:54, Tobias Oetiker <tobi@oetiker.ch> a =E9cr=
it :
> > > >
> > > > > Today Olivier Nicole wrote:
> > > > >
> > > > >> Thomas,
> > > > >>
> > > > >>> I would like to add a second Y axe at the right with another
> scale
> > > with
> > > > >>> the following PERL code. (using RRDs module)
> > > > >>>
> > > > >>> Unfortunately, it does not work the script stops on the argumen=
t
> > > > >>> "--right-axis 20:0"
> > > > >>>
> > > > >>> Using RRDtool package 1.3.1 for my sheevaplug
> > > > >>>
> > > > >>> Any idea ?
> > > > >>
> > > > >> Have you tried to print the command instead of sending it to
> > > > >> RRD::graph?
> > > > >>
> > > > >> Then you cut and paste the result to rrdgraph(1). That's an easy
> way
> > > > >> to check if the command you are building in P_erl is a valid
> rrdgraph
> > > > >> command.
> > > > >
> > > > > the axis commands were introduced in the 1.4 series if I recall
> > > > > correctly ...
> > > > >
> > > > > cheers
> > > > > tobi
> > > > >>
> > > > >> Bon courage,
> > > > >>
> > > > >> olivier
> > > > >>
> > > > >> _______________________________________________
> > > > >> rrd-users mailing list
> > > > >> rrd-users@lists.oetiker.ch
> > > > >> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
> > > > >>
> > > > >>
> > > > >
> > > > > --
> > > > > Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten,
> Switzerland
> > > > > http://it.oetiker.ch tobi@oetiker.ch ++41 62 775 9902 / sb: -9900
> > > >
> > > >
> > >
> > > --
> > > Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerlan=
d
> > > http://it.oetiker.ch tobi@oetiker.ch ++41 62 775 9902 / sb: -9900
> > >
> >
>
> --
> Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
> http://it.oetiker.ch tobi@oetiker.ch ++41 62 775 9902 / sb: -9900
>

[Attachment #5 (text/html)]

Hello<div><br></div><div>Tobi, you make my day !!! :-) \
:-)</div><div><br></div><div>Thank you</div><div><br></div><div>Thomas</div><div \
class="gmail_extra"><br><br><div class="gmail_quote">2012/11/26 Tobias Oetiker <span \
dir="ltr">&lt;<a href="mailto:tobi@oetiker.ch" \
target="_blank">tobi@oetiker.ch</a>&gt;</span><br> <blockquote class="gmail_quote" \
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div \
class="im">Hi Thomas,<br> <br>
Today Thomas Parvais wrote:<br>
<br>
</div><div class="im">&gt; Hello<br>
&gt;<br>
&gt; I&#39;ve compiled all the stuff with the help of sdbs script. I had to<br>
&gt; change/hack some source archives because I can install XZ-utils on my<br>
&gt; sheevaplug.<br>
&gt;<br>
&gt; finally, I got a nice &quot;thirdparty&quot; folder with a lot of stuff in it. \
I<br> &gt; indeed find the new rrdtool binary that seems to react correctly to \
rrdtool<br> &gt; -v.<br>
&gt;<br>
&gt; I have copied this binary to replace my existing one in /usr/bin<br>
&gt; I did the same with perl module /thirdparty/lib/perl5/RRDp.pm to<br>
&gt; /usr/lib/perl5<br>
&gt;<br>
&gt; but this is not enough I guest, as it start to complain when I launch my<br>
&gt; script perl.<br>
&gt;<br>
&gt; what and how should I copy from the fresh compiled /thirdparty directory to<br>
&gt; my /usr ?<br>
<br>
</div>you do not copy the things ... leave them in the location where you<br>
built them ...<br>
<br>
add this to your perl script<br>
<br>
use lib qw(PATH_TO_THIRDPARY/lib/perl5);<br>
<br>
to make it find the RRDs module<br>
<br>
cheers<br>
tobi<br>
<div class="HOEnZb"><div class="h5"><br>
&gt;<br>
&gt; thank you<br>
&gt;<br>
&gt; Thomas<br>
&gt;<br>
&gt;<br>
&gt; 2012/11/26 Tobias Oetiker &lt;<a \
href="mailto:tobi@oetiker.ch">tobi@oetiker.ch</a>&gt;<br> &gt;<br>
&gt; &gt; Hi Thomas,<br>
&gt; &gt;<br>
&gt; &gt; Today Thomas Parvais wrote:<br>
&gt; &gt;<br>
&gt; &gt; &gt; Hi<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; This what I also conclude... Indeed thank you<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Is there somewhere an Ubuntu jaunty package rrdtool1.4 even non<br>
&gt; &gt; &gt; official for armv5 ? (sheevaplug computer)<br>
&gt; &gt;<br>
&gt; &gt; I don&#39;t know ... I don&#39;t create binary packages for rrdtool<br>
&gt; &gt;<br>
&gt; &gt; <a href="https://github.com/oetiker/sdbs" \
target="_blank">https://github.com/oetiker/sdbs</a><br> &gt; &gt;<br>
&gt; &gt; might help in compiling<br>
&gt; &gt;<br>
&gt; &gt; cheers<br>
&gt; &gt; tobi<br>
&gt; &gt;<br>
&gt; &gt; &gt; I tried to compile from scratch, but they are too many dependencies \
for<br> &gt; &gt; my plug to compile it correctly<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; The last official release jaunty is 1.3<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Thank you<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Thomas<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Le 26 nov. 2012 à 07:54, Tobias Oetiker &lt;<a \
href="mailto:tobi@oetiker.ch">tobi@oetiker.ch</a>&gt; a écrit :<br> &gt; &gt; \
&gt;<br> &gt; &gt; &gt; &gt; Today Olivier Nicole wrote:<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt; Thomas,<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; I would like to add a second Y axe at the right with \
another scale<br> &gt; &gt; with<br>
&gt; &gt; &gt; &gt;&gt;&gt; the following PERL code. (using RRDs module)<br>
&gt; &gt; &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; Unfortunately, it does not work the script stops on the \
argument<br> &gt; &gt; &gt; &gt;&gt;&gt; &quot;--right-axis 20:0&quot;<br>
&gt; &gt; &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; Using RRDtool package 1.3.1 for my sheevaplug<br>
&gt; &gt; &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; Any idea ?<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; Have you tried to print the command instead of sending it \
to<br> &gt; &gt; &gt; &gt;&gt; RRD::graph?<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; Then you cut and paste the result to rrdgraph(1). That&#39;s \
an easy way<br> &gt; &gt; &gt; &gt;&gt; to check if the command you are building in \
P_erl is a valid rrdgraph<br> &gt; &gt; &gt; &gt;&gt; command.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; the axis commands were introduced in the 1.4 series if I \
recall<br> &gt; &gt; &gt; &gt; correctly ...<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; cheers<br>
&gt; &gt; &gt; &gt; tobi<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; Bon courage,<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; olivier<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; _______________________________________________<br>
&gt; &gt; &gt; &gt;&gt; rrd-users mailing list<br>
&gt; &gt; &gt; &gt;&gt; <a \
href="mailto:rrd-users@lists.oetiker.ch">rrd-users@lists.oetiker.ch</a><br> &gt; &gt; \
&gt; &gt;&gt; <a href="https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users" \
target="_blank">https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users</a><br> &gt; &gt; \
&gt; &gt;&gt;<br> &gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; --<br>
&gt; &gt; &gt; &gt; Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, \
Switzerland<br> &gt; &gt; &gt; &gt; <a href="http://it.oetiker.ch" \
target="_blank">http://it.oetiker.ch</a> <a \
href="mailto:tobi@oetiker.ch">tobi@oetiker.ch</a> <a \
href="tel:%2B%2B41%2062%20775%209902" value="+41627759902">++41 62 775 9902</a> / sb: \
-9900<br>

&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland<br>
&gt; &gt; <a href="http://it.oetiker.ch" target="_blank">http://it.oetiker.ch</a> <a \
href="mailto:tobi@oetiker.ch">tobi@oetiker.ch</a> <a \
href="tel:%2B%2B41%2062%20775%209902" value="+41627759902">++41 62 775 9902</a> / sb: \
-9900<br>

&gt; &gt;<br>
&gt;<br>
<br>
--<br>
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland<br>
<a href="http://it.oetiker.ch" target="_blank">http://it.oetiker.ch</a> <a \
href="mailto:tobi@oetiker.ch">tobi@oetiker.ch</a> <a \
href="tel:%2B%2B41%2062%20775%209902" value="+41627759902">++41 62 775 9902</a> / sb: \
-9900</div> </div></blockquote></div><br></div>



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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic