Xymon version 4.3.9 now available
Hi,
hot on the heels of 4.3.8 comes version 4.3.9 - it should be available from Sourceforge when you read this.
This version cleans up a couple of issues that arose with the 4.3.8 release, most notably the problem with "disable until" being broken, and some issues with building Xymon - mainly on Solaris boxes (1).
- Fix crash when XYMSRV is undefined but XYMSERVERS is
- Fix error in calculating combo-status messages with forward references
- Fix error in disable-until-TIME or disable-until-OK code
- Fix documentation of DURATION in alerts.cfg / xymond_alert so it is consistenly listed as being in "minutes".
- Permit explicit use of ">" and ">=" in alerts.cfg
- Permit building without the RRDtool libraries, e.g. for a network-tester build, but with trend-graphing disabled.
- Full compiler-warning cleanup
- Various configuration/build-script issues fixed.
NB: Due to the build-script changes, it is necessary to run the "configure" command in a clean, freshly-unpacked xymon-4.3.9 directory when building this version. You cannot just copy over the Makefile from a previous version - if you do, some of the programs will not be built.
Here are the hash values:
MD5: 3f784333de43ffc5783a4c65a7d08456 xymon-4.3.9.tar.gz 8e170caa403d9b69bb52f6e5ac4e9e52 xymon_4.3.9_amd64.deb c0ade68012b2445b50117d7439a05ec7 xymon-client_4.3.9_amd64.deb bcabdc0da72a4e574b839f58fc487518 xymon_4.3.9_i386.deb 355caba196250d2ec6bd2a09f9c99f81 xymon-client_4.3.9_i386.deb
SHA-1: 2960ebb130da0ce002ea1866e5ca5d77bff3dd22 xymon-4.3.9.tar.gz 75f54a044d07984f2fc668ecbc699553958808c7 xymon_4.3.9_amd64.deb d3c08b9e03abc986f8019c1612ff91da0f93f403 xymon-client_4.3.9_amd64.deb a67f8a75e66cfb0bba2ce275e52cf16ee91838c2 xymon_4.3.9_i386.deb 0ac9ef5226aaa87b9622ba82cb6c917be9931179 xymon-client_4.3.9_i386.deb
Regards, Henrik
(1) Apparently, the "tr" command on Solaris 10 is incredibly broken when you have LANG set to something other than "C".
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 07/24/2012 12:48 PM, Henrik Størner wrote:
Hi,
This version cleans up a couple of issues that arose with the 4.3.8 release, most notably the problem with "disable until" being broken, and some issues with building Xymon - mainly on Solaris boxes (1).
(1) Apparently, the "tr" command on Solaris 10 is incredibly broken when you have LANG set to something other than "C".
I'm told by Oracle (Sun) that this has been broken back to Solaris 2.6 on multibyte locales and that they finally deigned to fix it in 11 but are hemming and hawing about fixing it in 10. More information for those interested:
/usr/bin/tr should support multibyte charactes/locales http://wesunsolve.net/bugid/id/6628310
Comments by another blogger:
A little note about something to be careful of when compiling and developing applications within a non singlebyte locale (a Unicode or locale other than "C"). You should always check the man pages of the utilities you're using in your build process or anywhere else first before using them. Some of the utilities that are in /usr/bin or /bin only properly handle singlebyte locales and won't work properly in others.
For example, the "tr" utility in /bin/tr or /usr/bin/tr will fail with a not-so-helpful message about "bad string" when in reality you've given it perfectly valid input. This is a result of it not supporting singlebyte locales. Instead, you will have to use /usr/xpg4/bin/tr or /usr/xpg6/bin/tr which support multi-byte locales.
Yay Solaris!
- ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Sr. Systems Programmer |$&| |__| | | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/EI-Academic Svcs. - ADMC 450, Newark -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAlAO8c0ACgkQmb+gadEcsb5FNQCglyHE3lMz75kG2LhC9YlWZsuW O3YAn1XNNZEzYeQULTvaDyovv312dXhH =7nMk -----END PGP SIGNATURE-----
Got some problem compiling 4.3.8 and now 4.3.9 same problem. Using Solaris 10 x86 32bit
MAKE=gmake ./configure.server --rrdinclude /usr/local/rrdtool-1.2.19/include --rrdlib /usr/local/rrdtool-1.2.19/lib (also tried without the rrd directives) And then I get Checking for RRDtool ... Not RRDtool 1.0.x, checking for 1.2.x Compiling with RRDtool works OK ERROR: Linking with RRDtool fails RRDtool include- or library-files not found. These are REQUIRED for trend-graph support in Xymon, but Xymon can be built without them (e.g. for a network-probe only installation.
root at pxym01:/var/tmp/xymon-4.3.9# pkginfo -l SMCrrdt PKGINST: SMCrrdt NAME: rrdtool CATEGORY: application ARCH: x86 VERSION: 1.2.19 BASEDIR: /usr/local VENDOR: Tobias Oetiker et al PSTAMP: Steve Christensen INSTDATE: Jul 24 2012 10:52 EMAIL: steve at smc.vnet.net STATUS: completely installed FILES: 298 installed pathnames 1 shared pathnames 26 directories 26 executables 8460 blocks used (approx) root at pxym01:/var/tmp/xymon-4.3.9# ls -la /usr/local/rrdtool-1.2.19/include -rw-r--r-- 1 bin bin 4887 Mar 25 2007 rrd.h root at pxym01:/var/tmp/xymon-4.3.9# ls -la /usr/local/rrdtool-1.2.19/lib -rw-r--r-- 1 bin bin 354030 Mar 25 2007 librrd_th.a -rwxr-xr-x 1 bin bin 1150 Mar 25 2007 librrd_th.la lrwxrwxrwx 1 root root 18 Jul 24 10:52 librrd_th.so -> librrd_th.so.2.0.8 lrwxrwxrwx 1 root root 18 Jul 24 10:52 librrd_th.so.2 -> librrd_th.so.2.0.8 -rwxr-xr-x 1 bin bin 302896 Mar 25 2007 librrd_th.so.2.0.8 -rw-r--r-- 1 bin bin 352960 Mar 25 2007 librrd.a -rwxr-xr-x 1 bin bin 1129 Mar 25 2007 librrd.la lrwxrwxrwx 1 root root 15 Jul 24 10:52 librrd.so -> librrd.so.2.0.9 lrwxrwxrwx 1 root root 15 Jul 24 10:52 librrd.so.2 -> librrd.so.2.0.9 -rwxr-xr-x 1 bin bin 302316 Mar 25 2007 librrd.so.2.0.9 drwxr-xr-x 3 bin bin 3 Jul 24 10:52 perl drwxr-xr-x 2 bin bin 4 Jul 24 10:52 rrdtool -rwxr-xr-x 1 bin bin 15456 Mar 25 2007 tclrrd1.2.19.so root at pxym01:/var/tmp/xymon-4.3.9# ldd /usr/local/rrdtool-1.2.19/lib/librrd.so.2.0.9 libpng12.so.0 => /usr/lib/libpng12.so.0 libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 libm.so.2 => /usr/lib/libm.so.2 libfreetype.so.6 => /usr/local/lib/libfreetype.so.6 libz.so => /usr/lib/libz.so libc.so.1 => /usr/lib/libc.so.1 libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1 root at pxym01:/var/tmp/xymon-4.3.9# ldd /usr/local/rrdtool-1.2.19/lib/librrd_th.so.2.0.8 libpng12.so.0 => /usr/lib/libpng12.so.0 libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 libm.so.2 => /usr/lib/libm.so.2 libfreetype.so.6 => /usr/local/lib/libfreetype.so.6 libz.so => /usr/lib/libz.so libc.so.1 => /usr/lib/libc.so.1 libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1
Am I missing something?
- Roland
-----Original Message----- From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Henrik Størner Sent: Wednesday, 25 July 2012 2:49 AM To: Xymon mailinglist Subject: [Xymon] Xymon version 4.3.9 now available
Hi,
hot on the heels of 4.3.8 comes version 4.3.9 - it should be available from Sourceforge when you read this.
This version cleans up a couple of issues that arose with the 4.3.8 release, most notably the problem with "disable until" being broken, and some issues with building Xymon - mainly on Solaris boxes (1).
- Fix crash when XYMSRV is undefined but XYMSERVERS is
- Fix error in calculating combo-status messages with forward references
- Fix error in disable-until-TIME or disable-until-OK code
- Fix documentation of DURATION in alerts.cfg / xymond_alert so it is consistenly listed as being in "minutes".
- Permit explicit use of ">" and ">=" in alerts.cfg
- Permit building without the RRDtool libraries, e.g. for a network-tester build, but with trend-graphing disabled.
- Full compiler-warning cleanup
- Various configuration/build-script issues fixed.
NB: Due to the build-script changes, it is necessary to run the "configure" command in a clean, freshly-unpacked xymon-4.3.9 directory when building this version. You cannot just copy over the Makefile from a previous version - if you do, some of the programs will not be built.
Here are the hash values:
MD5: 3f784333de43ffc5783a4c65a7d08456 xymon-4.3.9.tar.gz 8e170caa403d9b69bb52f6e5ac4e9e52 xymon_4.3.9_amd64.deb c0ade68012b2445b50117d7439a05ec7 xymon-client_4.3.9_amd64.deb bcabdc0da72a4e574b839f58fc487518 xymon_4.3.9_i386.deb 355caba196250d2ec6bd2a09f9c99f81 xymon-client_4.3.9_i386.deb
SHA-1: 2960ebb130da0ce002ea1866e5ca5d77bff3dd22 xymon-4.3.9.tar.gz 75f54a044d07984f2fc668ecbc699553958808c7 xymon_4.3.9_amd64.deb d3c08b9e03abc986f8019c1612ff91da0f93f403 xymon-client_4.3.9_amd64.deb a67f8a75e66cfb0bba2ce275e52cf16ee91838c2 xymon_4.3.9_i386.deb 0ac9ef5226aaa87b9622ba82cb6c917be9931179 xymon-client_4.3.9_i386.deb
Regards, Henrik
(1) Apparently, the "tr" command on Solaris 10 is incredibly broken when you have LANG set to something other than "C".
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Try doing sh -x on whatever the build script for rrd is called (take a look in build -- it should be obvious). I found I was missing headers for pcre when I thought I had everything installed. I took a quick glance and don't see any headers.
-- Sent from my Palm Pre On Jul 24, 2012 19:18, Roland Soderstrom <Rolands at logicaltech.com.au> wrote:
Got some problem compiling 4.3.8 and now 4.3.9 same problem.
Using Solaris 10 x86 32bit
MAKE=gmake ./configure.server --rrdinclude /usr/local/rrdtool-1.2.19/include --rrdlib /usr/local/rrdtool-1.2.19/lib
(also tried without the rrd directives)
And then I get
Checking for RRDtool ...
Not RRDtool 1.0.x, checking for 1.2.x
Compiling with RRDtool works OK
ERROR: Linking with RRDtool fails
RRDtool include- or library-files not found.
These are REQUIRED for trend-graph support in Xymon, but Xymon can
be built without them (e.g. for a network-probe only installation.
root at pxym01:/var/tmp/xymon-4.3.9# pkginfo -l SMCrrdt
PKGINST: SMCrrdt
NAME: rrdtool
CATEGORY: application
ARCH: x86
VERSION: 1.2.19
BASEDIR: /usr/local
VENDOR: Tobias Oetiker et al
PSTAMP: Steve Christensen
INSTDATE: Jul 24 2012 10:52
EMAIL: steve at smc.vnet.net
STATUS: completely installed
FILES: 298 installed pathnames
1 shared pathnames
26 directories
26 executables
8460 blocks used (approx)
root at pxym01:/var/tmp/xymon-4.3.9# ls -la /usr/local/rrdtool-1.2.19/include
-rw-r--r-- 1 bin bin 4887 Mar 25 2007 rrd.h
root at pxym01:/var/tmp/xymon-4.3.9# ls -la /usr/local/rrdtool-1.2.19/lib
-rw-r--r-- 1 bin bin 354030 Mar 25 2007 librrd_th.a
-rwxr-xr-x 1 bin bin 1150 Mar 25 2007 librrd_th.la
lrwxrwxrwx 1 root root 18 Jul 24 10:52 librrd_th.so -> librrd_th.so.2.0.8
lrwxrwxrwx 1 root root 18 Jul 24 10:52 librrd_th.so.2 -> librrd_th.so.2.0.8
-rwxr-xr-x 1 bin bin 302896 Mar 25 2007 librrd_th.so.2.0.8
-rw-r--r-- 1 bin bin 352960 Mar 25 2007 librrd.a
-rwxr-xr-x 1 bin bin 1129 Mar 25 2007 librrd.la
lrwxrwxrwx 1 root root 15 Jul 24 10:52 librrd.so -> librrd.so.2.0.9
lrwxrwxrwx 1 root root 15 Jul 24 10:52 librrd.so.2 -> librrd.so.2.0.9
-rwxr-xr-x 1 bin bin 302316 Mar 25 2007 librrd.so.2.0.9
drwxr-xr-x 3 bin bin 3 Jul 24 10:52 perl
drwxr-xr-x 2 bin bin 4 Jul 24 10:52 rrdtool
-rwxr-xr-x 1 bin bin 15456 Mar 25 2007 tclrrd1.2.19.so
root at pxym01:/var/tmp/xymon-4.3.9# ldd /usr/local/rrdtool-1.2.19/lib/librrd.so.2.0.9
libpng12.so.0 => /usr/lib/libpng12.so.0
libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2
libm.so.2 => /usr/lib/libm.so.2
libfreetype.so.6 => /usr/local/lib/libfreetype.so.6
libz.so => /usr/lib/libz.so
libc.so.1 => /usr/lib/libc.so.1
libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1
root at pxym01:/var/tmp/xymon-4.3.9# ldd /usr/local/rrdtool-1.2.19/lib/librrd_th.so.2.0.8
libpng12.so.0 => /usr/lib/libpng12.so.0
libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2
libm.so.2 => /usr/lib/libm.so.2
libfreetype.so.6 => /usr/local/lib/libfreetype.so.6
libz.so => /usr/lib/libz.so
libc.so.1 => /usr/lib/libc.so.1
libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1
Am I missing something?
- Roland
-----Original Message-----
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Henrik Størner
Sent: Wednesday, 25 July 2012 2:49 AM
To: Xymon mailinglist
Subject: [Xymon] Xymon version 4.3.9 now available
Hi,
hot on the heels of 4.3.8 comes version 4.3.9 - it should be available from Sourceforge when you read this.
This version cleans up a couple of issues that arose with the 4.3.8 release, most notably the problem with "disable until" being broken, and some issues with building Xymon - mainly on Solaris boxes (1).
Fix crash when XYMSRV is undefined but XYMSERVERS is
Fix error in calculating combo-status messages with
forward references
Fix error in disable-until-TIME or disable-until-OK code
Fix documentation of DURATION in alerts.cfg / xymond_alert so
it is consistenly listed as being in "minutes".
Permit explicit use of ">" and ">=" in alerts.cfg
Permit building without the RRDtool libraries, e.g. for
a network-tester build, but with trend-graphing disabled.
Full compiler-warning cleanup
Various configuration/build-script issues fixed.
NB: Due to the build-script changes, it is necessary to run the "configure" command in a clean, freshly-unpacked xymon-4.3.9 directory when building this version. You cannot just copy over the Makefile from a previous version - if you do, some of the programs will not be built.
Here are the hash values:
MD5:
3f784333de43ffc5783a4c65a7d08456 xymon-4.3.9.tar.gz
8e170caa403d9b69bb52f6e5ac4e9e52 xymon_4.3.9_amd64.deb
c0ade68012b2445b50117d7439a05ec7 xymon-client_4.3.9_amd64.deb
bcabdc0da72a4e574b839f58fc487518 xymon_4.3.9_i386.deb
355caba196250d2ec6bd2a09f9c99f81 xymon-client_4.3.9_i386.deb
SHA-1:
2960ebb130da0ce002ea1866e5ca5d77bff3dd22 xymon-4.3.9.tar.gz
75f54a044d07984f2fc668ecbc699553958808c7 xymon_4.3.9_amd64.deb
d3c08b9e03abc986f8019c1612ff91da0f93f403 xymon-client_4.3.9_amd64.deb
a67f8a75e66cfb0bba2ce275e52cf16ee91838c2 xymon_4.3.9_i386.deb
0ac9ef5226aaa87b9622ba82cb6c917be9931179 xymon-client_4.3.9_i386.deb
Regards,
Henrik
(1) Apparently, the "tr" command on Solaris 10 is incredibly broken when you have LANG set to something other than "C".
Xymon mailing list
Xymon at xymon.com
http://lists.xymon.com/mailman/listinfo/xymon
Xymon mailing list
Xymon at xymon.com
Ok,
First it seems like the vars do not change the default
- echo Checking for RRDtool ... Checking for RRDtool ... RRDDEF= RRDINC= RRDLIB= PNGLIB= ZLIB=
But it finds it anyway.
- test -f /usr/local/rrdtool-1.2.19/include/rrd.h RRDINC=/usr/local/rrdtool-1.2.19/include
- test -f /usr/local/rrdtool-1.2.19/lib/librrd.so RRDLIB=/usr/local/rrdtool-1.2.19/lib
- test -f /usr/local/rrdtool-1.2.19/lib/librrd.a RRDLIB=/usr/local/rrdtool-1.2.19/lib RRDINC=/usr/local/rrdtool-1.2.19/include
- echo Not RRDtool 1.0.x, checking for 1.2.x Not RRDtool 1.0.x, checking for 1.2.x RRDDEF=-DRRDTOOL12
- gmake -f Makefile.test-rrd clean
- sed -es@/@_ at g
- uname -s OS=SunOS
- gmake -f Makefile.test-rrd test-compile RRDINC=-I/usr/local/rrdtool-1.2.19 RRDDEF=-DRRDTOOL12 + sed + -es@/@_ at g uname -s OS=SunOS
And here it can’t find rrd.h??
test-rrd.c:3:17: rrd.h: No such file or directory
test-rrd.c: In function main': test-rrd.c:26: warning: implicit declaration of function rrd_clear_error'
test-rrd.c:28: warning: implicit declaration of function `rrd_graph'
gmake: *** [test-compile] Error 1
- test 2 -eq 0
- echo ERROR: Cannot compile with RRDtool. ERROR: Cannot compile with RRDtool. RRDOK=NO
- gmake -f Makefile.test-rrd test-link
- test 2 -ne 0 PNGLIB=-L/usr/local/lib -lpng -L/usr/local/lib -lz
- gmake -f Makefile.test-rrd test-link
- test 2 -ne 0 PNGLIB=-L/usr/local/lib -lpng -L/usr/local/lib -lz -lm
- gmake -f Makefile.test-rrd test-link
- test 2 -eq 0
- echo ERROR: Linking with RRDtool fails ERROR: Linking with RRDtool fails RRDOK=NO
- gmake -f Makefile.test-rrd clean
Roland
From: Ryan Novosielski [mailto:novosirj at umdnj.edu] Sent: Wednesday, 25 July 2012 9:45 AM To: Roland Soderstrom; xymon at xymon.com Subject: Re: [Xymon] Xymon version 4.3.9 now available
Try doing sh -x on whatever the build script for rrd is called (take a look in build -- it should be obvious). I found I was missing headers for pcre when I thought I had everything installed. I took a quick glance and don't see any headers. -- Sent from my Palm Pre
On Jul 24, 2012 19:18, Roland Soderstrom <Rolands at logicaltech.com.au<mailto:Rolands at logicaltech.com.au>> wrote:
Got some problem compiling 4.3.8 and now 4.3.9 same problem. Using Solaris 10 x86 32bit
MAKE=gmake ./configure.server --rrdinclude /usr/local/rrdtool-1.2.19/include --rrdlib /usr/local/rrdtool-1.2.19/lib (also tried without the rrd directives) And then I get Checking for RRDtool ... Not RRDtool 1.0.x, checking for 1.2.x Compiling with RRDtool works OK ERROR: Linking with RRDtool fails RRDtool include- or library-files not found. These are REQUIRED for trend-graph support in Xymon, but Xymon can be built without them (e.g. for a network-probe only installation.
root at pxym01:/var/tmp/xymon-4.3.9#<mailto:root at pxym01:/var/tmp/xymon-4.3.9#> pkginfo -l SMCrrdt PKGINST: SMCrrdt NAME: rrdtool CATEGORY: application ARCH: x86 VERSION: 1.2.19 BASEDIR: /usr/local VENDOR: Tobias Oetiker et al PSTAMP: Steve Christensen INSTDATE: Jul 24 2012 10:52 EMAIL: steve at smc.vnet.net<mailto:steve at smc.vnet.net> STATUS: completely installed FILES: 298 installed pathnames 1 shared pathnames 26 directories 26 executables 8460 blocks used (approx) root at pxym01:/var/tmp/xymon-4.3.9#<mailto:root at pxym01:/var/tmp/xymon-4.3.9#> ls -la /usr/local/rrdtool-1.2.19/include -rw-r--r-- 1 bin bin 4887 Mar 25 2007 rrd.h root at pxym01:/var/tmp/xymon-4.3.9#<mailto:root at pxym01:/var/tmp/xymon-4.3.9#> ls -la /usr/local/rrdtool-1.2.19/lib -rw-r--r-- 1 bin bin 354030 Mar 25 2007 librrd_th.a -rwxr-xr-x 1 bin bin 1150 Mar 25 2007 librrd_th.la lrwxrwxrwx 1 root root 18 Jul 24 10:52 librrd_th.so -> librrd_th.so.2.0.8 lrwxrwxrwx 1 root root 18 Jul 24 10:52 librrd_th.so.2 -> librrd_th.so.2.0.8 -rwxr-xr-x 1 bin bin 302896 Mar 25 2007 librrd_th.so.2.0.8 -rw-r--r-- 1 bin bin 352960 Mar 25 2007 librrd.a -rwxr-xr-x 1 bin bin 1129 Mar 25 2007 librrd.la lrwxrwxrwx 1 root root 15 Jul 24 10:52 librrd.so -> librrd.so.2.0.9 lrwxrwxrwx 1 root root 15 Jul 24 10:52 librrd.so.2 -> librrd.so.2.0.9 -rwxr-xr-x 1 bin bin 302316 Mar 25 2007 librrd.so.2.0.9 drwxr-xr-x 3 bin bin 3 Jul 24 10:52 perl drwxr-xr-x 2 bin bin 4 Jul 24 10:52 rrdtool -rwxr-xr-x 1 bin bin 15456 Mar 25 2007 tclrrd1.2.19.so root at pxym01:/var/tmp/xymon-4.3.9#<mailto:root at pxym01:/var/tmp/xymon-4.3.9#> ldd /usr/local/rrdtool-1.2.19/lib/librrd.so.2.0.9 libpng12.so.0 => /usr/lib/libpng12.so.0 libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 libm.so.2 => /usr/lib/libm.so.2 libfreetype.so.6 => /usr/local/lib/libfreetype.so.6 libz.so => /usr/lib/libz.so libc.so.1 => /usr/lib/libc.so.1 libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1 root at pxym01:/var/tmp/xymon-4.3.9#<mailto:root at pxym01:/var/tmp/xymon-4.3.9#> ldd /usr/local/rrdtool-1.2.19/lib/librrd_th.so.2.0.8 libpng12.so.0 => /usr/lib/libpng12.so.0 libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 libm.so.2 => /usr/lib/libm.so.2 libfreetype.so.6 => /usr/local/lib/libfreetype.so.6 libz.so => /usr/lib/libz.so libc.so.1 => /usr/lib/libc.so.1 libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1
Am I missing something?
- Roland
-----Original Message----- From: xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com> [mailto:xymon-bounces at xymon.com]<mailto:[mailto:xymon-bounces at xymon.com]> On Behalf Of Henrik Størner Sent: Wednesday, 25 July 2012 2:49 AM To: Xymon mailinglist Subject: [Xymon] Xymon version 4.3.9 now available
Hi,
hot on the heels of 4.3.8 comes version 4.3.9 - it should be available from Sourceforge when you read this.
This version cleans up a couple of issues that arose with the 4.3.8 release, most notably the problem with "disable until" being broken, and some issues with building Xymon - mainly on Solaris boxes (1).
- Fix crash when XYMSRV is undefined but XYMSERVERS is
- Fix error in calculating combo-status messages with forward references
- Fix error in disable-until-TIME or disable-until-OK code
- Fix documentation of DURATION in alerts.cfg / xymond_alert so it is consistenly listed as being in "minutes".
- Permit explicit use of ">" and ">=" in alerts.cfg
- Permit building without the RRDtool libraries, e.g. for a network-tester build, but with trend-graphing disabled.
- Full compiler-warning cleanup
- Various configuration/build-script issues fixed.
NB: Due to the build-script changes, it is necessary to run the "configure" command in a clean, freshly-unpacked xymon-4.3.9 directory when building this version. You cannot just copy over the Makefile from a previous version - if you do, some of the programs will not be built.
Here are the hash values:
MD5: 3f784333de43ffc5783a4c65a7d08456 xymon-4.3.9.tar.gz 8e170caa403d9b69bb52f6e5ac4e9e52 xymon_4.3.9_amd64.deb c0ade68012b2445b50117d7439a05ec7 xymon-client_4.3.9_amd64.deb bcabdc0da72a4e574b839f58fc487518 xymon_4.3.9_i386.deb 355caba196250d2ec6bd2a09f9c99f81 xymon-client_4.3.9_i386.deb
SHA-1: 2960ebb130da0ce002ea1866e5ca5d77bff3dd22 xymon-4.3.9.tar.gz 75f54a044d07984f2fc668ecbc699553958808c7 xymon_4.3.9_amd64.deb d3c08b9e03abc986f8019c1612ff91da0f93f403 xymon-client_4.3.9_amd64.deb a67f8a75e66cfb0bba2ce275e52cf16ee91838c2 xymon_4.3.9_i386.deb 0ac9ef5226aaa87b9622ba82cb6c917be9931179 xymon-client_4.3.9_i386.deb
Regards, Henrik
(1) Apparently, the "tr" command on Solaris 10 is incredibly broken when you have LANG set to something other than "C".
Xymon mailing list Xymon at xymon.com<mailto:Xymon at xymon.com> http://lists.xymon.com/mailman/listinfo/xymon
Xymon mailing list Xymon at xymon.com<mailto:Xymon at xymon.com> http://lists.xymon.com/mailman/listinfo/xymon
Actually, if you look there, this may make sense. rrd.h is not in /usr/local/rrdtool-1.2.19, it's in /usr/local/rrdtool-1.2.19/include. The last line seems to have -I being set wrong, doesn't it?
-- Sent from my Palm Pre On Jul 24, 2012 20:08, Roland Soderstrom <Rolands at logicaltech.com.au> wrote:
Ok, First it seems like the vars do not change the default
- echo Checking for RRDtool ... Checking for RRDtool ... RRDDEF= RRDINC= RRDLIB= PNGLIB= ZLIB= But it finds it anyway.
- test -f /usr/local/rrdtool-1.2.19/include/rrd.h RRDINC=/usr/local/rrdtool-1.2.19/include
- test -f /usr/local/rrdtool-1.2.19/lib/librrd.so RRDLIB=/usr/local/rrdtool-1.2.19/lib
- test -f /usr/local/rrdtool-1.2.19/lib/librrd.a RRDLIB=/usr/local/rrdtool-1.2.19/lib RRDINC=/usr/local/rrdtool-1.2.19/include
- echo Not RRDtool 1.0.x, checking for 1.2.x Not RRDtool 1.0.x, checking for 1.2.x RRDDEF=-DRRDTOOL12
- gmake -f Makefile.test-rrd clean
- sed -es@/@_ at g
- uname -s OS=SunOS
- gmake -f Makefile.test-rrd test-compile
RRDINC=-I/usr/local/rrdtool-1.2.19 RRDDEF=-DRRDTOOL12 + sed + -es@/@_ at g uname -s
OS=SunOS
And here it can’t find rrd.h??
test-rrd.c:3:17: rrd.h: No such file or directory
test-rrd.c: In function
main': test-rrd.c:26: warning: implicit declaration of functionrrd_clear_error' test-rrd.c:28: warning: implicit declaration of function `rrd_graph' gmake: *** [test-compile] Error 1 - test 2 -eq 0
- echo ERROR: Cannot compile with RRDtool. ERROR: Cannot compile with RRDtool. RRDOK=NO
- gmake -f Makefile.test-rrd test-link
- test 2 -ne 0 PNGLIB=-L/usr/local/lib -lpng -L/usr/local/lib -lz
- gmake -f Makefile.test-rrd test-link
- test 2 -ne 0 PNGLIB=-L/usr/local/lib -lpng -L/usr/local/lib -lz -lm
- gmake -f Makefile.test-rrd test-link
- test 2 -eq 0
- echo ERROR: Linking with RRDtool fails ERROR: Linking with RRDtool fails RRDOK=NO
- gmake -f Makefile.test-rrd clean - Roland From: Ryan Novosielski [mailto:novosirj at umdnj.edu]
Sent: Wednesday, 25 July 2012 9:45 AM
To: Roland Soderstrom; xymon at xymon.com
Subject: Re: [Xymon] Xymon version 4.3.9 now available Try doing sh -x on whatever the build script for rrd is called (take a look in build -- it should be obvious). I found I was missing headers for pcre when I thought I had everything installed. I took a quick glance and don't see any headers.
-- Sent from my Palm Pre
On Jul 24, 2012 19:18, Roland Soderstrom <Rolands at logicaltech.com.au> wrote:
Got some problem compiling 4.3.8 and now 4.3.9 same problem.
Using Solaris 10 x86 32bit
MAKE=gmake ./configure.server --rrdinclude /usr/local/rrdtool-1.2.19/include --rrdlib /usr/local/rrdtool-1.2.19/lib
(also tried without the rrd directives)
And then I get
Checking for RRDtool ...
Not RRDtool 1.0.x, checking for 1.2.x
Compiling with RRDtool works OK
ERROR: Linking with RRDtool fails
RRDtool include- or library-files not found.
These are REQUIRED for trend-graph support in Xymon, but Xymon can
be built without them (e.g. for a network-probe only installation.
root at pxym01:/var/tmp/xymon-4.3.9# pkginfo -l SMCrrdt
PKGINST: SMCrrdt
NAME: rrdtool
CATEGORY: application
ARCH: x86
VERSION: 1.2.19
BASEDIR: /usr/local
VENDOR: Tobias Oetiker et al
PSTAMP: Steve Christensen
INSTDATE: Jul 24 2012 10:52
EMAIL: steve at smc.vnet.net
STATUS: completely installed
FILES: 298 installed pathnames
1 shared pathnames
26 directories
26 executables
8460 blocks used (approx)
root at pxym01:/var/tmp/xymon-4.3.9# ls -la /usr/local/rrdtool-1.2.19/include
-rw-r--r-- 1 bin bin 4887 Mar 25 2007 rrd.h
root at pxym01:/var/tmp/xymon-4.3.9# ls -la /usr/local/rrdtool-1.2.19/lib
-rw-r--r-- 1 bin bin 354030 Mar 25 2007 librrd_th.a
-rwxr-xr-x 1 bin bin 1150 Mar 25 2007 librrd_th.la
lrwxrwxrwx 1 root root 18 Jul 24 10:52 librrd_th.so -> librrd_th.so.2.0.8
lrwxrwxrwx 1 root root 18 Jul 24 10:52 librrd_th.so.2 -> librrd_th.so.2.0.8
-rwxr-xr-x 1 bin bin 302896 Mar 25 2007 librrd_th.so.2.0.8
-rw-r--r-- 1 bin bin 352960 Mar 25 2007 librrd.a
-rwxr-xr-x 1 bin bin 1129 Mar 25 2007 librrd.la
lrwxrwxrwx 1 root root 15 Jul 24 10:52 librrd.so -> librrd.so.2.0.9
lrwxrwxrwx 1 root root 15 Jul 24 10:52 librrd.so.2 -> librrd.so.2.0.9
-rwxr-xr-x 1 bin bin 302316 Mar 25 2007 librrd.so.2.0.9
drwxr-xr-x 3 bin bin 3 Jul 24 10:52 perl
drwxr-xr-x 2 bin bin 4 Jul 24 10:52 rrdtool
-rwxr-xr-x 1 bin bin 15456 Mar 25 2007 tclrrd1.2.19.so
root at pxym01:/var/tmp/xymon-4.3.9# ldd /usr/local/rrdtool-1.2.19/lib/librrd.so.2.0.9
libpng12.so.0 => /usr/lib/libpng12.so.0
libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2
libm.so.2 => /usr/lib/libm.so.2
libfreetype.so.6 => /usr/local/lib/libfreetype.so.6
libz.so => /usr/lib/libz.so
libc.so.1 => /usr/lib/libc.so.1
libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1
root at pxym01:/var/tmp/xymon-4.3.9# ldd /usr/local/rrdtool-1.2.19/lib/librrd_th.so.2.0.8
libpng12.so.0 => /usr/lib/libpng12.so.0
libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2
libm.so.2 => /usr/lib/libm.so.2
libfreetype.so.6 => /usr/local/lib/libfreetype.so.6
libz.so => /usr/lib/libz.so
libc.so.1 => /usr/lib/libc.so.1
libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1
Am I missing something?
- Roland
-----Original Message-----
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Henrik Størner
Sent: Wednesday, 25 July 2012 2:49 AM
To: Xymon mailinglist
Subject: [Xymon] Xymon version 4.3.9 now available
Hi,
hot on the heels of 4.3.8 comes version 4.3.9 - it should be available from Sourceforge when you read this.
This version cleans up a couple of issues that arose with the 4.3.8 release, most notably the problem with "disable until" being broken, and some issues with building Xymon - mainly on Solaris boxes (1).
Fix crash when XYMSRV is undefined but XYMSERVERS is
Fix error in calculating combo-status messages with
forward references
Fix error in disable-until-TIME or disable-until-OK code
Fix documentation of DURATION in alerts.cfg / xymond_alert so
it is consistenly listed as being in "minutes".
Permit explicit use of ">" and ">=" in alerts.cfg
Permit building without the RRDtool libraries, e.g. for
a network-tester build, but with trend-graphing disabled.
Full compiler-warning cleanup
Various configuration/build-script issues fixed.
NB: Due to the build-script changes, it is necessary to run the "configure" command in a clean, freshly-unpacked xymon-4.3.9 directory when building this version. You cannot just copy over the Makefile from a previous version - if you do, some of the programs will not be built.
Here are the hash values:
MD5:
3f784333de43ffc5783a4c65a7d08456 xymon-4.3.9.tar.gz
8e170caa403d9b69bb52f6e5ac4e9e52 xymon_4.3.9_amd64.deb
c0ade68012b2445b50117d7439a05ec7 xymon-client_4.3.9_amd64.deb
bcabdc0da72a4e574b839f58fc487518 xymon_4.3.9_i386.deb
355caba196250d2ec6bd2a09f9c99f81 xymon-client_4.3.9_i386.deb
SHA-1:
2960ebb130da0ce002ea1866e5ca5d77bff3dd22 xymon-4.3.9.tar.gz
75f54a044d07984f2fc668ecbc699553958808c7 xymon_4.3.9_amd64.deb
d3c08b9e03abc986f8019c1612ff91da0f93f403 xymon-client_4.3.9_amd64.deb
a67f8a75e66cfb0bba2ce275e52cf16ee91838c2 xymon_4.3.9_i386.deb
0ac9ef5226aaa87b9622ba82cb6c917be9931179 xymon-client_4.3.9_i386.deb
Regards,
Henrik
(1) Apparently, the "tr" command on Solaris 10 is incredibly broken when you have LANG set to something other than "C".
Xymon mailing list
Xymon at xymon.com
http://lists.xymon.com/mailman/listinfo/xymon
Xymon mailing list
Xymon at xymon.com
On 25-07-2012 01:18, Roland Soderstrom wrote:
Got some problem compiling 4.3.8 and now 4.3.9 same problem. Using Solaris 10 x86 32bit
MAKE=gmake ./configure.server --rrdinclude /usr/local/rrdtool-1.2.19/include --rrdlib /usr/local/rrdtool-1.2.19/lib (also tried without the rrd directives) And then I get Checking for RRDtool ... Not RRDtool 1.0.x, checking for 1.2.x Compiling with RRDtool works OK ERROR: Linking with RRDtool fails RRDtool include- or library-files not found. These are REQUIRED for trend-graph support in Xymon, but Xymon can be built without them (e.g. for a network-probe only installation.
root at pxym01:/var/tmp/xymon-4.3.9# pkginfo -l SMCrrdt PKGINST: SMCrrdt
Very strange. I downloaded the VM image of Solaris 10/x86 and tried compiling Xymon after adding some of the Sun Freeware packages. There is one problem with the SSL library detection, but nothing with RRDtool. You can see the compile-log here: http://henrik.hswn.dk/solaris10.txt
Regards, Henrik
PS: The SSL issue can be fixed by changing configure.server: The lines that read
if test "$SSLINC" != ""; then
echo "SSLINCDIR = -I$SSLINC" >>Makefile
fi
should use $OSSLINC instead of $SSLINC, i.e.
if test "$OSSLINC" != ""; then
echo "SSLINCDIR = -I$OSSLINC" >>Makefile
fi
On Wed, Jul 25, 2012 at 3:30 AM, Henrik Størner <henrik at hswn.dk> wrote:
On 25-07-2012 01:18, Roland Soderstrom wrote:
Got some problem compiling 4.3.8 and now 4.3.9 same problem. Using Solaris 10 x86 32bit
MAKE=gmake ./configure.server --rrdinclude /usr/local/rrdtool-1.2.19/**include --rrdlib /usr/local/rrdtool-1.2.19/lib (also tried without the rrd directives) And then I get Checking for RRDtool ... Not RRDtool 1.0.x, checking for 1.2.x Compiling with RRDtool works OK ERROR: Linking with RRDtool fails RRDtool include- or library-files not found. These are REQUIRED for trend-graph support in Xymon, but Xymon can be built without them (e.g. for a network-probe only installation.
root at pxym01:/var/tmp/xymon-4.**3.9# pkginfo -l SMCrrdt PKGINST: SMCrrdt
Very strange. I downloaded the VM image of Solaris 10/x86 and tried compiling Xymon after adding some of the Sun Freeware packages. There is one problem with the SSL library detection, but nothing with RRDtool. You can see the compile-log here: http://henrik.hswn.dk/**solaris10.txt<http://henrik.hswn.dk/solaris10.txt>
Regards, Henrik
PS: The SSL issue can be fixed by changing configure.server: The lines that read
if test "$SSLINC" != ""; then echo "SSLINCDIR = -I$SSLINC" >>Makefile fishould use $OSSLINC instead of $SSLINC, i.e.
if test "$OSSLINC" != ""; then echo "SSLINCDIR = -I$OSSLINC" >>Makefile fi
I just installed it in solaris 10 x86 VM as well. I took slightly different route, but it compiled pretty clean.
I went with opencsw instead of sunfreeware for my packages.
I tried to stay away from /usr/sfw to avoid risk breaking xymon due to some solaris patch in the future.
If you run the commands exactly below it should compile fine and your environment will be under /opt/csw.
Some of the packages below might not be necessary to install, so YMMV
pkgadd -d http://get.opencsw.org/now
(edit the following two files to add /opt/csw/bin and /opt/csw/sbin in PATH and SUPATH
vi /etc/default/login
vi /etc/default/su
(logout and log back again)
pkgutil -y -i sudo gmake fping gcc4core pcre libpcre_dev rrdtool librrd4
rrdtool_dev openldap_dev openssl_utils libssl_dev libwrap_dev (all in one line - it will take a while to finish)
useradd -m -d /export/home/xymon -c "Xymon Server" -s /bin/bash xymon
visudo -f /etc/opt/csw/sudoers.d/xymon
(and add this line xymon ALL=(ALL) NOPASSWD: /opt/csw/sbin/fping)
export PATH=$PATH:/usr/ccs/bin
gunzip xymon-4.3.9.tar.gz
tar xvf xymon-4.3.9.tar
cd xymon-4.3.9
MAKE=gmake ./configure.server --ssllib /opt/csw/lib --sslinclude
/opt/csw/include/openssl
gmake
That's all.
______________________________**_________________ Xymon mailing list Xymon at xymon.com http://lists.xymon.com/**mailman/listinfo/xymon<http://lists.xymon.com/mailman/listinfo/xymon>
-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing?
participants (4)
-
henrik@hswn.dk
-
novosirj@umdnj.edu
-
Rolands@logicaltech.com.au
-
vadud3@gmail.com