[rrd-users] Perl RRDs module: add second Y axe does not work ?
Tobias Oetiker
tobi at oetiker.ch
Mon Nov 26 22:56:29 CET 2012
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 my
> script perl.
>
> what and how should I copy from the fresh compiled /thirdparty directory 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 at 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 à 07:54, Tobias Oetiker <tobi at oetiker.ch> a écrit :
> > >
> > > > 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 argument
> > > >>> "--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 at 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 at oetiker.ch ++41 62 775 9902 / sb: -9900
> > >
> > >
> >
> > --
> > Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
> > http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900
> >
>
--
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900
More information about the rrd-users
mailing list