[Xymon] rrdtool binaries/libraries used by Xymon?

J.C. Cleaver cleaver at terabithia.org
Fri Oct 2 19:56:07 CEST 2015



On Fri, October 2, 2015 5:23 am, Matt Vander Werf wrote:
> Hello,
>
> How does Xymon determine what rrdtool (set of) binaries/libraries to use
> for graphing? Does it just use the PATH variable set in
> /etc/xymon/xymonserver.cfg (generally speaking,
> $XYMONHOME/etc/xymonserver.cfg)? (i.e. it finds the rrdtool binaries to
> use
> based on the precedence given in the PATH variable.)
>
> I ask because I am looking at using a newer version of rrdtool (then the
> rrdtool RPM in the regular RHEL repositories) that I built from source in
> an alternate location (/opt) and want to tell Xymon to use these new
> rrdtool binaries/libraries for it's graphing (mostly to see if it works
> and
> see what changes). I'm trying to use the latest stable release version
> 1.5.4, whereas I have been using version 1.4.8.
>
> Or do I have a complete misunderstanding of how Xymon utilizes rrdtool? I
> assumed that it uses the external rrdtool binaries/libraries (as the
> rrdtool package was a dependency when I installed the xymon server RPM),
> but maybe it gets built in somehow?
>
> FYI, I'm using 4.3.21-4.el7.terabithia RPMs on RHEL 7.
>
> Thanks!


Hi Matt,

The rrdtool as used by xymon functions as a library, instead of an
execution call launching an individual binary. (It's a bit confusing
because most of the binaries are doing very little but calling those same
library functions also... and using getopt for passing arguments, to
boot!) To modify the "version" of the rrd library being used, you'd
probably need to use LD_LIBRARY environment variables. It might be tricky.


I've been regularly rebuilding the Fedora rrdtool-1.5x RPMs for EL6, and
they've seemed backwards compatible in production with the base RH ones.
Hadn't tried that with EL7 until now, but it seems to build fine with only
a minor tweak needed.

If you'd like to take a gander, they're in
http://terabithia.org/rpms/xymon/testing/el7/x86_64/. If it works, it'd
probably be much easier to roll the RPMs back and forth than deal with the
library loading path.


HTH,

-jc




More information about the Xymon mailing list