Client install gone wrong
Hi guys,
Is there a link to where the instructions are for a client install? I tried this and it eventually gives me an error:
Downloaded and extracted xymon-4.3.12In the xymon-4.3.12 directory and executed: ./configure --clientI then executed: make && make installThis is the result:
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -Ipwd/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I" LDFLAGS="" OSDEF="-DLINUX" RPATHOPT="-Wl,--rpath," PCREINCDIR="-I" ZLIBINCDIR="" SSLFLAGS="" SSLINCDIR="" SSLLIBS="" NETLIBS="" LIBRTDEF="-lrt" XYMONTOPDIR="/home/xymon" XYMONLOGDIR="" XYMONHOSTNAME="" XYMONHOSTIP="10.82.10.54" XYMONHOSTOS="" LOCALCLIENT="yes" make -C lib client
make[1]: Entering directory `/xymon-4.3.12/lib'
gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/xymon-4.3.12/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I -I../include -I -c -o matching.o matching.c
/usr/lib/gcc/s390x-redhat-linux/4.4.6/../../../../lib64/crt1.o: In function `_start':
(.text+0x34): undefined reference to `main'
/tmp/ccnSm0vn.o: In function `freeregex':
/xymon-4.3.12/lib/matching.c:66: undefined reference to `pcre_free'
/tmp/ccnSm0vn.o: In function `timematch':
/xymon-4.3.12/lib/matching.c:198: undefined reference to `within_sla'
/tmp/ccnSm0vn.o: In function `matchregex':
/xymon-4.3.12/lib/matching.c:58: undefined reference to `pcre_exec'
/tmp/ccnSm0vn.o: In function `pickdata':
/xymon-4.3.12/lib/matching.c:165: undefined reference to `pcre_exec'
/xymon-4.3.12/lib/matching.c:172: undefined reference to `pcre_copy_substring'
/xymon-4.3.12/lib/matching.c:183: undefined reference to `dbgprintf'
/tmp/ccnSm0vn.o: In function `compileregex_opts':
/xymon-4.3.12/lib/matching.c:31: undefined reference to `dbgprintf'
/xymon-4.3.12/lib/matching.c:32: undefined reference to `pcre_compile'
/xymon-4.3.12/lib/matching.c:34: undefined reference to `errprintf'
/tmp/ccnSm0vn.o: In function `compile_exprs':
/xymon-4.3.12/lib/matching.c:146: undefined reference to `pcre_free'
/xymon-4.3.12/lib/matching.c:145: undefined reference to `errprintf'
/xymon-4.3.12/lib/matching.c:147: undefined reference to `xfreenullstr'
/xymon-4.3.12/lib/matching.c:147: undefined reference to `errprintf'
collect2: ld returned 1 exit status
make[1]: *** [matching.o] Error 1
make[1]: Leaving directory `/xymon-4.3.12/lib'
make: *** [lib-client] Error 2
What am I doing wrong?
David Diep
Look out for those in need this winter. When the temperature or wind chill is 32?F or below, the District issues a Hypothermia Alert. For assistance during an Alert, call the Shelter Hotline<http://dhs.dc.gov/page/hypothermia-alert-plan> at 1-800-535-7252 or 311.
You're missing the PCRE libraries at the very least.
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
On Mon, Dec 16, 2013 at 2:36 PM, Diep, David (OCTO-Contractor) < David.Diep at dc.gov> wrote:
Hi guys,
Is there a link to where the instructions are for a client install? I tried this and it eventually gives me an error:
Downloaded and extracted xymon-4.3.12In the xymon-4.3.12 directory and executed: ./configure --clientI then executed: make && make installThis is the result:CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I
pwd/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I" LDFLAGS="" OSDEF="-DLINUX" RPATHOPT="-Wl,--rpath," PCREINCDIR="-I" ZLIBINCDIR="" SSLFLAGS="" SSLINCDIR="" SSLLIBS="" NETLIBS="" LIBRTDEF="-lrt" XYMONTOPDIR="/home/xymon" XYMONLOGDIR="" XYMONHOSTNAME="" XYMONHOSTIP="10.82.10.54" XYMONHOSTOS="" LOCALCLIENT="yes" make -C lib clientmake[1]: Entering directory `/xymon-4.3.12/lib'
gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/xymon-4.3.12/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I -I../include -I -c -o matching.o matching.c
/usr/lib/gcc/s390x-redhat-linux/4.4.6/../../../../lib64/crt1.o: In function `_start':
(.text+0x34): undefined reference to `main'
/tmp/ccnSm0vn.o: In function `freeregex':
/xymon-4.3.12/lib/matching.c:66: undefined reference to `pcre_free'
/tmp/ccnSm0vn.o: In function `timematch':
/xymon-4.3.12/lib/matching.c:198: undefined reference to `within_sla'
/tmp/ccnSm0vn.o: In function `matchregex':
/xymon-4.3.12/lib/matching.c:58: undefined reference to `pcre_exec'
/tmp/ccnSm0vn.o: In function `pickdata':
/xymon-4.3.12/lib/matching.c:165: undefined reference to `pcre_exec'
/xymon-4.3.12/lib/matching.c:172: undefined reference to `pcre_copy_substring'
/xymon-4.3.12/lib/matching.c:183: undefined reference to `dbgprintf'
/tmp/ccnSm0vn.o: In function `compileregex_opts':
/xymon-4.3.12/lib/matching.c:31: undefined reference to `dbgprintf'
/xymon-4.3.12/lib/matching.c:32: undefined reference to `pcre_compile'
/xymon-4.3.12/lib/matching.c:34: undefined reference to `errprintf'
/tmp/ccnSm0vn.o: In function `compile_exprs':
/xymon-4.3.12/lib/matching.c:146: undefined reference to `pcre_free'
/xymon-4.3.12/lib/matching.c:145: undefined reference to `errprintf'
/xymon-4.3.12/lib/matching.c:147: undefined reference to `xfreenullstr'
/xymon-4.3.12/lib/matching.c:147: undefined reference to `errprintf'
collect2: ld returned 1 exit status
make[1]: *** [matching.o] Error 1
make[1]: Leaving directory `/xymon-4.3.12/lib'
make: *** [lib-client] Error 2
What am I doing wrong?
*David Diep*
Look out for those in need this winter. When the temperature or wind chill is 32°F or below, the District issues a Hypothermia Alert. For assistance during an Alert, call the Shelter Hotline<http://dhs.dc.gov/page/hypothermia-alert-plan>at *1-800-535-7252 <1-800-535-7252>* or *311*.
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Josh,
How would I test? From what I can tell, I have pcre installed:
[root at vipservd xymon-4.3.12]# pcretest PCRE version 7.8 2008-09-05 [root at vipservd xymon-4.3.12]# rpm -qa | grep pcre pcre-7.8-3.1.el6.s390x pcre-devel-7.8-3.1.el6.s390x
From: Josh Luthman [mailto:josh at imaginenetworksllc.com] Sent: Monday, December 16, 2013 3:06 PM To: Diep, David (OCTO-Contractor) Cc: xymon at xymon.com Subject: Re: [Xymon] Client install gone wrong
You're missing the PCRE libraries at the very least.
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
On Mon, Dec 16, 2013 at 2:36 PM, Diep, David (OCTO-Contractor) <David.Diep at dc.gov<mailto:David.Diep at dc.gov>> wrote: Hi guys,
Is there a link to where the instructions are for a client install? I tried this and it eventually gives me an error:
Downloaded and extracted xymon-4.3.12In the xymon-4.3.12 directory and executed: ./configure --clientI then executed: make && make installThis is the result:
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -Ipwd/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I" LDFLAGS="" OSDEF="-DLINUX" RPATHOPT="-Wl,--rpath," PCREINCDIR="-I" ZLIBINCDIR="" SSLFLAGS="" SSLINCDIR="" SSLLIBS="" NETLIBS="" LIBRTDEF="-lrt" XYMONTOPDIR="/home/xymon" XYMONLOGDIR="" XYMONHOSTNAME="" XYMONHOSTIP="10.82.10.54" XYMONHOSTOS="" LOCALCLIENT="yes" make -C lib client
make[1]: Entering directory `/xymon-4.3.12/lib'
gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/xymon-4.3.12/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I -I../include -I -c -o matching.o matching.c
/usr/lib/gcc/s390x-redhat-linux/4.4.6/../../../../lib64/crt1.o: In function `_start':
(.text+0x34): undefined reference to `main'
/tmp/ccnSm0vn.o: In function `freeregex':
/xymon-4.3.12/lib/matching.c:66: undefined reference to `pcre_free'
/tmp/ccnSm0vn.o: In function `timematch':
/xymon-4.3.12/lib/matching.c:198: undefined reference to `within_sla'
/tmp/ccnSm0vn.o: In function `matchregex':
/xymon-4.3.12/lib/matching.c:58: undefined reference to `pcre_exec'
/tmp/ccnSm0vn.o: In function `pickdata':
/xymon-4.3.12/lib/matching.c:165: undefined reference to `pcre_exec'
/xymon-4.3.12/lib/matching.c:172: undefined reference to `pcre_copy_substring'
/xymon-4.3.12/lib/matching.c:183: undefined reference to `dbgprintf'
/tmp/ccnSm0vn.o: In function `compileregex_opts':
/xymon-4.3.12/lib/matching.c:31: undefined reference to `dbgprintf'
/xymon-4.3.12/lib/matching.c:32: undefined reference to `pcre_compile'
/xymon-4.3.12/lib/matching.c:34: undefined reference to `errprintf'
/tmp/ccnSm0vn.o: In function `compile_exprs':
/xymon-4.3.12/lib/matching.c:146: undefined reference to `pcre_free'
/xymon-4.3.12/lib/matching.c:145: undefined reference to `errprintf'
/xymon-4.3.12/lib/matching.c:147: undefined reference to `xfreenullstr'
/xymon-4.3.12/lib/matching.c:147: undefined reference to `errprintf'
collect2: ld returned 1 exit status
make[1]: *** [matching.o] Error 1
make[1]: Leaving directory `/xymon-4.3.12/lib'
make: *** [lib-client] Error 2
What am I doing wrong?
David Diep
Look out for those in need this winter. When the temperature or wind chill is 32°F or below, the District issues a Hypothermia Alert. For assistance during an Alert, call the Shelter Hotline<http://dhs.dc.gov/page/hypothermia-alert-plan> at 1-800-535-7252<tel:1-800-535-7252> or 311.
Xymon mailing list Xymon at xymon.com<mailto:Xymon at xymon.com> http://lists.xymon.com/mailman/listinfo/xymon
You need pcre-libs or pcre-devel.
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
On Mon, Dec 16, 2013 at 3:27 PM, Diep, David (OCTO-Contractor) < David.Diep at dc.gov> wrote:
Josh,
How would I test? From what I can tell, I have pcre installed:
[root at vipservd xymon-4.3.12]# pcretest
PCRE version 7.8 2008-09-05
[root at vipservd xymon-4.3.12]# rpm -qa | grep pcre
pcre-7.8-3.1.el6.s390x
pcre-devel-7.8-3.1.el6.s390x
*From:* Josh Luthman [mailto:josh at imaginenetworksllc.com] *Sent:* Monday, December 16, 2013 3:06 PM *To:* Diep, David (OCTO-Contractor) *Cc:* xymon at xymon.com *Subject:* Re: [Xymon] Client install gone wrong
You're missing the PCRE libraries at the very least.
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
On Mon, Dec 16, 2013 at 2:36 PM, Diep, David (OCTO-Contractor) < David.Diep at dc.gov> wrote:
Hi guys,
Is there a link to where the instructions are for a client install? I tried this and it eventually gives me an error:
Downloaded and extracted xymon-4.3.12In the xymon-4.3.12 directory and executed: ./configure --clientI then executed: make && make installThis is the result:CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I
pwd/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I" LDFLAGS="" OSDEF="-DLINUX" RPATHOPT="-Wl,--rpath," PCREINCDIR="-I" ZLIBINCDIR="" SSLFLAGS="" SSLINCDIR="" SSLLIBS="" NETLIBS="" LIBRTDEF="-lrt" XYMONTOPDIR="/home/xymon" XYMONLOGDIR="" XYMONHOSTNAME="" XYMONHOSTIP="10.82.10.54" XYMONHOSTOS="" LOCALCLIENT="yes" make -C lib clientmake[1]: Entering directory `/xymon-4.3.12/lib'
gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/xymon-4.3.12/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I -I../include -I -c -o matching.o matching.c
/usr/lib/gcc/s390x-redhat-linux/4.4.6/../../../../lib64/crt1.o: In function `_start':
(.text+0x34): undefined reference to `main'
/tmp/ccnSm0vn.o: In function `freeregex':
/xymon-4.3.12/lib/matching.c:66: undefined reference to `pcre_free'
/tmp/ccnSm0vn.o: In function `timematch':
/xymon-4.3.12/lib/matching.c:198: undefined reference to `within_sla'
/tmp/ccnSm0vn.o: In function `matchregex':
/xymon-4.3.12/lib/matching.c:58: undefined reference to `pcre_exec'
/tmp/ccnSm0vn.o: In function `pickdata':
/xymon-4.3.12/lib/matching.c:165: undefined reference to `pcre_exec'
/xymon-4.3.12/lib/matching.c:172: undefined reference to `pcre_copy_substring'
/xymon-4.3.12/lib/matching.c:183: undefined reference to `dbgprintf'
/tmp/ccnSm0vn.o: In function `compileregex_opts':
/xymon-4.3.12/lib/matching.c:31: undefined reference to `dbgprintf'
/xymon-4.3.12/lib/matching.c:32: undefined reference to `pcre_compile'
/xymon-4.3.12/lib/matching.c:34: undefined reference to `errprintf'
/tmp/ccnSm0vn.o: In function `compile_exprs':
/xymon-4.3.12/lib/matching.c:146: undefined reference to `pcre_free'
/xymon-4.3.12/lib/matching.c:145: undefined reference to `errprintf'
/xymon-4.3.12/lib/matching.c:147: undefined reference to `xfreenullstr'
/xymon-4.3.12/lib/matching.c:147: undefined reference to `errprintf'
collect2: ld returned 1 exit status
make[1]: *** [matching.o] Error 1
make[1]: Leaving directory `/xymon-4.3.12/lib'
make: *** [lib-client] Error 2
What am I doing wrong?
*David Diep*
Look out for those in need this winter. When the temperature or wind chill is 32°F or below, the District issues a Hypothermia Alert. For assistance during an Alert, call the Shelter Hotline<http://dhs.dc.gov/page/hypothermia-alert-plan>at *1-800-535-7252 <1-800-535-7252>* or *311*.
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Guys, he just said he had that (pcre and devel), and I see nothing that indicates he's missing pcre libraries. Further, it would have failed during configure. Let's try not to give bad advice.
I don't actually know what's going on here so I can't be more helpful than that unfortunately. Looks like maybe a platform-specific thing. I'd Google for the compile issues you're seeing -- often someone's solved it before, maybe for a different piece of software.
From: Josh Luthman [mailto:josh at imaginenetworksllc.com] Sent: Monday, December 16, 2013 03:33 PM To: Diep, David (OCTO-Contractor) <David.Diep at dc.gov> Cc: xymon at xymon.com <xymon at xymon.com> Subject: Re: [Xymon] Client install gone wrong
You need pcre-libs or pcre-devel.
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
On Mon, Dec 16, 2013 at 3:27 PM, Diep, David (OCTO-Contractor) <David.Diep at dc.gov<mailto:David.Diep at dc.gov>> wrote: Josh,
How would I test? From what I can tell, I have pcre installed:
[root at vipservd xymon-4.3.12]# pcretest PCRE version 7.8 2008-09-05 [root at vipservd xymon-4.3.12]# rpm -qa | grep pcre pcre-7.8-3.1.el6.s390x pcre-devel-7.8-3.1.el6.s390x
From: Josh Luthman [mailto:josh at imaginenetworksllc.com<mailto:josh at imaginenetworksllc.com>] Sent: Monday, December 16, 2013 3:06 PM To: Diep, David (OCTO-Contractor) Cc: xymon at xymon.com<mailto:xymon at xymon.com> Subject: Re: [Xymon] Client install gone wrong
You're missing the PCRE libraries at the very least.
Josh Luthman Office: 937-552-2340<tel:937-552-2340> Direct: 937-552-2343<tel:937-552-2343> 1100 Wayne St Suite 1337 Troy, OH 45373
On Mon, Dec 16, 2013 at 2:36 PM, Diep, David (OCTO-Contractor) <David.Diep at dc.gov<mailto:David.Diep at dc.gov>> wrote: Hi guys,
Is there a link to where the instructions are for a client install? I tried this and it eventually gives me an error:
Downloaded and extracted xymon-4.3.12In the xymon-4.3.12 directory and executed: ./configure --clientI then executed: make && make installThis is the result:
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -Ipwd/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I" LDFLAGS="" OSDEF="-DLINUX" RPATHOPT="-Wl,--rpath," PCREINCDIR="-I" ZLIBINCDIR="" SSLFLAGS="" SSLINCDIR="" SSLLIBS="" NETLIBS="" LIBRTDEF="-lrt" XYMONTOPDIR="/home/xymon" XYMONLOGDIR="" XYMONHOSTNAME="" XYMONHOSTIP="10.82.10.54" XYMONHOSTOS="" LOCALCLIENT="yes" make -C lib client
make[1]: Entering directory `/xymon-4.3.12/lib'
gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/xymon-4.3.12/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I -I../include -I -c -o matching.o matching.c
/usr/lib/gcc/s390x-redhat-linux/4.4.6/../../../../lib64/crt1.o: In function `_start':
(.text+0x34): undefined reference to `main'
/tmp/ccnSm0vn.o: In function `freeregex':
/xymon-4.3.12/lib/matching.c:66: undefined reference to `pcre_free'
/tmp/ccnSm0vn.o: In function `timematch':
/xymon-4.3.12/lib/matching.c:198: undefined reference to `within_sla'
/tmp/ccnSm0vn.o: In function `matchregex':
/xymon-4.3.12/lib/matching.c:58: undefined reference to `pcre_exec'
/tmp/ccnSm0vn.o: In function `pickdata':
/xymon-4.3.12/lib/matching.c:165: undefined reference to `pcre_exec'
/xymon-4.3.12/lib/matching.c:172: undefined reference to `pcre_copy_substring'
/xymon-4.3.12/lib/matching.c:183: undefined reference to `dbgprintf'
/tmp/ccnSm0vn.o: In function `compileregex_opts':
/xymon-4.3.12/lib/matching.c:31: undefined reference to `dbgprintf'
/xymon-4.3.12/lib/matching.c:32: undefined reference to `pcre_compile'
/xymon-4.3.12/lib/matching.c:34: undefined reference to `errprintf'
/tmp/ccnSm0vn.o: In function `compile_exprs':
/xymon-4.3.12/lib/matching.c:146: undefined reference to `pcre_free'
/xymon-4.3.12/lib/matching.c:145: undefined reference to `errprintf'
/xymon-4.3.12/lib/matching.c:147: undefined reference to `xfreenullstr'
/xymon-4.3.12/lib/matching.c:147: undefined reference to `errprintf'
collect2: ld returned 1 exit status
make[1]: *** [matching.o] Error 1
make[1]: Leaving directory `/xymon-4.3.12/lib'
make: *** [lib-client] Error 2
What am I doing wrong?
David Diep
Look out for those in need this winter. When the temperature or wind chill is 32°F or below, the District issues a Hypothermia Alert. For assistance during an Alert, call the Shelter Hotline<https://urldefense.proofpoint.com/v1/url?u=http://dhs.dc.gov/page/hypothermia-alert-plan&k=LEcyRXIAlDBr1gNDokv57g%3D%3D%0A&r=goqVjEbjBQIAv0%2BJe9F%2B4rALGXrt0QPuXIcMfFKUeRg%3D%0A&m=h%2BNpAozvTiPdH7PE3eo%2B5pSM2MjIlVavjyElBOvjRTQ%3D%0A&s=b9eec6b43d5cb1bf9a71d9c48378b58ef7edf2a0541829b848fe74501f62e76e> at 1-800-535-7252<tel:1-800-535-7252> or 311.
Xymon mailing list Xymon at xymon.com<mailto:Xymon at xymon.com> http://lists.xymon.com/mailman/listinfo/xymon<https://urldefense.proofpoint.com/v1/url?u=http://lists.xymon.com/mailman/listinfo/xymon&k=LEcyRXIAlDBr1gNDokv57g%3D%3D%0A&r=goqVjEbjBQIAv0%2BJe9F%2B4rALGXrt0QPuXIcMfFKUeRg%3D%0A&m=h%2BNpAozvTiPdH7PE3eo%2B5pSM2MjIlVavjyElBOvjRTQ%3D%0A&s=1612647a2871c52dc86e2ada94e651af4c53774533af04d8701c173912bfd979>
Whoops, sorry. Missed that last line.
What OS is this? RHEL/CentOS/Fedora I'm guessing.
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
On Mon, Dec 16, 2013 at 3:39 PM, Novosielski, Ryan <novosirj at ca.rutgers.edu>wrote:
Guys, he just said he had that (pcre and devel), and I see nothing that indicates he's missing pcre libraries. Further, it would have failed during configure. Let's try not to give bad advice.
I don't actually know what's going on here so I can't be more helpful than that unfortunately. Looks like maybe a platform-specific thing. I'd Google for the compile issues you're seeing -- often someone's solved it before, maybe for a different piece of software.
*From*: Josh Luthman [mailto:josh at imaginenetworksllc.com] *Sent*: Monday, December 16, 2013 03:33 PM *To*: Diep, David (OCTO-Contractor) <David.Diep at dc.gov> *Cc*: xymon at xymon.com <xymon at xymon.com> *Subject*: Re: [Xymon] Client install gone wrong
You need pcre-libs or pcre-devel.
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
On Mon, Dec 16, 2013 at 3:27 PM, Diep, David (OCTO-Contractor) < David.Diep at dc.gov> wrote:
Josh,
How would I test? From what I can tell, I have pcre installed:
[root at vipservd xymon-4.3.12]# pcretest
PCRE version 7.8 2008-09-05
[root at vipservd xymon-4.3.12]# rpm -qa | grep pcre
pcre-7.8-3.1.el6.s390x
pcre-devel-7.8-3.1.el6.s390x
*From:* Josh Luthman [mailto:josh at imaginenetworksllc.com] *Sent:* Monday, December 16, 2013 3:06 PM *To:* Diep, David (OCTO-Contractor) *Cc:* xymon at xymon.com *Subject:* Re: [Xymon] Client install gone wrong
You're missing the PCRE libraries at the very least.
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
On Mon, Dec 16, 2013 at 2:36 PM, Diep, David (OCTO-Contractor) < David.Diep at dc.gov> wrote:
Hi guys,
Is there a link to where the instructions are for a client install? I tried this and it eventually gives me an error:
Downloaded and extracted xymon-4.3.12In the xymon-4.3.12 directory and executed: ./configure --clientI then executed: make && make installThis is the result:CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I
pwd/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I" LDFLAGS="" OSDEF="-DLINUX" RPATHOPT="-Wl,--rpath," PCREINCDIR="-I" ZLIBINCDIR="" SSLFLAGS="" SSLINCDIR="" SSLLIBS="" NETLIBS="" LIBRTDEF="-lrt" XYMONTOPDIR="/home/xymon" XYMONLOGDIR="" XYMONHOSTNAME="" XYMONHOSTIP="10.82.10.54" XYMONHOSTOS="" LOCALCLIENT="yes" make -C lib clientmake[1]: Entering directory `/xymon-4.3.12/lib'
gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/xymon-4.3.12/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I -I../include -I -c -o matching.o matching.c
/usr/lib/gcc/s390x-redhat-linux/4.4.6/../../../../lib64/crt1.o: In function `_start':
(.text+0x34): undefined reference to `main'
/tmp/ccnSm0vn.o: In function `freeregex':
/xymon-4.3.12/lib/matching.c:66: undefined reference to `pcre_free'
/tmp/ccnSm0vn.o: In function `timematch':
/xymon-4.3.12/lib/matching.c:198: undefined reference to `within_sla'
/tmp/ccnSm0vn.o: In function `matchregex':
/xymon-4.3.12/lib/matching.c:58: undefined reference to `pcre_exec'
/tmp/ccnSm0vn.o: In function `pickdata':
/xymon-4.3.12/lib/matching.c:165: undefined reference to `pcre_exec'
/xymon-4.3.12/lib/matching.c:172: undefined reference to `pcre_copy_substring'
/xymon-4.3.12/lib/matching.c:183: undefined reference to `dbgprintf'
/tmp/ccnSm0vn.o: In function `compileregex_opts':
/xymon-4.3.12/lib/matching.c:31: undefined reference to `dbgprintf'
/xymon-4.3.12/lib/matching.c:32: undefined reference to `pcre_compile'
/xymon-4.3.12/lib/matching.c:34: undefined reference to `errprintf'
/tmp/ccnSm0vn.o: In function `compile_exprs':
/xymon-4.3.12/lib/matching.c:146: undefined reference to `pcre_free'
/xymon-4.3.12/lib/matching.c:145: undefined reference to `errprintf'
/xymon-4.3.12/lib/matching.c:147: undefined reference to `xfreenullstr'
/xymon-4.3.12/lib/matching.c:147: undefined reference to `errprintf'
collect2: ld returned 1 exit status
make[1]: *** [matching.o] Error 1
make[1]: Leaving directory `/xymon-4.3.12/lib'
make: *** [lib-client] Error 2
What am I doing wrong?
*David Diep*
Look out for those in need this winter. When the temperature or wind chill is 32°F or below, the District issues a Hypothermia Alert. For assistance during an Alert, call the Shelter Hotline<https://urldefense.proofpoint.com/v1/url?u=http://dhs.dc.gov/page/hypothermia-alert-plan&k=LEcyRXIAlDBr1gNDokv57g%3D%3D%0A&r=goqVjEbjBQIAv0%2BJe9F%2B4rALGXrt0QPuXIcMfFKUeRg%3D%0A&m=h%2BNpAozvTiPdH7PE3eo%2B5pSM2MjIlVavjyElBOvjRTQ%3D%0A&s=b9eec6b43d5cb1bf9a71d9c48378b58ef7edf2a0541829b848fe74501f62e76e>at *1-800-535-7252 <1-800-535-7252>* or *311*.
Would seem to be EL6 on s390x, from the command line...
David: I'm curious, do you have an rpmbuild environment set up on the system? If so, would you be able to try to rebuild this SRPM on the box:
http://terabithia.org/rpms/xymon/el6/xymon-4.3.12-2.el6.src.rpm
In theory all the BuildRequires are called out, so it should either a) work, b) indicate the -devel package that's missing, or c) die in the same way. It's possible there's an architecture-specific issue going on, but either way it might provide some insight.
Regards,
-jc
On Mon, December 16, 2013 12:44 pm, Josh Luthman wrote:
Whoops, sorry. Missed that last line.
What OS is this? RHEL/CentOS/Fedora I'm guessing.
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
On Mon, Dec 16, 2013 at 3:39 PM, Novosielski, Ryan <novosirj at ca.rutgers.edu>wrote:
Guys, he just said he had that (pcre and devel), and I see nothing that indicates he's missing pcre libraries. Further, it would have failed during configure. Let's try not to give bad advice.
I don't actually know what's going on here so I can't be more helpful than that unfortunately. Looks like maybe a platform-specific thing. I'd Google for the compile issues you're seeing -- often someone's solved it before, maybe for a different piece of software.
*From*: Josh Luthman [mailto:josh at imaginenetworksllc.com] *Sent*: Monday, December 16, 2013 03:33 PM *To*: Diep, David (OCTO-Contractor) <David.Diep at dc.gov> *Cc*: xymon at xymon.com <xymon at xymon.com> *Subject*: Re: [Xymon] Client install gone wrong
You need pcre-libs or pcre-devel.
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
On Mon, Dec 16, 2013 at 3:27 PM, Diep, David (OCTO-Contractor) < David.Diep at dc.gov> wrote:
Josh,
How would I test? From what I can tell, I have pcre installed:
[root at vipservd xymon-4.3.12]# pcretest
PCRE version 7.8 2008-09-05
[root at vipservd xymon-4.3.12]# rpm -qa | grep pcre
pcre-7.8-3.1.el6.s390x
pcre-devel-7.8-3.1.el6.s390x
*From:* Josh Luthman [mailto:josh at imaginenetworksllc.com] *Sent:* Monday, December 16, 2013 3:06 PM *To:* Diep, David (OCTO-Contractor) *Cc:* xymon at xymon.com *Subject:* Re: [Xymon] Client install gone wrong
You're missing the PCRE libraries at the very least.
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
On Mon, Dec 16, 2013 at 2:36 PM, Diep, David (OCTO-Contractor) < David.Diep at dc.gov> wrote:
Hi guys,
Is there a link to where the instructions are for a client install? I tried this and it eventually gives me an error:
Downloaded and extracted xymon-4.3.12In the xymon-4.3.12 directory and executed: ./configure--client
I then executed: make && make installThis is the result:CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I
pwd/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I" LDFLAGS="" OSDEF="-DLINUX" RPATHOPT="-Wl,--rpath," PCREINCDIR="-I" ZLIBINCDIR="" SSLFLAGS="" SSLINCDIR="" SSLLIBS="" NETLIBS="" LIBRTDEF="-lrt" XYMONTOPDIR="/home/xymon" XYMONLOGDIR="" XYMONHOSTNAME="" XYMONHOSTIP="10.82.10.54" XYMONHOSTOS="" LOCALCLIENT="yes" make -C lib clientmake[1]: Entering directory `/xymon-4.3.12/lib'
gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/xymon-4.3.12/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I -I../include -I -c -o matching.o matching.c
/usr/lib/gcc/s390x-redhat-linux/4.4.6/../../../../lib64/crt1.o: In function `_start':
(.text+0x34): undefined reference to `main'
/tmp/ccnSm0vn.o: In function `freeregex':
/xymon-4.3.12/lib/matching.c:66: undefined reference to `pcre_free'
/tmp/ccnSm0vn.o: In function `timematch':
/xymon-4.3.12/lib/matching.c:198: undefined reference to `within_sla'
/tmp/ccnSm0vn.o: In function `matchregex':
/xymon-4.3.12/lib/matching.c:58: undefined reference to `pcre_exec'
/tmp/ccnSm0vn.o: In function `pickdata':
/xymon-4.3.12/lib/matching.c:165: undefined reference to `pcre_exec'
/xymon-4.3.12/lib/matching.c:172: undefined reference to `pcre_copy_substring'
/xymon-4.3.12/lib/matching.c:183: undefined reference to `dbgprintf'
/tmp/ccnSm0vn.o: In function `compileregex_opts':
/xymon-4.3.12/lib/matching.c:31: undefined reference to `dbgprintf'
/xymon-4.3.12/lib/matching.c:32: undefined reference to `pcre_compile'
/xymon-4.3.12/lib/matching.c:34: undefined reference to `errprintf'
/tmp/ccnSm0vn.o: In function `compile_exprs':
/xymon-4.3.12/lib/matching.c:146: undefined reference to `pcre_free'
/xymon-4.3.12/lib/matching.c:145: undefined reference to `errprintf'
/xymon-4.3.12/lib/matching.c:147: undefined reference to `xfreenullstr'
/xymon-4.3.12/lib/matching.c:147: undefined reference to `errprintf'
collect2: ld returned 1 exit status
make[1]: *** [matching.o] Error 1
make[1]: Leaving directory `/xymon-4.3.12/lib'
make: *** [lib-client] Error 2
What am I doing wrong?
*David Diep*
Look out for those in need this winter. When the temperature or wind chill is 32°F or below, the District issues a Hypothermia Alert. For assistance during an Alert, call the Shelter Hotline<https://urldefense.proofpoint.com/v1/url?u=http://dhs.dc.gov/page/hypothermia-alert-plan&k=LEcyRXIAlDBr1gNDokv57g%3D%3D%0A&r=goqVjEbjBQIAv0%2BJe9F%2B4rALGXrt0QPuXIcMfFKUeRg%3D%0A&m=h%2BNpAozvTiPdH7PE3eo%2B5pSM2MjIlVavjyElBOvjRTQ%3D%0A&s=b9eec6b43d5cb1bf9a71d9c48378b58ef7edf2a0541829b848fe74501f62e76e>at *1-800-535-7252 <1-800-535-7252>* or *311*.
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Japheth,
I'll give it a try and let you know.
It could very well be that the client piece is not compatible with a RHEL 6.2 z/OS port (this has happened before with other applications).
What puzzles me is that the server piece installed without issue.
I'll let you know what I find out.
Thanks,
David
Look out for those in need this winter. When the temperature or wind chill is 32°F or below, the District issues a Hypothermia Alert. For assistance during an Alert, call the Shelter Hotline <http://dhs.dc.gov/page/hypothermia-alert-plan> at 1-800-535-7252 or 311.
From: Japheth Cleaver [cleaver at terabithia.org] Sent: Monday, December 16, 2013 4:06 PM To: Diep, David (OCTO-Contractor) Cc: Josh Luthman; Novosielski, Ryan; xymon at xymon.com Subject: Re: [Xymon] Client install gone wrong
Would seem to be EL6 on s390x, from the command line...
David: I'm curious, do you have an rpmbuild environment set up on the system? If so, would you be able to try to rebuild this SRPM on the box:
http://terabithia.org/rpms/xymon/el6/xymon-4.3.12-2.el6.src.rpm
In theory all the BuildRequires are called out, so it should either a) work, b) indicate the -devel package that's missing, or c) die in the same way. It's possible there's an architecture-specific issue going on, but either way it might provide some insight.
Regards,
-jc
On Mon, December 16, 2013 12:44 pm, Josh Luthman wrote:
Whoops, sorry. Missed that last line.
What OS is this? RHEL/CentOS/Fedora I'm guessing.
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
On Mon, Dec 16, 2013 at 3:39 PM, Novosielski, Ryan <novosirj at ca.rutgers.edu>wrote:
Guys, he just said he had that (pcre and devel), and I see nothing that indicates he's missing pcre libraries. Further, it would have failed during configure. Let's try not to give bad advice.
I don't actually know what's going on here so I can't be more helpful than that unfortunately. Looks like maybe a platform-specific thing. I'd Google for the compile issues you're seeing -- often someone's solved it before, maybe for a different piece of software.
*From*: Josh Luthman [mailto:josh at imaginenetworksllc.com] *Sent*: Monday, December 16, 2013 03:33 PM *To*: Diep, David (OCTO-Contractor) <David.Diep at dc.gov> *Cc*: xymon at xymon.com <xymon at xymon.com> *Subject*: Re: [Xymon] Client install gone wrong
You need pcre-libs or pcre-devel.
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
On Mon, Dec 16, 2013 at 3:27 PM, Diep, David (OCTO-Contractor) < David.Diep at dc.gov> wrote:
Josh,
How would I test? From what I can tell, I have pcre installed:
[root at vipservd xymon-4.3.12]# pcretest
PCRE version 7.8 2008-09-05
[root at vipservd xymon-4.3.12]# rpm -qa | grep pcre
pcre-7.8-3.1.el6.s390x
pcre-devel-7.8-3.1.el6.s390x
*From:* Josh Luthman [mailto:josh at imaginenetworksllc.com] *Sent:* Monday, December 16, 2013 3:06 PM *To:* Diep, David (OCTO-Contractor) *Cc:* xymon at xymon.com *Subject:* Re: [Xymon] Client install gone wrong
You're missing the PCRE libraries at the very least.
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
On Mon, Dec 16, 2013 at 2:36 PM, Diep, David (OCTO-Contractor) < David.Diep at dc.gov> wrote:
Hi guys,
Is there a link to where the instructions are for a client install? I tried this and it eventually gives me an error:
Downloaded and extracted xymon-4.3.12In the xymon-4.3.12 directory and executed: ./configure--client
I then executed: make && make installThis is the result:CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I
pwd/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I" LDFLAGS="" OSDEF="-DLINUX" RPATHOPT="-Wl,--rpath," PCREINCDIR="-I" ZLIBINCDIR="" SSLFLAGS="" SSLINCDIR="" SSLLIBS="" NETLIBS="" LIBRTDEF="-lrt" XYMONTOPDIR="/home/xymon" XYMONLOGDIR="" XYMONHOSTNAME="" XYMONHOSTIP="10.82.10.54" XYMONHOSTOS="" LOCALCLIENT="yes" make -C lib clientmake[1]: Entering directory `/xymon-4.3.12/lib'
gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/xymon-4.3.12/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I -I../include -I -c -o matching.o matching.c
/usr/lib/gcc/s390x-redhat-linux/4.4.6/../../../../lib64/crt1.o: In function `_start':
(.text+0x34): undefined reference to `main'
/tmp/ccnSm0vn.o: In function `freeregex':
/xymon-4.3.12/lib/matching.c:66: undefined reference to `pcre_free'
/tmp/ccnSm0vn.o: In function `timematch':
/xymon-4.3.12/lib/matching.c:198: undefined reference to `within_sla'
/tmp/ccnSm0vn.o: In function `matchregex':
/xymon-4.3.12/lib/matching.c:58: undefined reference to `pcre_exec'
/tmp/ccnSm0vn.o: In function `pickdata':
/xymon-4.3.12/lib/matching.c:165: undefined reference to `pcre_exec'
/xymon-4.3.12/lib/matching.c:172: undefined reference to `pcre_copy_substring'
/xymon-4.3.12/lib/matching.c:183: undefined reference to `dbgprintf'
/tmp/ccnSm0vn.o: In function `compileregex_opts':
/xymon-4.3.12/lib/matching.c:31: undefined reference to `dbgprintf'
/xymon-4.3.12/lib/matching.c:32: undefined reference to `pcre_compile'
/xymon-4.3.12/lib/matching.c:34: undefined reference to `errprintf'
/tmp/ccnSm0vn.o: In function `compile_exprs':
/xymon-4.3.12/lib/matching.c:146: undefined reference to `pcre_free'
/xymon-4.3.12/lib/matching.c:145: undefined reference to `errprintf'
/xymon-4.3.12/lib/matching.c:147: undefined reference to `xfreenullstr'
/xymon-4.3.12/lib/matching.c:147: undefined reference to `errprintf'
collect2: ld returned 1 exit status
make[1]: *** [matching.o] Error 1
make[1]: Leaving directory `/xymon-4.3.12/lib'
make: *** [lib-client] Error 2
What am I doing wrong?
*David Diep*
Look out for those in need this winter. When the temperature or wind chill is 32°F or below, the District issues a Hypothermia Alert. For assistance during an Alert, call the Shelter Hotline<https://urldefense.proofpoint.com/v1/url?u=http://dhs.dc.gov/page/hypothermia-alert-plan&k=LEcyRXIAlDBr1gNDokv57g%3D%3D%0A&r=goqVjEbjBQIAv0%2BJe9F%2B4rALGXrt0QPuXIcMfFKUeRg%3D%0A&m=h%2BNpAozvTiPdH7PE3eo%2B5pSM2MjIlVavjyElBOvjRTQ%3D%0A&s=b9eec6b43d5cb1bf9a71d9c48378b58ef7edf2a0541829b848fe74501f62e76e>at *1-800-535-7252 <1-800-535-7252>* or *311*.
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
The "client side" version behaves like legacy Big Brother in that settings for monitoring the client are made on each individual client, as opposed to the config files residing on the server. The client-side config version/build I've been told before is not well maintained (as in may have been broken by recent code changes). The reason for this is that for virtually all use cases, the server-side config client build is superior (who wants to log into 50+ clients to change their configs vs logging into one server to do the same)?
I didn't notice you were doing this before and suspect you'd be better off doing the server-side client build. Honestly, though, there are src.rpm's for this too which are also a better choice in most cases.
----- Original Message ----- From: Diep, David (OCTO-Contractor) [mailto:David.Diep at dc.gov] Sent: Monday, December 16, 2013 09:00 PM To: Japheth Cleaver <cleaver at terabithia.org> Cc: Josh Luthman <josh at imaginenetworksllc.com>; Novosielski, Ryan; xymon at xymon.com <xymon at xymon.com> Subject: RE: [Xymon] Client install gone wrong
Japheth,
I'll give it a try and let you know.
It could very well be that the client piece is not compatible with a RHEL 6.2 z/OS port (this has happened before with other applications).
What puzzles me is that the server piece installed without issue.
I'll let you know what I find out.
Thanks,
David
Look out for those in need this winter. When the temperature or wind chill is 32°F or below, the District issues a Hypothermia Alert. For assistance during an Alert, call the Shelter Hotline <http://dhs.dc.gov/page/hypothermia-alert-plan> at 1-800-535-7252 or 311.
From: Japheth Cleaver [cleaver at terabithia.org] Sent: Monday, December 16, 2013 4:06 PM To: Diep, David (OCTO-Contractor) Cc: Josh Luthman; Novosielski, Ryan; xymon at xymon.com Subject: Re: [Xymon] Client install gone wrong
Would seem to be EL6 on s390x, from the command line...
David: I'm curious, do you have an rpmbuild environment set up on the system? If so, would you be able to try to rebuild this SRPM on the box:
http://terabithia.org/rpms/xymon/el6/xymon-4.3.12-2.el6.src.rpm
In theory all the BuildRequires are called out, so it should either a) work, b) indicate the -devel package that's missing, or c) die in the same way. It's possible there's an architecture-specific issue going on, but either way it might provide some insight.
Regards,
-jc
On Mon, December 16, 2013 12:44 pm, Josh Luthman wrote:
Whoops, sorry. Missed that last line.
What OS is this? RHEL/CentOS/Fedora I'm guessing.
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
On Mon, Dec 16, 2013 at 3:39 PM, Novosielski, Ryan <novosirj at ca.rutgers.edu>wrote:
Guys, he just said he had that (pcre and devel), and I see nothing that indicates he's missing pcre libraries. Further, it would have failed during configure. Let's try not to give bad advice.
I don't actually know what's going on here so I can't be more helpful than that unfortunately. Looks like maybe a platform-specific thing. I'd Google for the compile issues you're seeing -- often someone's solved it before, maybe for a different piece of software.
*From*: Josh Luthman [mailto:josh at imaginenetworksllc.com] *Sent*: Monday, December 16, 2013 03:33 PM *To*: Diep, David (OCTO-Contractor) <David.Diep at dc.gov> *Cc*: xymon at xymon.com <xymon at xymon.com> *Subject*: Re: [Xymon] Client install gone wrong
You need pcre-libs or pcre-devel.
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
On Mon, Dec 16, 2013 at 3:27 PM, Diep, David (OCTO-Contractor) < David.Diep at dc.gov> wrote:
Josh,
How would I test? From what I can tell, I have pcre installed:
[root at vipservd xymon-4.3.12]# pcretest
PCRE version 7.8 2008-09-05
[root at vipservd xymon-4.3.12]# rpm -qa | grep pcre
pcre-7.8-3.1.el6.s390x
pcre-devel-7.8-3.1.el6.s390x
*From:* Josh Luthman [mailto:josh at imaginenetworksllc.com] *Sent:* Monday, December 16, 2013 3:06 PM *To:* Diep, David (OCTO-Contractor) *Cc:* xymon at xymon.com *Subject:* Re: [Xymon] Client install gone wrong
You're missing the PCRE libraries at the very least.
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
On Mon, Dec 16, 2013 at 2:36 PM, Diep, David (OCTO-Contractor) < David.Diep at dc.gov> wrote:
Hi guys,
Is there a link to where the instructions are for a client install? I tried this and it eventually gives me an error:
Downloaded and extracted xymon-4.3.12In the xymon-4.3.12 directory and executed: ./configure--client
I then executed: make && make installThis is the result:CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I
pwd/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I" LDFLAGS="" OSDEF="-DLINUX" RPATHOPT="-Wl,--rpath," PCREINCDIR="-I" ZLIBINCDIR="" SSLFLAGS="" SSLINCDIR="" SSLLIBS="" NETLIBS="" LIBRTDEF="-lrt" XYMONTOPDIR="/home/xymon" XYMONLOGDIR="" XYMONHOSTNAME="" XYMONHOSTIP="10.82.10.54" XYMONHOSTOS="" LOCALCLIENT="yes" make -C lib clientmake[1]: Entering directory `/xymon-4.3.12/lib'
gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/xymon-4.3.12/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I -I../include -I -c -o matching.o matching.c
/usr/lib/gcc/s390x-redhat-linux/4.4.6/../../../../lib64/crt1.o: In function `_start':
(.text+0x34): undefined reference to `main'
/tmp/ccnSm0vn.o: In function `freeregex':
/xymon-4.3.12/lib/matching.c:66: undefined reference to `pcre_free'
/tmp/ccnSm0vn.o: In function `timematch':
/xymon-4.3.12/lib/matching.c:198: undefined reference to `within_sla'
/tmp/ccnSm0vn.o: In function `matchregex':
/xymon-4.3.12/lib/matching.c:58: undefined reference to `pcre_exec'
/tmp/ccnSm0vn.o: In function `pickdata':
/xymon-4.3.12/lib/matching.c:165: undefined reference to `pcre_exec'
/xymon-4.3.12/lib/matching.c:172: undefined reference to `pcre_copy_substring'
/xymon-4.3.12/lib/matching.c:183: undefined reference to `dbgprintf'
/tmp/ccnSm0vn.o: In function `compileregex_opts':
/xymon-4.3.12/lib/matching.c:31: undefined reference to `dbgprintf'
/xymon-4.3.12/lib/matching.c:32: undefined reference to `pcre_compile'
/xymon-4.3.12/lib/matching.c:34: undefined reference to `errprintf'
/tmp/ccnSm0vn.o: In function `compile_exprs':
/xymon-4.3.12/lib/matching.c:146: undefined reference to `pcre_free'
/xymon-4.3.12/lib/matching.c:145: undefined reference to `errprintf'
/xymon-4.3.12/lib/matching.c:147: undefined reference to `xfreenullstr'
/xymon-4.3.12/lib/matching.c:147: undefined reference to `errprintf'
collect2: ld returned 1 exit status
make[1]: *** [matching.o] Error 1
make[1]: Leaving directory `/xymon-4.3.12/lib'
make: *** [lib-client] Error 2
What am I doing wrong?
*David Diep*
Look out for those in need this winter. When the temperature or wind chill is 32°F or below, the District issues a Hypothermia Alert. For assistance during an Alert, call the Shelter Hotline<https://urldefense.proofpoint.com/v1/url?u=http://dhs.dc.gov/page/hypothermia-alert-plan&k=LEcyRXIAlDBr1gNDokv57g%3D%3D%0A&r=goqVjEbjBQIAv0%2BJe9F%2B4rALGXrt0QPuXIcMfFKUeRg%3D%0A&m=h%2BNpAozvTiPdH7PE3eo%2B5pSM2MjIlVavjyElBOvjRTQ%3D%0A&s=b9eec6b43d5cb1bf9a71d9c48378b58ef7edf2a0541829b848fe74501f62e76e>at *1-800-535-7252 <1-800-535-7252>* or *311*.
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
On 12/16/2013 6:55 PM, Novosielski, Ryan wrote:
The "client side" version behaves like legacy Big Brother in that settings for monitoring the client are made on each individual client, as opposed to the config files residing on the server. The client-side config version/build I've been told before is not well maintained (as in may have been broken by recent code changes). The reason for this is that for virtually all use cases, the server-side config client build is superior (who wants to log into 50+ clients to change their configs vs logging into one server to do the same)?
In our use-case, we specifically do not support server-side configurations. The Xymon server is run by a central group which does not know the business rules for the client systems. The owner of the client decides what logs to scrape, and what memory/disk thresholds concern them.
Do things because you should, not just because you can.
John Thurston 907-465-8591 John.Thurston at alaska.gov Enterprise Technology Services Department of Administration State of Alaska
Hi Josh,
It is RHEL 6.2 for z/OS.
The funny thing is, I was already able to install a server... my issue now is with the client.
Thanks
David
From: Josh Luthman [josh at imaginenetworksllc.com] Sent: Monday, December 16, 2013 3:44 PM To: Novosielski, Ryan Cc: Diep, David (OCTO-Contractor); xymon at xymon.com Subject: Re: [Xymon] Client install gone wrong
Whoops, sorry. Missed that last line.
What OS is this? RHEL/CentOS/Fedora I'm guessing.
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
On Mon, Dec 16, 2013 at 3:39 PM, Novosielski, Ryan <novosirj at ca.rutgers.edu<mailto:novosirj at ca.rutgers.edu>> wrote: Guys, he just said he had that (pcre and devel), and I see nothing that indicates he's missing pcre libraries. Further, it would have failed during configure. Let's try not to give bad advice.
I don't actually know what's going on here so I can't be more helpful than that unfortunately. Looks like maybe a platform-specific thing. I'd Google for the compile issues you're seeing -- often someone's solved it before, maybe for a different piece of software.
From: Josh Luthman [mailto:josh at imaginenetworksllc.com<mailto:josh at imaginenetworksllc.com>] Sent: Monday, December 16, 2013 03:33 PM To: Diep, David (OCTO-Contractor) <David.Diep at dc.gov<mailto:David.Diep at dc.gov>> Cc: xymon at xymon.com<mailto:xymon at xymon.com> <xymon at xymon.com<mailto:xymon at xymon.com>> Subject: Re: [Xymon] Client install gone wrong
You need pcre-libs or pcre-devel.
Josh Luthman Office: 937-552-2340<tel:937-552-2340> Direct: 937-552-2343<tel:937-552-2343> 1100 Wayne St Suite 1337 Troy, OH 45373
On Mon, Dec 16, 2013 at 3:27 PM, Diep, David (OCTO-Contractor) <David.Diep at dc.gov<mailto:David.Diep at dc.gov>> wrote: Josh,
How would I test? From what I can tell, I have pcre installed:
[root at vipservd xymon-4.3.12]# pcretest PCRE version 7.8 2008-09-05 [root at vipservd xymon-4.3.12]# rpm -qa | grep pcre pcre-7.8-3.1.el6.s390x pcre-devel-7.8-3.1.el6.s390x
From: Josh Luthman [mailto:josh at imaginenetworksllc.com<mailto:josh at imaginenetworksllc.com>] Sent: Monday, December 16, 2013 3:06 PM To: Diep, David (OCTO-Contractor) Cc: xymon at xymon.com<mailto:xymon at xymon.com> Subject: Re: [Xymon] Client install gone wrong
You're missing the PCRE libraries at the very least.
Josh Luthman Office: 937-552-2340<tel:937-552-2340> Direct: 937-552-2343<tel:937-552-2343> 1100 Wayne St Suite 1337 Troy, OH 45373
On Mon, Dec 16, 2013 at 2:36 PM, Diep, David (OCTO-Contractor) <David.Diep at dc.gov<mailto:David.Diep at dc.gov>> wrote: Hi guys,
Is there a link to where the instructions are for a client install? I tried this and it eventually gives me an error:
Downloaded and extracted xymon-4.3.12In the xymon-4.3.12 directory and executed: ./configure --clientI then executed: make && make installThis is the result:
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -Ipwd/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I" LDFLAGS="" OSDEF="-DLINUX" RPATHOPT="-Wl,--rpath," PCREINCDIR="-I" ZLIBINCDIR="" SSLFLAGS="" SSLINCDIR="" SSLLIBS="" NETLIBS="" LIBRTDEF="-lrt" XYMONTOPDIR="/home/xymon" XYMONLOGDIR="" XYMONHOSTNAME="" XYMONHOSTIP="10.82.10.54" XYMONHOSTOS="" LOCALCLIENT="yes" make -C lib client
make[1]: Entering directory `/xymon-4.3.12/lib'
gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/xymon-4.3.12/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I -I../include -I -c -o matching.o matching.c
/usr/lib/gcc/s390x-redhat-linux/4.4.6/../../../../lib64/crt1.o: In function `_start':
(.text+0x34): undefined reference to `main'
/tmp/ccnSm0vn.o: In function `freeregex':
/xymon-4.3.12/lib/matching.c:66: undefined reference to `pcre_free'
/tmp/ccnSm0vn.o: In function `timematch':
/xymon-4.3.12/lib/matching.c:198: undefined reference to `within_sla'
/tmp/ccnSm0vn.o: In function `matchregex':
/xymon-4.3.12/lib/matching.c:58: undefined reference to `pcre_exec'
/tmp/ccnSm0vn.o: In function `pickdata':
/xymon-4.3.12/lib/matching.c:165: undefined reference to `pcre_exec'
/xymon-4.3.12/lib/matching.c:172: undefined reference to `pcre_copy_substring'
/xymon-4.3.12/lib/matching.c:183: undefined reference to `dbgprintf'
/tmp/ccnSm0vn.o: In function `compileregex_opts':
/xymon-4.3.12/lib/matching.c:31: undefined reference to `dbgprintf'
/xymon-4.3.12/lib/matching.c:32: undefined reference to `pcre_compile'
/xymon-4.3.12/lib/matching.c:34: undefined reference to `errprintf'
/tmp/ccnSm0vn.o: In function `compile_exprs':
/xymon-4.3.12/lib/matching.c:146: undefined reference to `pcre_free'
/xymon-4.3.12/lib/matching.c:145: undefined reference to `errprintf'
/xymon-4.3.12/lib/matching.c:147: undefined reference to `xfreenullstr'
/xymon-4.3.12/lib/matching.c:147: undefined reference to `errprintf'
collect2: ld returned 1 exit status
make[1]: *** [matching.o] Error 1
make[1]: Leaving directory `/xymon-4.3.12/lib'
make: *** [lib-client] Error 2
What am I doing wrong?
David Diep
Look out for those in need this winter. When the temperature or wind chill is 32°F or below, the District issues a Hypothermia Alert. For assistance during an Alert, call the Shelter Hotline<https://urldefense.proofpoint.com/v1/url?u=http://dhs.dc.gov/page/hypothermia-alert-plan&k=LEcyRXIAlDBr1gNDokv57g%3D%3D%0A&r=goqVjEbjBQIAv0%2BJe9F%2B4rALGXrt0QPuXIcMfFKUeRg%3D%0A&m=h%2BNpAozvTiPdH7PE3eo%2B5pSM2MjIlVavjyElBOvjRTQ%3D%0A&s=b9eec6b43d5cb1bf9a71d9c48378b58ef7edf2a0541829b848fe74501f62e76e> at 1-800-535-7252<tel:1-800-535-7252> or 311.
Xymon mailing list Xymon at xymon.com<mailto:Xymon at xymon.com> http://lists.xymon.com/mailman/listinfo/xymon<https://urldefense.proofpoint.com/v1/url?u=http://lists.xymon.com/mailman/listinfo/xymon&k=LEcyRXIAlDBr1gNDokv57g%3D%3D%0A&r=goqVjEbjBQIAv0%2BJe9F%2B4rALGXrt0QPuXIcMfFKUeRg%3D%0A&m=h%2BNpAozvTiPdH7PE3eo%2B5pSM2MjIlVavjyElBOvjRTQ%3D%0A&s=1612647a2871c52dc86e2ada94e651af4c53774533af04d8701c173912bfd979>
This has happened before, CentOS/RHEL x86_64:
xymon-4.3.10: http://lists.xymon.com/pipermail/xymon/2012-December/036442.html
xymon-4-3.12: http://lists.xymon.com/archive/2013-August/038056.html
and a possible fix:
http://lists.xymon.com/archive/2013-August/038064.html
Ralph Mitchell
On Mon, Dec 16, 2013 at 9:02 PM, Diep, David (OCTO-Contractor) < David.Diep at dc.gov> wrote:
Hi Josh,
It is RHEL 6.2 for z/OS.
The funny thing is, I was already able to install a server... my issue now is with the client.
Thanks
David
*From:* Josh Luthman [josh at imaginenetworksllc.com] *Sent:* Monday, December 16, 2013 3:44 PM *To:* Novosielski, Ryan *Cc:* Diep, David (OCTO-Contractor); xymon at xymon.com
*Subject:* Re: [Xymon] Client install gone wrong
Whoops, sorry. Missed that last line.
What OS is this? RHEL/CentOS/Fedora I'm guessing.
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
On Mon, Dec 16, 2013 at 3:39 PM, Novosielski, Ryan < novosirj at ca.rutgers.edu> wrote:
Guys, he just said he had that (pcre and devel), and I see nothing that indicates he's missing pcre libraries. Further, it would have failed during configure. Let's try not to give bad advice.
I don't actually know what's going on here so I can't be more helpful than that unfortunately. Looks like maybe a platform-specific thing. I'd Google for the compile issues you're seeing -- often someone's solved it before, maybe for a different piece of software.
*From*: Josh Luthman [mailto:josh at imaginenetworksllc.com] *Sent*: Monday, December 16, 2013 03:33 PM *To*: Diep, David (OCTO-Contractor) <David.Diep at dc.gov> *Cc*: xymon at xymon.com <xymon at xymon.com> *Subject*: Re: [Xymon] Client install gone wrong
You need pcre-libs or pcre-devel.
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
On Mon, Dec 16, 2013 at 3:27 PM, Diep, David (OCTO-Contractor) < David.Diep at dc.gov> wrote:
Josh,
How would I test? From what I can tell, I have pcre installed:
[root at vipservd xymon-4.3.12]# pcretest
PCRE version 7.8 2008-09-05
[root at vipservd xymon-4.3.12]# rpm -qa | grep pcre
pcre-7.8-3.1.el6.s390x
pcre-devel-7.8-3.1.el6.s390x
*From:* Josh Luthman [mailto:josh at imaginenetworksllc.com] *Sent:* Monday, December 16, 2013 3:06 PM *To:* Diep, David (OCTO-Contractor) *Cc:* xymon at xymon.com *Subject:* Re: [Xymon] Client install gone wrong
You're missing the PCRE libraries at the very least.
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
On Mon, Dec 16, 2013 at 2:36 PM, Diep, David (OCTO-Contractor) < David.Diep at dc.gov> wrote:
Hi guys,
Is there a link to where the instructions are for a client install? I tried this and it eventually gives me an error:
Downloaded and extracted xymon-4.3.12In the xymon-4.3.12 directory and executed: ./configure--client
I then executed: make && make installThis is the result:CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I
pwd/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I" LDFLAGS="" OSDEF="-DLINUX" RPATHOPT="-Wl,--rpath," PCREINCDIR="-I" ZLIBINCDIR="" SSLFLAGS="" SSLINCDIR="" SSLLIBS="" NETLIBS="" LIBRTDEF="-lrt" XYMONTOPDIR="/home/xymon" XYMONLOGDIR="" XYMONHOSTNAME="" XYMONHOSTIP="10.82.10.54" XYMONHOSTOS="" LOCALCLIENT="yes" make -C lib clientmake[1]: Entering directory `/xymon-4.3.12/lib'
gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/xymon-4.3.12/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I -I../include -I -c -o matching.o matching.c
/usr/lib/gcc/s390x-redhat-linux/4.4.6/../../../../lib64/crt1.o: In function `_start':
(.text+0x34): undefined reference to `main'
/tmp/ccnSm0vn.o: In function `freeregex':
/xymon-4.3.12/lib/matching.c:66: undefined reference to `pcre_free'
/tmp/ccnSm0vn.o: In function `timematch':
/xymon-4.3.12/lib/matching.c:198: undefined reference to `within_sla'
/tmp/ccnSm0vn.o: In function `matchregex':
/xymon-4.3.12/lib/matching.c:58: undefined reference to `pcre_exec'
/tmp/ccnSm0vn.o: In function `pickdata':
/xymon-4.3.12/lib/matching.c:165: undefined reference to `pcre_exec'
/xymon-4.3.12/lib/matching.c:172: undefined reference to `pcre_copy_substring'
/xymon-4.3.12/lib/matching.c:183: undefined reference to `dbgprintf'
/tmp/ccnSm0vn.o: In function `compileregex_opts':
/xymon-4.3.12/lib/matching.c:31: undefined reference to `dbgprintf'
/xymon-4.3.12/lib/matching.c:32: undefined reference to `pcre_compile'
/xymon-4.3.12/lib/matching.c:34: undefined reference to `errprintf'
/tmp/ccnSm0vn.o: In function `compile_exprs':
/xymon-4.3.12/lib/matching.c:146: undefined reference to `pcre_free'
/xymon-4.3.12/lib/matching.c:145: undefined reference to `errprintf'
/xymon-4.3.12/lib/matching.c:147: undefined reference to `xfreenullstr'
/xymon-4.3.12/lib/matching.c:147: undefined reference to `errprintf'
collect2: ld returned 1 exit status
make[1]: *** [matching.o] Error 1
make[1]: Leaving directory `/xymon-4.3.12/lib'
make: *** [lib-client] Error 2
What am I doing wrong?
*David Diep*
Look out for those in need this winter. When the temperature or wind chill is 32°F or below, the District issues a Hypothermia Alert. For assistance during an Alert, call the Shelter Hotline<https://urldefense.proofpoint.com/v1/url?u=http://dhs.dc.gov/page/hypothermia-alert-plan&k=LEcyRXIAlDBr1gNDokv57g%3D%3D%0A&r=goqVjEbjBQIAv0%2BJe9F%2B4rALGXrt0QPuXIcMfFKUeRg%3D%0A&m=h%2BNpAozvTiPdH7PE3eo%2B5pSM2MjIlVavjyElBOvjRTQ%3D%0A&s=b9eec6b43d5cb1bf9a71d9c48378b58ef7edf2a0541829b848fe74501f62e76e>at *1-800-535-7252 <1-800-535-7252>* or *311*.
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
On 17 December 2013 06:36, Diep, David (OCTO-Contractor) <David.Diep at dc.gov>wrote:
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I
pwd/include -DCLIENTONLY=1 -DLOCALCLIENT=1
^^^
Any reason why you opted for client-side configuration instead of the (default) server-side aka central mode? I think if you build it with server-side config, it will work.
The reason it's failing is there seems to be a bug in the makefile creation that sets PCREINCDIR to "-l" instead of a valid directory or empty. You can probably get further with this:
$ make PCREINCDIR=""
But there seems to be other problems. So I'd recommend using server-side configuration.
J
Hi Jeremy,
I just assumed that was the proper way of setting up Xymon. One machine playing the role of the central server while the others are the clients. I noticed that the server does utilize more CPU cycles, in my case they share CPU resources.
I will do the server side configuration instead.
Thanks,
David Diep
From: Jeremy Laidman [mailto:jlaidman at rebel-it.com.au] Sent: Monday, December 16, 2013 9:38 PM To: Diep, David (OCTO-Contractor) Cc: xymon at xymon.com Subject: Re: [Xymon] Client install gone wrong
On 17 December 2013 06:36, Diep, David (OCTO-Contractor) <David.Diep at dc.gov<mailto:David.Diep at dc.gov>> wrote:
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -Ipwd/include -DCLIENTONLY=1 -DLOCALCLIENT=1
^^^
Any reason why you opted for client-side configuration instead of the (default) server-side aka central mode? I think if you build it with server-side config, it will work.
The reason it's failing is there seems to be a bug in the makefile creation that sets PCREINCDIR to "-l" instead of a valid directory or empty. You can probably get further with this:
$ make PCREINCDIR=""
But there seems to be other problems. So I'd recommend using server-side configuration.
J
Look out for those in need this winter. When the temperature or wind chill is 32?F or below, the District issues a Hypothermia Alert. For assistance during an Alert, call the Shelter Hotline<http://dhs.dc.gov/page/hypothermia-alert-plan> at 1-800-535-7252 or 311.
I still don't think you're understanding this.
Xymon has the centralized server, which has a network component that polls other servers on network-related matters and the clients that report in on their host's local resources. That is true in all cases, and was true of Big Brother. What was added in Xymon/Hobbit or maybe somewhere in between is the ability to configure the alerting thresholds on the server side (analysis.cfg is it?) rather than keeping that information on likely a large number of client hosts, making changes tedious. This new way has been the default and preferred for some time. I don't think the client-side ought to be offered and broken, but I've heard it may be.
From: Diep, David (OCTO-Contractor) [mailto:David.Diep at dc.gov] Sent: Tuesday, December 17, 2013 07:46 AM To: Jeremy Laidman <jlaidman at rebel-it.com.au> Cc: xymon at xymon.com <xymon at xymon.com> Subject: Re: [Xymon] Client install gone wrong
Hi Jeremy,
I just assumed that was the proper way of setting up Xymon. One machine playing the role of the central server while the others are the clients. I noticed that the server does utilize more CPU cycles, in my case they share CPU resources.
I will do the server side configuration instead.
Thanks,
David Diep
From: Jeremy Laidman [mailto:jlaidman at rebel-it.com.au] Sent: Monday, December 16, 2013 9:38 PM To: Diep, David (OCTO-Contractor) Cc: xymon at xymon.com Subject: Re: [Xymon] Client install gone wrong
On 17 December 2013 06:36, Diep, David (OCTO-Contractor) <David.Diep at dc.gov<mailto:David.Diep at dc.gov>> wrote:
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -Ipwd/include -DCLIENTONLY=1 -DLOCALCLIENT=1
^^^
Any reason why you opted for client-side configuration instead of the (default) server-side aka central mode? I think if you build it with server-side config, it will work.
The reason it's failing is there seems to be a bug in the makefile creation that sets PCREINCDIR to "-l" instead of a valid directory or empty. You can probably get further with this:
$ make PCREINCDIR=""
But there seems to be other problems. So I'd recommend using server-side configuration.
J
Look out for those in need this winter. When the temperature or wind chill is 32°F or below, the District issues a Hypothermia Alert. For assistance during an Alert, call the Shelter Hotline<https://urldefense.proofpoint.com/v1/url?u=http://dhs.dc.gov/page/hypothermia-alert-plan&k=LEcyRXIAlDBr1gNDokv57g%3D%3D%0A&r=goqVjEbjBQIAv0%2BJe9F%2B4rALGXrt0QPuXIcMfFKUeRg%3D%0A&m=luVeeQzf959XECMtt7rBswv%2BKiokdGzlRIA0IB5MlC4%3D%0A&s=b35b2a2e96e86c1071a2f2df0a004e2b9aabdefe9effba1c98658045669ff863> at 1-800-535-7252 or 311.
Thanks for the explanation, Ryan.
You correct.. I am quite new to xymon.
Thanks,
David Diep
From: Novosielski, Ryan [mailto:novosirj at ca.rutgers.edu] Sent: Tuesday, December 17, 2013 9:13 AM To: Diep, David (OCTO-Contractor); 'jlaidman at rebel-it.com.au' Cc: 'xymon at xymon.com' Subject: Re: [Xymon] Client install gone wrong
This message was sent securely using ZixCorp.<http://www.zixcorp.com/get-started/>
I still don't think you're understanding this.
Xymon has the centralized server, which has a network component that polls other servers on network-related matters and the clients that report in on their host's local resources. That is true in all cases, and was true of Big Brother. What was added in Xymon/Hobbit or maybe somewhere in between is the ability to configure the alerting thresholds on the server side (analysis.cfg is it?) rather than keeping that information on likely a large number of client hosts, making changes tedious. This new way has been the default and preferred for some time. I don't think the client-side ought to be offered and broken, but I've heard it may be.
From: Diep, David (OCTO-Contractor) [mailto:David.Diep at dc.gov] Sent: Tuesday, December 17, 2013 07:46 AM To: Jeremy Laidman <jlaidman at rebel-it.com.au> Cc: xymon at xymon.com <xymon at xymon.com> Subject: Re: [Xymon] Client install gone wrong
Hi Jeremy,
I just assumed that was the proper way of setting up Xymon. One machine playing the role of the central server while the others are the clients. I noticed that the server does utilize more CPU cycles, in my case they share CPU resources.
I will do the server side configuration instead.
Thanks,
David Diep
From: Jeremy Laidman [mailto:jlaidman at rebel-it.com.au] Sent: Monday, December 16, 2013 9:38 PM To: Diep, David (OCTO-Contractor) Cc: xymon at xymon.com Subject: Re: [Xymon] Client install gone wrong
On 17 December 2013 06:36, Diep, David (OCTO-Contractor) <David.Diep at dc.gov<mailto:David.Diep at dc.gov>> wrote:
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -Ipwd/include -DCLIENTONLY=1 -DLOCALCLIENT=1
^^^
Any reason why you opted for client-side configuration instead of the (default) server-side aka central mode? I think if you build it with server-side config, it will work.
The reason it's failing is there seems to be a bug in the makefile creation that sets PCREINCDIR to "-l" instead of a valid directory or empty. You can probably get further with this:
$ make PCREINCDIR=""
But there seems to be other problems. So I'd recommend using server-side configuration.
J
Look out for those in need this winter. When the temperature or wind chill is 32°F or below, the District issues a Hypothermia Alert. For assistance during an Alert, call the Shelter Hotline<https://urldefense.proofpoint.com/v1/url?u=http://dhs.dc.gov/page/hypothermia-alert-plan&k=LEcyRXIAlDBr1gNDokv57g%3D%3D%0A&r=goqVjEbjBQIAv0%2BJe9F%2B4rALGXrt0QPuXIcMfFKUeRg%3D%0A&m=luVeeQzf959XECMtt7rBswv%2BKiokdGzlRIA0IB5MlC4%3D%0A&s=b35b2a2e96e86c1071a2f2df0a004e2b9aabdefe9effba1c98658045669ff863> at 1-800-535-7252 or 311.
This message was secured by ZixCorp<http://www.zixcorp.com>(R).
On 18 December 2013 01:12, Novosielski, Ryan <novosirj at ca.rutgers.edu>wrote:
This new way has been the default and preferred for some time. I don't think the client-side ought to be offered and broken, but I've heard it may be.
I think the only thing that is broken is the build process (makefiles, etc). If you make a client with server-side configuration (central mode) and then install it, you can still change it over to client-side configuration, and vice versa.
J
I'm not sure if that's what I did, but I configured my second machine as a server. I then went to the first machine and changed the hosts.cfg and added both machines there.
It looks good... I can see both machines. Good start... I'll start playing with the other functions now.
Thanks for all your help!
David Diep
From: Jeremy Laidman [mailto:jlaidman at rebel-it.com.au] Sent: Tuesday, December 17, 2013 5:55 PM To: Novosielski, Ryan Cc: Diep, David (OCTO-Contractor); xymon at xymon.com Subject: Re: [Xymon] Client install gone wrong
On 18 December 2013 01:12, Novosielski, Ryan <novosirj at ca.rutgers.edu<mailto:novosirj at ca.rutgers.edu>> wrote: This new way has been the default and preferred for some time. I don't think the client-side ought to be offered and broken, but I've heard it may be.
I think the only thing that is broken is the build process (makefiles, etc). If you make a client with server-side configuration (central mode) and then install it, you can still change it over to client-side configuration, and vice versa.
J
Look out for those in need this winter. When the temperature or wind chill is 32?F or below, the District issues a Hypothermia Alert. For assistance during an Alert, call the Shelter Hotline<http://dhs.dc.gov/page/hypothermia-alert-plan> at 1-800-535-7252 or 311.
Did you configure it as a server or did you turn off "client side config"?
From: Diep, David (OCTO-Contractor) [mailto:David.Diep at dc.gov] Sent: Tuesday, December 17, 2013 06:03 PM To: Jeremy Laidman <jlaidman at rebel-it.com.au>; Novosielski, Ryan Cc: xymon at xymon.com <xymon at xymon.com> Subject: RE: [Xymon] Client install gone wrong
I’m not sure if that’s what I did, but I configured my second machine as a server. I then went to the first machine and changed the hosts.cfg and added both machines there.
It looks good… I can see both machines. Good start… I’ll start playing with the other functions now.
Thanks for all your help!
David Diep
From: Jeremy Laidman [mailto:jlaidman at rebel-it.com.au] Sent: Tuesday, December 17, 2013 5:55 PM To: Novosielski, Ryan Cc: Diep, David (OCTO-Contractor); xymon at xymon.com Subject: Re: [Xymon] Client install gone wrong
On 18 December 2013 01:12, Novosielski, Ryan <novosirj at ca.rutgers.edu<mailto:novosirj at ca.rutgers.edu>> wrote: This new way has been the default and preferred for some time. I don't think the client-side ought to be offered and broken, but I've heard it may be.
I think the only thing that is broken is the build process (makefiles, etc). If you make a client with server-side configuration (central mode) and then install it, you can still change it over to client-side configuration, and vice versa.
J
Look out for those in need this winter. When the temperature or wind chill is 32°F or below, the District issues a Hypothermia Alert. For assistance during an Alert, call the Shelter Hotline<https://urldefense.proofpoint.com/v1/url?u=http://dhs.dc.gov/page/hypothermia-alert-plan&k=LEcyRXIAlDBr1gNDokv57g%3D%3D%0A&r=goqVjEbjBQIAv0%2BJe9F%2B4rALGXrt0QPuXIcMfFKUeRg%3D%0A&m=leWzuByOvpTRzEFhfpbUiUTjfQp0xVEBnMVRfC6mIYc%3D%0A&s=ebeacf632c5a8a0d79cce3e1a4e7ca1665561e63a8c51178c4349b90e238fcb5> at 1-800-535-7252 or 311.
I configured it as a server, I wanted to try the “client side config”, but I just didn’t have any time today.
Maybe I’ll give it a try on another machine when I came up for air.
David Diep
From: Novosielski, Ryan [mailto:novosirj at ca.rutgers.edu] Sent: Tuesday, December 17, 2013 6:05 PM To: Diep, David (OCTO-Contractor); 'jlaidman at rebel-it.com.au' Cc: 'xymon at xymon.com' Subject: Re: [Xymon] Client install gone wrong
This message was sent securely using ZixCorp.<http://www.zixcorp.com/get-started/>
Did you configure it as a server or did you turn off "client side config"?
From: Diep, David (OCTO-Contractor) [mailto:David.Diep at dc.gov] Sent: Tuesday, December 17, 2013 06:03 PM To: Jeremy Laidman <jlaidman at rebel-it.com.au>; Novosielski, Ryan Cc: xymon at xymon.com <xymon at xymon.com> Subject: RE: [Xymon] Client install gone wrong
I’m not sure if that’s what I did, but I configured my second machine as a server. I then went to the first machine and changed the hosts.cfg and added both machines there.
It looks good… I can see both machines. Good start… I’ll start playing with the other functions now.
Thanks for all your help!
David Diep
From: Jeremy Laidman [mailto:jlaidman at rebel-it.com.au] Sent: Tuesday, December 17, 2013 5:55 PM To: Novosielski, Ryan Cc: Diep, David (OCTO-Contractor); xymon at xymon.com Subject: Re: [Xymon] Client install gone wrong
On 18 December 2013 01:12, Novosielski, Ryan <novosirj at ca.rutgers.edu<mailto:novosirj at ca.rutgers.edu>> wrote: This new way has been the default and preferred for some time. I don't think the client-side ought to be offered and broken, but I've heard it may be.
I think the only thing that is broken is the build process (makefiles, etc). If you make a client with server-side configuration (central mode) and then install it, you can still change it over to client-side configuration, and vice versa.
J
Look out for those in need this winter. When the temperature or wind chill is 32°F or below, the District issues a Hypothermia Alert. For assistance during an Alert, call the Shelter Hotline<https://urldefense.proofpoint.com/v1/url?u=http://dhs.dc.gov/page/hypothermia-alert-plan&k=LEcyRXIAlDBr1gNDokv57g%3D%3D%0A&r=goqVjEbjBQIAv0%2BJe9F%2B4rALGXrt0QPuXIcMfFKUeRg%3D%0A&m=leWzuByOvpTRzEFhfpbUiUTjfQp0xVEBnMVRfC6mIYc%3D%0A&s=ebeacf632c5a8a0d79cce3e1a4e7ca1665561e63a8c51178c4349b90e238fcb5> at 1-800-535-7252 or 311.
This message was secured by ZixCorp<http://www.zixcorp.com>(R).
You are still confused.
There is the server build, you only need one. Then there are two client builds. Our theory is the only client that builds is server side. You do NOT need to run a server on every client.
Might be time to RTFM, where it's explained pretty well (or at least made sense to me).
From: Diep, David (OCTO-Contractor) [mailto:David.Diep at dc.gov] Sent: Tuesday, December 17, 2013 06:07 PM To: Novosielski, Ryan; 'jlaidman at rebel-it.com.au' <jlaidman at rebel-it.com.au> Cc: 'xymon at xymon.com' <xymon at xymon.com> Subject: RE: [Xymon] Client install gone wrong
I configured it as a server, I wanted to try the “client side config”, but I just didn’t have any time today.
Maybe I’ll give it a try on another machine when I came up for air.
David Diep
From: Novosielski, Ryan [mailto:novosirj at ca.rutgers.edu] Sent: Tuesday, December 17, 2013 6:05 PM To: Diep, David (OCTO-Contractor); 'jlaidman at rebel-it.com.au' Cc: 'xymon at xymon.com' Subject: Re: [Xymon] Client install gone wrong
This message was sent securely using ZixCorp.<https://urldefense.proofpoint.com/v1/url?u=http://www.zixcorp.com/get-started/&k=LEcyRXIAlDBr1gNDokv57g%3D%3D%0A&r=goqVjEbjBQIAv0%2BJe9F%2B4rALGXrt0QPuXIcMfFKUeRg%3D%0A&m=EnAEhOIsQBtkn8mCZDPQYKofkAV7lOvVn0cVsSvXVLw%3D%0A&s=8b282b65bcdbcd148f06e23874f305b47edefc60d4b9c64b9aaac0c611d0976a>
Did you configure it as a server or did you turn off "client side config"?
From: Diep, David (OCTO-Contractor) [mailto:David.Diep at dc.gov] Sent: Tuesday, December 17, 2013 06:03 PM To: Jeremy Laidman <jlaidman at rebel-it.com.au>; Novosielski, Ryan Cc: xymon at xymon.com <xymon at xymon.com> Subject: RE: [Xymon] Client install gone wrong
I’m not sure if that’s what I did, but I configured my second machine as a server. I then went to the first machine and changed the hosts.cfg and added both machines there.
It looks good… I can see both machines. Good start… I’ll start playing with the other functions now.
Thanks for all your help!
David Diep
From: Jeremy Laidman [mailto:jlaidman at rebel-it.com.au] Sent: Tuesday, December 17, 2013 5:55 PM To: Novosielski, Ryan Cc: Diep, David (OCTO-Contractor); xymon at xymon.com Subject: Re: [Xymon] Client install gone wrong
On 18 December 2013 01:12, Novosielski, Ryan <novosirj at ca.rutgers.edu<mailto:novosirj at ca.rutgers.edu>> wrote: This new way has been the default and preferred for some time. I don't think the client-side ought to be offered and broken, but I've heard it may be.
I think the only thing that is broken is the build process (makefiles, etc). If you make a client with server-side configuration (central mode) and then install it, you can still change it over to client-side configuration, and vice versa.
J
Look out for those in need this winter. When the temperature or wind chill is 32°F or below, the District issues a Hypothermia Alert. For assistance during an Alert, call the Shelter Hotline<https://urldefense.proofpoint.com/v1/url?u=http://dhs.dc.gov/page/hypothermia-alert-plan&k=LEcyRXIAlDBr1gNDokv57g%3D%3D%0A&r=goqVjEbjBQIAv0%2BJe9F%2B4rALGXrt0QPuXIcMfFKUeRg%3D%0A&m=leWzuByOvpTRzEFhfpbUiUTjfQp0xVEBnMVRfC6mIYc%3D%0A&s=ebeacf632c5a8a0d79cce3e1a4e7ca1665561e63a8c51178c4349b90e238fcb5> at 1-800-535-7252 or 311.
This message was secured by ZixCorp<https://urldefense.proofpoint.com/v1/url?u=http://www.zixcorp.com&k=LEcyRXIAlDBr1gNDokv57g%3D%3D%0A&r=goqVjEbjBQIAv0%2BJe9F%2B4rALGXrt0QPuXIcMfFKUeRg%3D%0A&m=EnAEhOIsQBtkn8mCZDPQYKofkAV7lOvVn0cVsSvXVLw%3D%0A&s=fa141b318f6a9d731db1b34885eaae4137f96eb79ccee7b4a494586556998ab0>(R).
Ryan,
Sorry, I was confused with what you were asking. I only downloaded xymon-4.3.12.tar.gz
I did not bother with the xymon-client_4.3.12_amd64.deb… I assumed that it was meant for an amd 64 chip? I didn’t even think to give it a try.
David Diep
From: Novosielski, Ryan [mailto:novosirj at ca.rutgers.edu] Sent: Tuesday, December 17, 2013 6:11 PM To: Diep, David (OCTO-Contractor); 'jlaidman at rebel-it.com.au' Cc: 'xymon at xymon.com' Subject: Re: [Xymon] Client install gone wrong
This message was sent securely using ZixCorp.<http://www.zixcorp.com/get-started/>
You are still confused.
There is the server build, you only need one. Then there are two client builds. Our theory is the only client that builds is server side. You do NOT need to run a server on every client.
Might be time to RTFM, where it's explained pretty well (or at least made sense to me).
From: Diep, David (OCTO-Contractor) [mailto:David.Diep at dc.gov] Sent: Tuesday, December 17, 2013 06:07 PM To: Novosielski, Ryan; 'jlaidman at rebel-it.com.au' <jlaidman at rebel-it.com.au> Cc: 'xymon at xymon.com' <xymon at xymon.com> Subject: RE: [Xymon] Client install gone wrong
I configured it as a server, I wanted to try the “client side config”, but I just didn’t have any time today.
Maybe I’ll give it a try on another machine when I came up for air.
David Diep
From: Novosielski, Ryan [mailto:novosirj at ca.rutgers.edu] Sent: Tuesday, December 17, 2013 6:05 PM To: Diep, David (OCTO-Contractor); 'jlaidman at rebel-it.com.au' Cc: 'xymon at xymon.com' Subject: Re: [Xymon] Client install gone wrong
This message was sent securely using ZixCorp.<https://urldefense.proofpoint.com/v1/url?u=http://www.zixcorp.com/get-started/&k=LEcyRXIAlDBr1gNDokv57g%3D%3D%0A&r=goqVjEbjBQIAv0%2BJe9F%2B4rALGXrt0QPuXIcMfFKUeRg%3D%0A&m=EnAEhOIsQBtkn8mCZDPQYKofkAV7lOvVn0cVsSvXVLw%3D%0A&s=8b282b65bcdbcd148f06e23874f305b47edefc60d4b9c64b9aaac0c611d0976a>
Did you configure it as a server or did you turn off "client side config"?
From: Diep, David (OCTO-Contractor) [mailto:David.Diep at dc.gov] Sent: Tuesday, December 17, 2013 06:03 PM To: Jeremy Laidman <jlaidman at rebel-it.com.au>; Novosielski, Ryan Cc: xymon at xymon.com <xymon at xymon.com> Subject: RE: [Xymon] Client install gone wrong
I’m not sure if that’s what I did, but I configured my second machine as a server. I then went to the first machine and changed the hosts.cfg and added both machines there.
It looks good… I can see both machines. Good start… I’ll start playing with the other functions now.
Thanks for all your help!
David Diep
From: Jeremy Laidman [mailto:jlaidman at rebel-it.com.au] Sent: Tuesday, December 17, 2013 5:55 PM To: Novosielski, Ryan Cc: Diep, David (OCTO-Contractor); xymon at xymon.com Subject: Re: [Xymon] Client install gone wrong
On 18 December 2013 01:12, Novosielski, Ryan <novosirj at ca.rutgers.edu<mailto:novosirj at ca.rutgers.edu>> wrote: This new way has been the default and preferred for some time. I don't think the client-side ought to be offered and broken, but I've heard it may be.
I think the only thing that is broken is the build process (makefiles, etc). If you make a client with server-side configuration (central mode) and then install it, you can still change it over to client-side configuration, and vice versa.
J
Look out for those in need this winter. When the temperature or wind chill is 32°F or below, the District issues a Hypothermia Alert. For assistance during an Alert, call the Shelter Hotline<https://urldefense.proofpoint.com/v1/url?u=http://dhs.dc.gov/page/hypothermia-alert-plan&k=LEcyRXIAlDBr1gNDokv57g%3D%3D%0A&r=goqVjEbjBQIAv0%2BJe9F%2B4rALGXrt0QPuXIcMfFKUeRg%3D%0A&m=leWzuByOvpTRzEFhfpbUiUTjfQp0xVEBnMVRfC6mIYc%3D%0A&s=ebeacf632c5a8a0d79cce3e1a4e7ca1665561e63a8c51178c4349b90e238fcb5> at 1-800-535-7252 or 311.
This message was secured by ZixCorp<https://urldefense.proofpoint.com/v1/url?u=http://www.zixcorp.com&k=LEcyRXIAlDBr1gNDokv57g%3D%3D%0A&r=goqVjEbjBQIAv0%2BJe9F%2B4rALGXrt0QPuXIcMfFKUeRg%3D%0A&m=EnAEhOIsQBtkn8mCZDPQYKofkAV7lOvVn0cVsSvXVLw%3D%0A&s=fa141b318f6a9d731db1b34885eaae4137f96eb79ccee7b4a494586556998ab0>(R).
This message was secured by ZixCorp<http://www.zixcorp.com>(R).
David,
The server and client are delivered in the same tarball. When you build the client you have a choice of where the configuration is done for that client. Local, or server. If you choose local, then you have to configure each client machine individually. If you choose server, then you configure your clients settings in one place on the server. There are reasons for either method, you'll figure out how you want to do this after you've worked with it for a while.
Ryan already said this, I'm just trying to clarify it a bit for you.
Regards,
From: Xymon [xymon-bounces at xymon.com] on behalf of Diep, David (OCTO-Contractor) [David.Diep at dc.gov] Sent: Tuesday, December 17, 2013 3:17 PM To: Novosielski, Ryan; 'jlaidman at rebel-it.com.au' Cc: 'xymon at xymon.com' Subject: Re: [Xymon] Client install gone wrong
Ryan,
Sorry, I was confused with what you were asking. I only downloaded xymon-4.3.12.tar.gz
I did not bother with the xymon-client_4.3.12_amd64.deb… I assumed that it was meant for an amd 64 chip? I didn’t even think to give it a try.
David Diep
From: Novosielski, Ryan [mailto:novosirj at ca.rutgers.edu] Sent: Tuesday, December 17, 2013 6:11 PM To: Diep, David (OCTO-Contractor); 'jlaidman at rebel-it.com.au' Cc: 'xymon at xymon.com' Subject: Re: [Xymon] Client install gone wrong
This message was sent securely using ZixCorp.<http://www.zixcorp.com/get-started/>
You are still confused.
There is the server build, you only need one. Then there are two client builds. Our theory is the only client that builds is server side. You do NOT need to run a server on every client.
Might be time to RTFM, where it's explained pretty well (or at least made sense to me).
From: Diep, David (OCTO-Contractor) [mailto:David.Diep at dc.gov] Sent: Tuesday, December 17, 2013 06:07 PM To: Novosielski, Ryan; 'jlaidman at rebel-it.com.au' <jlaidman at rebel-it.com.au> Cc: 'xymon at xymon.com' <xymon at xymon.com> Subject: RE: [Xymon] Client install gone wrong
I configured it as a server, I wanted to try the “client side config”, but I just didn’t have any time today.
Maybe I’ll give it a try on another machine when I came up for air.
David Diep
From: Novosielski, Ryan [mailto:novosirj at ca.rutgers.edu] Sent: Tuesday, December 17, 2013 6:05 PM To: Diep, David (OCTO-Contractor); 'jlaidman at rebel-it.com.au' Cc: 'xymon at xymon.com' Subject: Re: [Xymon] Client install gone wrong
This message was sent securely using ZixCorp.<https://urldefense.proofpoint.com/v1/url?u=http://www.zixcorp.com/get-started/&k=LEcyRXIAlDBr1gNDokv57g%3D%3D%0A&r=goqVjEbjBQIAv0%2BJe9F%2B4rALGXrt0QPuXIcMfFKUeRg%3D%0A&m=EnAEhOIsQBtkn8mCZDPQYKofkAV7lOvVn0cVsSvXVLw%3D%0A&s=8b282b65bcdbcd148f06e23874f305b47edefc60d4b9c64b9aaac0c611d0976a>
Did you configure it as a server or did you turn off "client side config"?
From: Diep, David (OCTO-Contractor) [mailto:David.Diep at dc.gov] Sent: Tuesday, December 17, 2013 06:03 PM To: Jeremy Laidman <jlaidman at rebel-it.com.au>; Novosielski, Ryan Cc: xymon at xymon.com <xymon at xymon.com> Subject: RE: [Xymon] Client install gone wrong
I’m not sure if that’s what I did, but I configured my second machine as a server. I then went to the first machine and changed the hosts.cfg and added both machines there.
It looks good… I can see both machines. Good start… I’ll start playing with the other functions now.
Thanks for all your help!
David Diep
From: Jeremy Laidman [mailto:jlaidman at rebel-it.com.au] Sent: Tuesday, December 17, 2013 5:55 PM To: Novosielski, Ryan Cc: Diep, David (OCTO-Contractor); xymon at xymon.com Subject: Re: [Xymon] Client install gone wrong
On 18 December 2013 01:12, Novosielski, Ryan <novosirj at ca.rutgers.edu<mailto:novosirj at ca.rutgers.edu>> wrote: This new way has been the default and preferred for some time. I don't think the client-side ought to be offered and broken, but I've heard it may be.
I think the only thing that is broken is the build process (makefiles, etc). If you make a client with server-side configuration (central mode) and then install it, you can still change it over to client-side configuration, and vice versa.
J
Look out for those in need this winter. When the temperature or wind chill is 32°F or below, the District issues a Hypothermia Alert. For assistance during an Alert, call the Shelter Hotline<https://urldefense.proofpoint.com/v1/url?u=http://dhs.dc.gov/page/hypothermia-alert-plan&k=LEcyRXIAlDBr1gNDokv57g%3D%3D%0A&r=goqVjEbjBQIAv0%2BJe9F%2B4rALGXrt0QPuXIcMfFKUeRg%3D%0A&m=leWzuByOvpTRzEFhfpbUiUTjfQp0xVEBnMVRfC6mIYc%3D%0A&s=ebeacf632c5a8a0d79cce3e1a4e7ca1665561e63a8c51178c4349b90e238fcb5> at 1-800-535-7252 or 311.
This message was secured by ZixCorp<https://urldefense.proofpoint.com/v1/url?u=http://www.zixcorp.com&k=LEcyRXIAlDBr1gNDokv57g%3D%3D%0A&r=goqVjEbjBQIAv0%2BJe9F%2B4rALGXrt0QPuXIcMfFKUeRg%3D%0A&m=EnAEhOIsQBtkn8mCZDPQYKofkAV7lOvVn0cVsSvXVLw%3D%0A&s=fa141b318f6a9d731db1b34885eaae4137f96eb79ccee7b4a494586556998ab0>(R).
This message was secured by ZixCorp<http://www.zixcorp.com>(R).
Thanks Tim,
Not making excuses, but I've only heard about xymon for a couple days, the documentation isn't very clear, so I apologize for any frustrating questions. Your explanation is pretty good... so let me understand this:
[root at vipservd xymon-4.3.12]# ls
build configure CREDITS include README.CLIENT xymond
Changes configure.client debian lib RELEASENOTES xymongen
client configure.server demotool Makefile rpm xymonnet
common COPYING docs README web xymonproxy
· "configure" is this local? Or do you have to specify "./configure --server" or "./configure --client" or "./configure"
· "configure.server" allows for client configurations as well as server configuration all on one machine
· "configure.client" this does not work very well
I did "./configure --server" on two machines. I see now that I only needed it on one machine and one machine only. All I need to do is update hosts.cfg, alerts.cfg, etc...
Right?
David Diep
-----Original Message----- From: Tim McCloskey [mailto:tm at freedom.com] Sent: Tuesday, December 17, 2013 6:31 PM To: Diep, David (OCTO-Contractor) Cc: 'xymon at xymon.com' Subject: RE: [Xymon] Client install gone wrong
David,
The server and client are delivered in the same tarball. When you build the client you have a choice of where the configuration is done for that client. Local, or server. If you choose local, then you have to configure each client machine individually. If you choose server, then you configure your clients settings in one place on the server. There are reasons for either method, you'll figure out how you want to do this after you've worked with it for a while.
Ryan already said this, I'm just trying to clarify it a bit for you.
Regards,
From: Xymon [xymon-bounces at xymon.com] on behalf of Diep, David (OCTO-Contractor) [David.Diep at dc.gov]
Sent: Tuesday, December 17, 2013 3:17 PM
To: Novosielski, Ryan; 'jlaidman at rebel-it.com.au'
Cc: 'xymon at xymon.com'
Subject: Re: [Xymon] Client install gone wrong
Ryan,
Sorry, I was confused with what you were asking. I only downloaded xymon-4.3.12.tar.gz
I did not bother with the xymon-client_4.3.12_amd64.deb... I assumed that it was meant for an amd 64 chip? I didn't even think to give it a try.
David Diep
From: Novosielski, Ryan [mailto:novosirj at ca.rutgers.edu]
Sent: Tuesday, December 17, 2013 6:11 PM
To: Diep, David (OCTO-Contractor); 'jlaidman at rebel-it.com.au'
Cc: 'xymon at xymon.com'
Subject: Re: [Xymon] Client install gone wrong
This message was sent securely using ZixCorp.<http://www.zixcorp.com/get-started/>
You are still confused.
There is the server build, you only need one. Then there are two client builds. Our theory is the only client that builds is server side. You do NOT need to run a server on every client.
Might be time to RTFM, where it's explained pretty well (or at least made sense to me).
From: Diep, David (OCTO-Contractor) [mailto:David.Diep at dc.gov]
Sent: Tuesday, December 17, 2013 06:07 PM
To: Novosielski, Ryan; 'jlaidman at rebel-it.com.au' <jlaidman at rebel-it.com.au>
Cc: 'xymon at xymon.com' <xymon at xymon.com>
Subject: RE: [Xymon] Client install gone wrong
I configured it as a server, I wanted to try the "client side config", but I just didn't have any time today.
Maybe I'll give it a try on another machine when I came up for air.
David Diep
From: Novosielski, Ryan [mailto:novosirj at ca.rutgers.edu]
Sent: Tuesday, December 17, 2013 6:05 PM
To: Diep, David (OCTO-Contractor); 'jlaidman at rebel-it.com.au'
Cc: 'xymon at xymon.com'
Subject: Re: [Xymon] Client install gone wrong
This message was sent securely using ZixCorp.<https://urldefense.proofpoint.com/v1/url?u=http://www.zixcorp.com/get-started/&k=LEcyRXIAlDBr1gNDokv57g%3D%3D%0A&r=goqVjEbjBQIAv0%2BJe9F%2B4rALGXrt0QPuXIcMfFKUeRg%3D%0A&m=EnAEhOIsQBtkn8mCZDPQYKofkAV7lOvVn0cVsSvXVLw%3D%0A&s=8b282b65bcdbcd148f06e23874f305b47edefc60d4b9c64b9aaac0c611d0976a>
Did you configure it as a server or did you turn off "client side config"?
From: Diep, David (OCTO-Contractor) [mailto:David.Diep at dc.gov]
Sent: Tuesday, December 17, 2013 06:03 PM
To: Jeremy Laidman <jlaidman at rebel-it.com.au>; Novosielski, Ryan
Cc: xymon at xymon.com <xymon at xymon.com>
Subject: RE: [Xymon] Client install gone wrong
I'm not sure if that's what I did, but I configured my second machine as a server. I then went to the first machine and changed the hosts.cfg and added both machines there.
It looks good... I can see both machines. Good start... I'll start playing with the other functions now.
Thanks for all your help!
David Diep
From: Jeremy Laidman [mailto:jlaidman at rebel-it.com.au]
Sent: Tuesday, December 17, 2013 5:55 PM
To: Novosielski, Ryan
Cc: Diep, David (OCTO-Contractor); xymon at xymon.com
Subject: Re: [Xymon] Client install gone wrong
On 18 December 2013 01:12, Novosielski, Ryan <novosirj at ca.rutgers.edu<mailto:novosirj at ca.rutgers.edu<mailto:novosirj at ca.rutgers.edu%3cmailto:novosirj at ca.rutgers.edu>>> wrote:
This new way has been the default and preferred for some time. I don't think the client-side ought to be offered and broken, but I've heard it may be.
I think the only thing that is broken is the build process (makefiles, etc). If you make a client with server-side configuration (central mode) and then install it, you can still change it over to client-side configuration, and vice versa.
J
Look out for those in need this winter. When the temperature or wind chill is 32°F or below, the District issues a Hypothermia Alert. For assistance during an Alert, call the Shelter Hotline<https://urldefense.proofpoint.com/v1/url?u=http://dhs.dc.gov/page/hypothermia-alert-plan&k=LEcyRXIAlDBr1gNDokv57g%3D%3D%0A&r=goqVjEbjBQIAv0%2BJe9F%2B4rALGXrt0QPuXIcMfFKUeRg%3D%0A&m=leWzuByOvpTRzEFhfpbUiUTjfQp0xVEBnMVRfC6mIYc%3D%0A&s=ebeacf632c5a8a0d79cce3e1a4e7ca1665561e63a8c51178c4349b90e238fcb5> at 1-800-535-7252 or 311.
This message was secured by ZixCorp<https://urldefense.proofpoint.com/v1/url?u=http://www.zixcorp.com&k=LEcyRXIAlDBr1gNDokv57g%3D%3D%0A&r=goqVjEbjBQIAv0%2BJe9F%2B4rALGXrt0QPuXIcMfFKUeRg%3D%0A&m=EnAEhOIsQBtkn8mCZDPQYKofkAV7lOvVn0cVsSvXVLw%3D%0A&s=fa141b318f6a9d731db1b34885eaae4137f96eb79ccee7b4a494586556998ab0>(R).
This message was secured by ZixCorp<http://www.zixcorp.com>(R).
The documents are actually pretty good.
You would run ./configure.client and one the questions asked is:
Server side client configuration, or client side [server] ?
Accept the default of server to allow configuration to be performed in one place on the server, or choose 'client' to manage the configuration on each individual client.
Now, slow down, go read up on hosts, alerts, etc and enjoy :)
Tim
From: Diep, David (OCTO-Contractor) [David.Diep at dc.gov] Sent: Tuesday, December 17, 2013 3:47 PM To: Tim McCloskey Cc: 'xymon at xymon.com' Subject: RE: [Xymon] Client install gone wrong
Thanks Tim,
Not making excuses, but I’ve only heard about xymon for a couple days, the documentation isn't very clear, so I apologize for any frustrating questions. Your explanation is pretty good... so let me understand this:
[root at vipservd xymon-4.3.12]# ls
build configure CREDITS include README.CLIENT xymond
Changes configure.client debian lib RELEASENOTES xymongen
client configure.server demotool Makefile rpm xymonnet
common COPYING docs README web xymonproxy
· “configure” is this local? Or do you have to specify “./configure --server” or “./configure --client” or “./configure”
· “configure.server” allows for client configurations as well as server configuration all on one machine
· “configure.client” this does not work very well
I did “./configure --server” on two machines. I see now that I only needed it on one machine and one machine only. All I need to do is update hosts.cfg, alerts.cfg, etc…
Right?
David Diep
-----Original Message----- From: Tim McCloskey [mailto:tm at freedom.com] Sent: Tuesday, December 17, 2013 6:31 PM To: Diep, David (OCTO-Contractor) Cc: 'xymon at xymon.com' Subject: RE: [Xymon] Client install gone wrong
David,
The server and client are delivered in the same tarball. When you build the client you have a choice of where the configuration is done for that client. Local, or server. If you choose local, then you have to configure each client machine individually. If you choose server, then you configure your clients settings in one place on the server. There are reasons for either method, you'll figure out how you want to do this after you've worked with it for a while.
Ryan already said this, I'm just trying to clarify it a bit for you.
Regards,
From: Xymon [xymon-bounces at xymon.com] on behalf of Diep, David (OCTO-Contractor) [David.Diep at dc.gov]
Sent: Tuesday, December 17, 2013 3:17 PM
To: Novosielski, Ryan; 'jlaidman at rebel-it.com.au'
Cc: 'xymon at xymon.com'
Subject: Re: [Xymon] Client install gone wrong
Ryan,
Sorry, I was confused with what you were asking. I only downloaded xymon-4.3.12.tar.gz
I did not bother with the xymon-client_4.3.12_amd64.deb… I assumed that it was meant for an amd 64 chip? I didn’t even think to give it a try.
David Diep
From: Novosielski, Ryan [mailto:novosirj at ca.rutgers.edu]
Sent: Tuesday, December 17, 2013 6:11 PM
To: Diep, David (OCTO-Contractor); 'jlaidman at rebel-it.com.au'
Cc: 'xymon at xymon.com'
Subject: Re: [Xymon] Client install gone wrong
This message was sent securely using ZixCorp.<http://www.zixcorp.com/get-started/>
You are still confused.
There is the server build, you only need one. Then there are two client builds. Our theory is the only client that builds is server side. You do NOT need to run a server on every client.
Might be time to RTFM, where it's explained pretty well (or at least made sense to me).
From: Diep, David (OCTO-Contractor) [mailto:David.Diep at dc.gov]
Sent: Tuesday, December 17, 2013 06:07 PM
To: Novosielski, Ryan; 'jlaidman at rebel-it.com.au' <jlaidman at rebel-it.com.au>
Cc: 'xymon at xymon.com' <xymon at xymon.com>
Subject: RE: [Xymon] Client install gone wrong
I configured it as a server, I wanted to try the “client side config”, but I just didn’t have any time today.
Maybe I’ll give it a try on another machine when I came up for air.
David Diep
From: Novosielski, Ryan [mailto:novosirj at ca.rutgers.edu]
Sent: Tuesday, December 17, 2013 6:05 PM
To: Diep, David (OCTO-Contractor); 'jlaidman at rebel-it.com.au'
Cc: 'xymon at xymon.com'
Subject: Re: [Xymon] Client install gone wrong
This message was sent securely using ZixCorp.<https://urldefense.proofpoint.com/v1/url?u=http://www.zixcorp.com/get-started/&k=LEcyRXIAlDBr1gNDokv57g%3D%3D%0A&r=goqVjEbjBQIAv0%2BJe9F%2B4rALGXrt0QPuXIcMfFKUeRg%3D%0A&m=EnAEhOIsQBtkn8mCZDPQYKofkAV7lOvVn0cVsSvXVLw%3D%0A&s=8b282b65bcdbcd148f06e23874f305b47edefc60d4b9c64b9aaac0c611d0976a>
Did you configure it as a server or did you turn off "client side config"?
From: Diep, David (OCTO-Contractor) [mailto:David.Diep at dc.gov]
Sent: Tuesday, December 17, 2013 06:03 PM
To: Jeremy Laidman <jlaidman at rebel-it.com.au>; Novosielski, Ryan
Cc: xymon at xymon.com <xymon at xymon.com>
Subject: RE: [Xymon] Client install gone wrong
I’m not sure if that’s what I did, but I configured my second machine as a server. I then went to the first machine and changed the hosts.cfg and added both machines there.
It looks good… I can see both machines. Good start… I’ll start playing with the other functions now.
Thanks for all your help!
David Diep
From: Jeremy Laidman [mailto:jlaidman at rebel-it.com.au]
Sent: Tuesday, December 17, 2013 5:55 PM
To: Novosielski, Ryan
Cc: Diep, David (OCTO-Contractor); xymon at xymon.com
Subject: Re: [Xymon] Client install gone wrong
On 18 December 2013 01:12, Novosielski, Ryan <novosirj at ca.rutgers.edu<mailto:novosirj at ca.rutgers.edu<mailto:novosirj at ca.rutgers.edu%3cmailto:novosirj at ca.rutgers.edu>>> wrote:
This new way has been the default and preferred for some time. I don't think the client-side ought to be offered and broken, but I've heard it may be.
I think the only thing that is broken is the build process (makefiles, etc). If you make a client with server-side configuration (central mode) and then install it, you can still change it over to client-side configuration, and vice versa.
J
Look out for those in need this winter. When the temperature or wind chill is 32°F or below, the District issues a Hypothermia Alert. For assistance during an Alert, call the Shelter Hotline<https://urldefense.proofpoint.com/v1/url?u=http://dhs.dc.gov/page/hypothermia-alert-plan&k=LEcyRXIAlDBr1gNDokv57g%3D%3D%0A&r=goqVjEbjBQIAv0%2BJe9F%2B4rALGXrt0QPuXIcMfFKUeRg%3D%0A&m=leWzuByOvpTRzEFhfpbUiUTjfQp0xVEBnMVRfC6mIYc%3D%0A&s=ebeacf632c5a8a0d79cce3e1a4e7ca1665561e63a8c51178c4349b90e238fcb5> at 1-800-535-7252 or 311.
This message was secured by ZixCorp<https://urldefense.proofpoint.com/v1/url?u=http://www.zixcorp.com&k=LEcyRXIAlDBr1gNDokv57g%3D%3D%0A&r=goqVjEbjBQIAv0%2BJe9F%2B4rALGXrt0QPuXIcMfFKUeRg%3D%0A&m=EnAEhOIsQBtkn8mCZDPQYKofkAV7lOvVn0cVsSvXVLw%3D%0A&s=fa141b318f6a9d731db1b34885eaae4137f96eb79ccee7b4a494586556998ab0>(R).
This message was secured by ZixCorp<http://www.zixcorp.com>(R).
On 18 December 2013 10:47, Diep, David (OCTO-Contractor) <David.Diep at dc.gov>wrote:
“configure” is this local? Or do you have to specify “./configure --server” or “./configure --client” or “./configure”
You can do any of these. When you run "./configure" it simply runs "./configure.server" for you. If you run "./configure --server" it does the same thing also.
If you run "./configure --client" then the configure script simply runs "./configure.client".
So there are several different ways to do the same two things. Running "./configure --client" is the official way.
You can also do the following, which ensures that it builds a client using server-side configuration, without being prompted about it:
$ CONFTYPE=server ./configure --client
· “configure.server” allows for client configurations as well as
server configuration all on one machine
Yes.
· “configure.client” this does not work very well
This works fine, as long as you use "server configuration" (central configuration). If you use "client configuration" (local configuration) then you run into the compile problem.
I did “./configure --server” on two machines. I see now that I only needed it on one machine and one machine only. All I need to do is update hosts.cfg, alerts.cfg, etc…
Yes.
The server build also has a client build included (a Xymon server should also be a Xymon client, so that it can watch itself). So another option is to manually copy the "xymon/client" directory from your server to any host you want to monitor, then just create the xymon user/group, make sure the "tmp" and "log" directories are writeable by this user, and create an init script to run the "runclient.sh" script.
Alternatively, after building (but not installing) the server code (./configure --server), you can do a client-only install:
$ make install-client
This will copy only the client parts of the install. You still need to create the xymon user/group and setup the init script for runclient.sh.
I agree that the main install doco is not as clear as it could be, and focuses almost exclusively on the server setup. However, there's a README.CLIENT file in the source that is a much better guide for installing just the client "agent".
J
Jeremy,
Tim was very good with the explanation. I went and removed the previous configuration. I then configured it as a client:
./configure.client
./configure --client was what I originally tried, but for some reason that did not find the pcre libraries.
I'm good now... I have one machine configured as the server, with the client information. My second machine is configured only with the client.
Thanks for all your help.
David Diep
From: Jeremy Laidman [mailto:jlaidman at rebel-it.com.au] Sent: Tuesday, December 17, 2013 8:56 PM To: Diep, David (OCTO-Contractor) Cc: Tim McCloskey; xymon at xymon.com Subject: Re: [Xymon] Client install gone wrong
On 18 December 2013 10:47, Diep, David (OCTO-Contractor) <David.Diep at dc.gov<mailto:David.Diep at dc.gov>> wrote:
"configure" is this local? Or do you have to specify "./configure --server" or "./configure --client" or "./configure" You can do any of these. When you run "./configure" it simply runs "./configure.server" for you. If you run "./configure --server" it does the same thing also.
If you run "./configure --client" then the configure script simply runs "./configure.client".
So there are several different ways to do the same two things. Running "./configure --client" is the official way.
You can also do the following, which ensures that it builds a client using server-side configuration, without being prompted about it:
$ CONFTYPE=server ./configure --client
"configure.server" allows for client configurations as well as server configuration all on one machineYes.
"configure.client" this does not work very wellThis works fine, as long as you use "server configuration" (central configuration). If you use "client configuration" (local configuration) then you run into the compile problem.
I did "./configure --server" on two machines. I see now that I only needed it on one machine and one machine only. All I need to do is update hosts.cfg, alerts.cfg, etc... Yes.
The server build also has a client build included (a Xymon server should also be a Xymon client, so that it can watch itself). So another option is to manually copy the "xymon/client" directory from your server to any host you want to monitor, then just create the xymon user/group, make sure the "tmp" and "log" directories are writeable by this user, and create an init script to run the "runclient.sh" script.
Alternatively, after building (but not installing) the server code (./configure --server), you can do a client-only install:
$ make install-client
This will copy only the client parts of the install. You still need to create the xymon user/group and setup the init script for runclient.sh.
I agree that the main install doco is not as clear as it could be, and focuses almost exclusively on the server setup. However, there's a README.CLIENT file in the source that is a much better guide for installing just the client "agent".
J
Look out for those in need this winter. When the temperature or wind chill is 32?F or below, the District issues a Hypothermia Alert. For assistance during an Alert, call the Shelter Hotline<http://dhs.dc.gov/page/hypothermia-alert-plan> at 1-800-535-7252 or 311.
I think there may be confusion about the word "configure" - the configure script you mention below is the /build/ script. In a "normal" Xymon install you would build one server system and your other systems would be clients.
The terms "client-side" or "server-side" determine where the configuration for normal running is held. You are asked this while the build script is running, however as has been noted else-thread you can change this after installation.
Hope that helps with understanding.
Carl
Carl Inglis Systems Administrator
Rakon UK Limited Dowsett House, Sadler Road, Lincoln LN6 3RS, United Kingdom Tel: +44 1522 812630 | Fax: +44 1522 812664 | Mob: +44 7786 552915 Carl.Inglis at rakon.com | www.rakon.com
[The Queens Awards for Enterprise 2012]
[Rakon Logo]
This message together with any attachments contains confidential information and may be subject to privilege. If you are not the intended recipient you may not distribute it in any way, you must notify the sender immediately and delete any copies of the message along with its attachments.
Rakon UK Ltd is a limited company registered in England and Wales. Registered Office: Dowsett House, Sadler Road, Lincoln LN6 3RS Company Registration Number: 5128090.
Please be aware that Rakon UK Limited may monitor email traffic data including the date, time, subject line, sender and recipients for the purposes of security and usage monitoring. Automated monitoring systems may also be applied to ascertain whether incoming/outgoing emails are likely to contain viruses, other destructive devices or inappropriate content. From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Diep, David (OCTO-Contractor) Sent: 17 December 2013 23:48 To: Tim McCloskey Cc: 'xymon at xymon.com' Subject: Re: [Xymon] Client install gone wrong
Thanks Tim,
Not making excuses, but I've only heard about xymon for a couple days, the documentation isn't very clear, so I apologize for any frustrating questions. Your explanation is pretty good... so let me understand this:
[root at vipservd xymon-4.3.12]# ls
build configure CREDITS include README.CLIENT xymond
Changes configure.client debian lib RELEASENOTES xymongen
client configure.server demotool Makefile rpm xymonnet
common COPYING docs README web xymonproxy
"configure" is this local? Or do you have to specify "./configure --server" or "./configure --client" or "./configure""configure.server" allows for client configurations as well as server configuration all on one machine"configure.client" this does not work very well
I did "./configure --server" on two machines. I see now that I only needed it on one machine and one machine only. All I need to do is update hosts.cfg, alerts.cfg, etc...
Right?
David Diep
participants (9)
-
Carl.Inglis@rakon.com
-
cleaver@terabithia.org
-
David.Diep@dc.gov
-
jlaidman@rebel-it.com.au
-
john.thurston@alaska.gov
-
josh@imaginenetworksllc.com
-
novosirj@ca.rutgers.edu
-
ralphmitchell@gmail.com
-
tm@freedom.com