LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Xymon Installation is not taking up rrd files (https://www.linuxquestions.org/questions/linux-software-2/xymon-installation-is-not-taking-up-rrd-files-4175420791/)

anwar5006 08-07-2012 06:09 AM

Xymon Installation is not taking up rrd files
 
Hello All,

am i installing Xymon on RedHat machine. I have installed all the dependency packages of Xymon but am struct up at the last stage.

Dependencies package of xymon

1) Pcre-8.21.tar.gz
2) libpng-1.5.9.tar.gz
3) rrdtool-1.4.5.tar.gz
Dependencies of rrd tool
pkg-config-0.23
zlib-1.2.3
libpng-1.2.18
freetype-2.4.9
libxml2-2.6.32
fontconfig-2.4.2
pixman-0.10.0
cairo-1.6.4
glib-2.15.4
pango-1.21.1

All binary and library is present . .

[root@localhost rrdtool-1.4.5]# ls /usr/local/bin/bin
fc-cache fc-pattern glib-genmarshal gtester
libpng-config pcretest rrdtool xmllint
fc-cat fc-query glib-gettextize gtester-report pango-querymodules pkg-config rrdupdate fc-list fc-scan glib-mkenums libpng12-config pcre-config rrdcached xml2-config fc-match freetype-config gobject-query libpng15-config pcregrep rrdcgi xmlcatalog
[root@localhost rrdtool-1.4.5]#

glib-2.0 libglib-2.0.la libpangocairo-1.0so libpcre.so.0.0.1 librrd.a libcairo.a libglib-2.0.so libpangocairo-1.0.so.0 libpixman-1.a librrd.la libcairo.la libglib-2.0.so.0 libpangocairo-1.0.so.0.2101.0 libpixman-1.la librrd.so libcairo.so libglib-2.0.so.0.1504.0 libpangoft2-1.0.la libpixman-1.so librrd.so.4
libcairo.so.2 libgmodule-2.0.la libpangoft2-1.0so libpixman-1.so.0 librrd.so.4.1.4 libcairo.so.2.17.5 libgmodule-2.0.so libpangoft2-1.0.so.0 libpixman-1.so.0.10.0 librrd_th.a libfontconfig.a libgmodule-2.0.so.0 libpangoft2-1.0.so.0.2101.0 libpng12.a librrd_th.la libfontconfig.la libgmodule-2.0.so.0.1504.0 libpcre.a libpng12.la librrd_th.so
libfontconfig.so libgobject-2.0.la ibpcrecpp.a libpng12.so librrd_th.so.4 libfontconfig.so.1 libgobject-2.0.so libpcrecpp.la libpng12.so.0 librrd_th.so.4.1.4 libfontconfig.so.1.2.0 libgobject-2.0.so.0 libpcrecpp.so libpng12.so.0.18.0 libxml2.a
libfontconfig.so.1.5.0 libgobject-2.0.so.0.1504.0 libpcrecpp.so.0 libpng15.a libxml2.la libfreetype.a libgthread-2.0.la libpcrecpp.so.0.0.0 libpng15.la
libxml2.so libfreetype.la libgthread-2.0.so libpcre.la libpng15.so libxml2.so.2
libfreetype.so libgthread-2.0.so.0 libpcreposix.a libpng15.so.15 libxml2.so.2.6.32 libfreetype.so.6 libgthread-2.0.so.0.1504.0 libpcreposix.la libpng15.so.15.9.0 libz.a
libfreetype.so.6.8.1 libpango-1.0.la libpcreposix.so libpng.a pango
libgio-2.0.la libpango-1.0.so libpcreposix.so.0 libpng.la perl
libgio-2.0.so libpango-1.0.so.0 libpcreposix.so.0.0.0 libpng.so pkgconfig
libgio-2.0.so.0 libpango-1.0.so.0.2101.0 libpcre.so libpng.so.3 python2.4
libgio-2.0.so.0.0.0 libpangocairo-1.0.la libpcre.so.0 libpng.so.3.18.0 xml2Conf.sh


Environmental i have set as
export BUILD_DIR=/home/oracle/Xymon/rrd-tool-1.4.5
export PKG_CONFIG=/usr/local/bin/bin/pkg-config
export PKG_CONFIG_PATH=/usr/local/bin/lib/pkgconfig
export LD_LIBRARY_PATH=/usr/local/lib:/usr/local/bin/lib:/usr/lib
export INSTALL_DIR=/usr/local/bin
export PATH=/sbin:/usr/sbin:/usr/local/bin/bin:$PATH

Error am getting for Xymon installation is

[oracle@localhost xymon-4.3.5]$ ./configure

Configuration script for Xymon

This script asks a few questions and builds a Makefile to compile Xymon

Checking your make-utility
Checking pre-requisites for building Xymon

Checking for fping ...
Xymon has a built-in ping utility (xymonping)
However, it is not yet fully stable and therefore it
may be best to use the external fping utility instead.
I could not find fping on your system
Do you want to use xymonping [Y/n] ?
y
OK, I will use xymonping.


Checking for RRDtool ...
RRDtool include- or library-files not found. These are REQUIRED for Xymon
RRDtool can be found at http://www.mrtg.org/rrdtool/
If you have RRDtool installed, use the "--rrdinclude DIR" and "--rrdlib DIR"
options to configure to specify where they are.
[oracle@localhost xymon-4.3.5]$

As Error says we need to include --rrdinclude and --rrdlib

[oracle@localhost xymon-4.3.5]$ ./configure --rrdinclude=/usr/local/bin/bin --rrdlib=/usr/local/bin/lib
[oracle@localhost xymon-4.3.5]

I but dont see Xymon installation to be running ..

Kindly guide me.

knudfl 08-08-2012 08:50 AM

It looks like xymon uses an older version of rrdtool ..
http://sourceforge.net/projects/xymo.../4.3.10/RHEL5/
There are no rpm packages for i386, version 4.3.10.
And no rpm packages at all for zymon-4.3.5 ..
http://sourceforge.net/projects/xymon/files/Xymon/
.. If you have a 64bits OS (EL5) :
The sourceforge "4.3.10 packages" can be installed.


Example, building xymon-4.3.10 on EL5 :
0) rpm -Uvh fping-3.2-0.src.rpm ; 0a) rpmbuild -bb fping.spec
http://netcologne.dl.sourceforge.net...-3.2-0.src.rpm
Install fping : # yum localinstall --nogpgcheck fping-3.2-0.i386.rpm
1) # yum localinstall --nogpgcheck perl-rrdtool-1.2.30-1.el5.rf.i386.rpm
http://apt.sw.be/redhat/el5/en/i386/...l5.rf.i386.rpm
.. yum will automatically install rrdtool version 1.2.30 from "rpmforge.repo"
http://pkgs.repoforge.org/rrdtool/
2) # yum localinstall --nogpgcheck rrdtool-devel-1.2.30-1.el5.rf.i386.rpm
http://apt.sw.be/redhat/el5/en/i386/...l5.rf.i386.rpm
3) rpm -Uvh rrdtool-1.2.30-1.rf.src.rpm
http://apt.sw.be/source/rrdtool-1.2.30-1.rf.src.rpm
4) rpmbuild -bb xymon.spec ( ? Edit line 40 in to: USEXYMONPING=n \ )
.... and the build result :
Wtote: /home/knudfl/rpms/RPMS/i386/xymon-4.3.10-1EL5.i386.rpm
Wrote: /home/knudfl/rpms/RPMS/i386/xymon-client-4.3.10-1EL5.i386.rpm
( Line 3 in xymon.spec can be edited to e.g. : Release: 1EL5 )

.


All times are GMT -5. The time now is 01:20 PM.