Xymon Mailing List Archive search

Client install gone wrong

28 messages in this thread

list David Diep · Mon, 16 Dec 2013 14:36:25 -0500 ·
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:


1.       Downloaded and extracted xymon-4.3.12

2.       In the xymon-4.3.12 directory and executed: ./configure --client

3.       I then executed: make && make install

4.       This 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 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 X-XXX-XXX-XXXX or 311.
list Josh Luthman · Mon, 16 Dec 2013 15:05:55 -0500 ·
You're missing the PCRE libraries at the very least.


Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


On Mon, Dec 16, 2013 at 2:36 PM, Diep, David (OCTO-Contractor) <
quoted from David Diep
user-ca44d68fd6e2@xymon.invalid> 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:


1.       Downloaded and extracted xymon-4.3.12

2.       In the xymon-4.3.12 directory and executed: ./configure --client

3.       I then executed: make && make install

4.       This 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
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 *X-XXX-XXX-XXXX
<X-XXX-XXX-XXXX>* or *311*.

list David Diep · Mon, 16 Dec 2013 15:27:58 -0500 ·
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
quoted from Josh Luthman


From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
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: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

On Mon, Dec 16, 2013 at 2:36 PM, Diep, David (OCTO-Contractor) <user-ca44d68fd6e2@xymon.invalid<mailto:user-ca44d68fd6e2@xymon.invalid>> 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:


1.       Downloaded and extracted xymon-4.3.12

2.       In the xymon-4.3.12 directory and executed: ./configure --client

3.       I then executed: make && make install

4.       This 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 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 X-XXX-XXX-XXXX<tel:X-XXX-XXX-XXXX> or 311.
list Josh Luthman · Mon, 16 Dec 2013 15:33:44 -0500 ·
You need pcre-libs or pcre-devel.
quoted from David Diep


Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


On Mon, Dec 16, 2013 at 3:27 PM, Diep, David (OCTO-Contractor) <
quoted from David Diep
user-ca44d68fd6e2@xymon.invalid> 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:user-4c45a83f15cb@xymon.invalid]
*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: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


On Mon, Dec 16, 2013 at 2:36 PM, Diep, David (OCTO-Contractor) <
user-ca44d68fd6e2@xymon.invalid> 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:


1.       Downloaded and extracted xymon-4.3.12

2.       In the xymon-4.3.12 directory and executed: ./configure --client

3.       I then executed: make && make install

4.       This 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
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 *X-XXX-XXX-XXXX
<X-XXX-XXX-XXXX>* or *311*.

list Ryan Novosielski · Mon, 16 Dec 2013 15:39:25 -0500 ·
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.
quoted from Josh Luthman


From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
Sent: Monday, December 16, 2013 03:33 PM
To: Diep, David (OCTO-Contractor) <user-ca44d68fd6e2@xymon.invalid>
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: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


On Mon, Dec 16, 2013 at 3:27 PM, Diep, David (OCTO-Contractor) <user-ca44d68fd6e2@xymon.invalid<mailto:user-ca44d68fd6e2@xymon.invalid>> 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:user-4c45a83f15cb@xymon.invalid<mailto:user-4c45a83f15cb@xymon.invalid>]
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: XXX-XXX-XXXX<tel:XXX-XXX-XXXX>
Direct: XXX-XXX-XXXX<tel:XXX-XXX-XXXX>
quoted from Josh Luthman
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

On Mon, Dec 16, 2013 at 2:36 PM, Diep, David (OCTO-Contractor) <user-ca44d68fd6e2@xymon.invalid<mailto:user-ca44d68fd6e2@xymon.invalid>> 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:


1.       Downloaded and extracted xymon-4.3.12

2.       In the xymon-4.3.12 directory and executed: ./configure --client

3.       I then executed: make && make install

4.       This 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 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 X-XXX-XXX-XXXX<tel:X-XXX-XXX-XXXX> or 311.
list Josh Luthman · Mon, 16 Dec 2013 15:44:44 -0500 ·
Whoops, sorry.  Missed that last line.

What OS is this?  RHEL/CentOS/Fedora I'm guessing.
quoted from Ryan Novosielski


Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


On Mon, Dec 16, 2013 at 3:39 PM, Novosielski, Ryan
quoted from Ryan Novosielski
<user-6e4f7a3bb37f@xymon.invalid>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:user-4c45a83f15cb@xymon.invalid]
*Sent*: Monday, December 16, 2013 03:33 PM
*To*: Diep, David (OCTO-Contractor) <user-ca44d68fd6e2@xymon.invalid>
*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: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


On Mon, Dec 16, 2013 at 3:27 PM, Diep, David (OCTO-Contractor) <
user-ca44d68fd6e2@xymon.invalid> 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:user-4c45a83f15cb@xymon.invalid]
*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: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


On Mon, Dec 16, 2013 at 2:36 PM, Diep, David (OCTO-Contractor) <
user-ca44d68fd6e2@xymon.invalid> 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:


1.       Downloaded and extracted xymon-4.3.12

2.       In the xymon-4.3.12 directory and executed: ./configure --client

3.       I then executed: make && make install

4.       This 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
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 *X-XXX-XXX-XXXX
<X-XXX-XXX-XXXX>* or *311*.


Xymon at xymon.com<

list Japheth Cleaver · Mon, 16 Dec 2013 13:06:25 -0800 ·
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
quoted from Josh Luthman


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: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


On Mon, Dec 16, 2013 at 3:39 PM, Novosielski, Ryan
<user-6e4f7a3bb37f@xymon.invalid>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:user-4c45a83f15cb@xymon.invalid]
*Sent*: Monday, December 16, 2013 03:33 PM
*To*: Diep, David (OCTO-Contractor) <user-ca44d68fd6e2@xymon.invalid>
*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: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


On Mon, Dec 16, 2013 at 3:27 PM, Diep, David (OCTO-Contractor) <
user-ca44d68fd6e2@xymon.invalid> 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:user-4c45a83f15cb@xymon.invalid]
*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: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


On Mon, Dec 16, 2013 at 2:36 PM, Diep, David (OCTO-Contractor) <
user-ca44d68fd6e2@xymon.invalid> 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:


1.       Downloaded and extracted xymon-4.3.12

2.       In the xymon-4.3.12 directory and executed: ./configure
--client

3.       I then executed: make && make install

4.       This 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
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
*X-XXX-XXX-XXXX
<X-XXX-XXX-XXXX>* or *311*.


Xymon at xymon.com<

list David Diep · Mon, 16 Dec 2013 21:00:29 -0500 ·
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 X-XXX-XXX-XXXX or 311.
quoted from Japheth Cleaver


From: Japheth Cleaver [user-87556346d4af@xymon.invalid]
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: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


On Mon, Dec 16, 2013 at 3:39 PM, Novosielski, Ryan
<user-6e4f7a3bb37f@xymon.invalid>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:user-4c45a83f15cb@xymon.invalid]
*Sent*: Monday, December 16, 2013 03:33 PM
*To*: Diep, David (OCTO-Contractor) <user-ca44d68fd6e2@xymon.invalid>
*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: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


On Mon, Dec 16, 2013 at 3:27 PM, Diep, David (OCTO-Contractor) <
user-ca44d68fd6e2@xymon.invalid> 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:user-4c45a83f15cb@xymon.invalid]
*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: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


On Mon, Dec 16, 2013 at 2:36 PM, Diep, David (OCTO-Contractor) <
user-ca44d68fd6e2@xymon.invalid> 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:


1.       Downloaded and extracted xymon-4.3.12

2.       In the xymon-4.3.12 directory and executed: ./configure
--client

3.       I then executed: make && make install

4.       This 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
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
*X-XXX-XXX-XXXX
<X-XXX-XXX-XXXX>* or *311*.


Xymon at xymon.com<

list David Diep · Mon, 16 Dec 2013 21:02:16 -0500 ·
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
quoted from Josh Luthman


From: Josh Luthman [user-4c45a83f15cb@xymon.invalid]
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: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


On Mon, Dec 16, 2013 at 3:39 PM, Novosielski, Ryan <user-6e4f7a3bb37f@xymon.invalid<mailto:user-6e4f7a3bb37f@xymon.invalid>> 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:user-4c45a83f15cb@xymon.invalid<mailto:user-4c45a83f15cb@xymon.invalid>]
Sent: Monday, December 16, 2013 03:33 PM
To: Diep, David (OCTO-Contractor) <user-ca44d68fd6e2@xymon.invalid<mailto:user-ca44d68fd6e2@xymon.invalid>>
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: XXX-XXX-XXXX<tel:XXX-XXX-XXXX>
Direct: XXX-XXX-XXXX<tel:XXX-XXX-XXXX>
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


On Mon, Dec 16, 2013 at 3:27 PM, Diep, David (OCTO-Contractor) <user-ca44d68fd6e2@xymon.invalid<mailto:user-ca44d68fd6e2@xymon.invalid>> 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:user-4c45a83f15cb@xymon.invalid<mailto:user-4c45a83f15cb@xymon.invalid>]
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: XXX-XXX-XXXX<tel:XXX-XXX-XXXX>
Direct: XXX-XXX-XXXX<tel:XXX-XXX-XXXX>
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

On Mon, Dec 16, 2013 at 2:36 PM, Diep, David (OCTO-Contractor) <user-ca44d68fd6e2@xymon.invalid<mailto:user-ca44d68fd6e2@xymon.invalid>> 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:


1.       Downloaded and extracted xymon-4.3.12

2.       In the xymon-4.3.12 directory and executed: ./configure --client

3.       I then executed: make && make install

4.       This 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 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 X-XXX-XXX-XXXX<tel:X-XXX-XXX-XXXX> or 311.
list Ralph Mitchell · Mon, 16 Dec 2013 21:21:29 -0500 ·
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) <
quoted from David Diep
user-ca44d68fd6e2@xymon.invalid> 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 [user-4c45a83f15cb@xymon.invalid]
*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: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


On Mon, Dec 16, 2013 at 3:39 PM, Novosielski, Ryan <
user-6e4f7a3bb37f@xymon.invalid> 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:user-4c45a83f15cb@xymon.invalid]
 *Sent*: Monday, December 16, 2013 03:33 PM
*To*: Diep, David (OCTO-Contractor) <user-ca44d68fd6e2@xymon.invalid>
*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: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


On Mon, Dec 16, 2013 at 3:27 PM, Diep, David (OCTO-Contractor) <
user-ca44d68fd6e2@xymon.invalid> 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:user-4c45a83f15cb@xymon.invalid]
*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: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


On Mon, Dec 16, 2013 at 2:36 PM, Diep, David (OCTO-Contractor) <
user-ca44d68fd6e2@xymon.invalid> 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:


1.       Downloaded and extracted xymon-4.3.12

2.       In the xymon-4.3.12 directory and executed: ./configure
--client

3.       I then executed: make && make install

4.       This 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
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 *X-XXX-XXX-XXXX
<X-XXX-XXX-XXXX>* or *311*.


Xymon at xymon.com<

list Jeremy Laidman · Tue, 17 Dec 2013 13:38:03 +1100 ·
On 17 December 2013 06:36, Diep, David (OCTO-Contractor)
quoted from Ralph Mitchell
<user-ca44d68fd6e2@xymon.invalid>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
list Ryan Novosielski · Mon, 16 Dec 2013 22:55:29 -0500 ·
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.
quoted from Ralph Mitchell


----- Original Message -----
From: Diep, David (OCTO-Contractor) [mailto:user-ca44d68fd6e2@xymon.invalid]
Sent: Monday, December 16, 2013 09:00 PM
To: Japheth Cleaver <user-87556346d4af@xymon.invalid>
Cc: Josh Luthman <user-4c45a83f15cb@xymon.invalid>; 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 X-XXX-XXX-XXXX or 311.


From: Japheth Cleaver [user-87556346d4af@xymon.invalid]
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: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


On Mon, Dec 16, 2013 at 3:39 PM, Novosielski, Ryan
<user-6e4f7a3bb37f@xymon.invalid>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:user-4c45a83f15cb@xymon.invalid]
*Sent*: Monday, December 16, 2013 03:33 PM
*To*: Diep, David (OCTO-Contractor) <user-ca44d68fd6e2@xymon.invalid>
*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: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


On Mon, Dec 16, 2013 at 3:27 PM, Diep, David (OCTO-Contractor) <
user-ca44d68fd6e2@xymon.invalid> 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:user-4c45a83f15cb@xymon.invalid]
*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: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


On Mon, Dec 16, 2013 at 2:36 PM, Diep, David (OCTO-Contractor) <
user-ca44d68fd6e2@xymon.invalid> 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:


1.       Downloaded and extracted xymon-4.3.12

2.       In the xymon-4.3.12 directory and executed: ./configure
--client

3.       I then executed: make && make install

4.       This 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
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
*X-XXX-XXX-XXXX
<X-XXX-XXX-XXXX>* or *311*.


Xymon at xymon.com<

list David Diep · Tue, 17 Dec 2013 07:46:39 -0500 ·
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
quoted from Jeremy Laidman

From: Jeremy Laidman [mailto:user-71895fb2e44c@xymon.invalid]
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) <user-ca44d68fd6e2@xymon.invalid<mailto:user-ca44d68fd6e2@xymon.invalid>> 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

^^^
quoted from Jeremy Laidman

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 X-XXX-XXX-XXXX or 311.
list Ryan Novosielski · Tue, 17 Dec 2013 09:12:53 -0500 ·
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.
quoted from David Diep


From: Diep, David (OCTO-Contractor) [mailto:user-ca44d68fd6e2@xymon.invalid]
Sent: Tuesday, December 17, 2013 07:46 AM
To: Jeremy Laidman <user-71895fb2e44c@xymon.invalid>
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:user-71895fb2e44c@xymon.invalid]
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) <user-ca44d68fd6e2@xymon.invalid<mailto:user-ca44d68fd6e2@xymon.invalid>> 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

^^^
quoted from David Diep

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 X-XXX-XXX-XXXX or 311.
list David Diep · Tue, 17 Dec 2013 09:15:29 -0500 ·
Thanks for the explanation, Ryan.

You correct.. I am quite new to xymon.

Thanks,

David Diep

From: Novosielski, Ryan [mailto:user-6e4f7a3bb37f@xymon.invalid]
Sent: Tuesday, December 17, 2013 9:13 AM
To: Diep, David (OCTO-Contractor); 'user-71895fb2e44c@xymon.invalid'
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/>;
quoted from Ryan Novosielski


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:user-ca44d68fd6e2@xymon.invalid]
Sent: Tuesday, December 17, 2013 07:46 AM
To: Jeremy Laidman <user-71895fb2e44c@xymon.invalid>
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:user-71895fb2e44c@xymon.invalid]
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) <user-ca44d68fd6e2@xymon.invalid<mailto:user-ca44d68fd6e2@xymon.invalid>> 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

^^^
quoted from Ryan Novosielski

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 X-XXX-XXX-XXXX or 311.


This message was secured by ZixCorp<http://www.zixcorp.com>;(R).
list John Thurston · Tue, 17 Dec 2013 08:22:32 -0900 ·
quoted from Ryan Novosielski
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    XXX-XXX-XXXX
user-ce4d79d99bab@xymon.invalid
Enterprise Technology Services
Department of Administration
State of Alaska
list Jeremy Laidman · Wed, 18 Dec 2013 09:55:04 +1100 ·
quoted from David Diep
On 18 December 2013 01:12, Novosielski, Ryan <user-6e4f7a3bb37f@xymon.invalid>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
list David Diep · Tue, 17 Dec 2013 18:03:45 -0500 ·
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!
quoted from Jeremy Laidman

David Diep

From: Jeremy Laidman [mailto:user-71895fb2e44c@xymon.invalid]
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 <user-6e4f7a3bb37f@xymon.invalid<mailto:user-6e4f7a3bb37f@xymon.invalid>> 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 X-XXX-XXX-XXXX or 311.
list Ryan Novosielski · Tue, 17 Dec 2013 18:04:45 -0500 ·
Did you configure it as a server or did you turn off "client side config"?
quoted from David Diep


From: Diep, David (OCTO-Contractor) [mailto:user-ca44d68fd6e2@xymon.invalid]
Sent: Tuesday, December 17, 2013 06:03 PM
To: Jeremy Laidman <user-71895fb2e44c@xymon.invalid>; 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:user-71895fb2e44c@xymon.invalid]
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 <user-6e4f7a3bb37f@xymon.invalid<mailto:user-6e4f7a3bb37f@xymon.invalid>> 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 X-XXX-XXX-XXXX or 311.
list David Diep · Tue, 17 Dec 2013 18:07:35 -0500 ·
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.
quoted from Ryan Novosielski

David Diep

From: Novosielski, Ryan [mailto:user-6e4f7a3bb37f@xymon.invalid]
Sent: Tuesday, December 17, 2013 6:05 PM
To: Diep, David (OCTO-Contractor); 'user-71895fb2e44c@xymon.invalid'
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:user-ca44d68fd6e2@xymon.invalid]
Sent: Tuesday, December 17, 2013 06:03 PM
To: Jeremy Laidman <user-71895fb2e44c@xymon.invalid>; 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:user-71895fb2e44c@xymon.invalid]
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 <user-6e4f7a3bb37f@xymon.invalid<mailto:user-6e4f7a3bb37f@xymon.invalid>> 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 X-XXX-XXX-XXXX or 311.


This message was secured by ZixCorp<http://www.zixcorp.com>;(R).
list Ryan Novosielski · Tue, 17 Dec 2013 18:10:39 -0500 ·
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).
quoted from David Diep


From: Diep, David (OCTO-Contractor) [mailto:user-ca44d68fd6e2@xymon.invalid]
Sent: Tuesday, December 17, 2013 06:07 PM
To: Novosielski, Ryan; 'user-71895fb2e44c@xymon.invalid' <user-71895fb2e44c@xymon.invalid>
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:user-6e4f7a3bb37f@xymon.invalid]
Sent: Tuesday, December 17, 2013 6:05 PM
To: Diep, David (OCTO-Contractor); 'user-71895fb2e44c@xymon.invalid'
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>;
signature


Did you configure it as a server or did you turn off "client side config"?


quoted from David Diep
From: Diep, David (OCTO-Contractor) [mailto:user-ca44d68fd6e2@xymon.invalid]
Sent: Tuesday, December 17, 2013 06:03 PM
To: Jeremy Laidman <user-71895fb2e44c@xymon.invalid>; 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:user-71895fb2e44c@xymon.invalid]
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 <user-6e4f7a3bb37f@xymon.invalid<mailto:user-6e4f7a3bb37f@xymon.invalid>> 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 X-XXX-XXX-XXXX 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).
list David Diep · Tue, 17 Dec 2013 18:17:27 -0500 ·
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.
quoted from Ryan Novosielski

David Diep

From: Novosielski, Ryan [mailto:user-6e4f7a3bb37f@xymon.invalid]
Sent: Tuesday, December 17, 2013 6:11 PM
To: Diep, David (OCTO-Contractor); 'user-71895fb2e44c@xymon.invalid'
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:user-ca44d68fd6e2@xymon.invalid]
Sent: Tuesday, December 17, 2013 06:07 PM
To: Novosielski, Ryan; 'user-71895fb2e44c@xymon.invalid' <user-71895fb2e44c@xymon.invalid>
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:user-6e4f7a3bb37f@xymon.invalid]
Sent: Tuesday, December 17, 2013 6:05 PM
To: Diep, David (OCTO-Contractor); 'user-71895fb2e44c@xymon.invalid'
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:user-ca44d68fd6e2@xymon.invalid]
Sent: Tuesday, December 17, 2013 06:03 PM
To: Jeremy Laidman <user-71895fb2e44c@xymon.invalid>; 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:user-71895fb2e44c@xymon.invalid]
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 <user-6e4f7a3bb37f@xymon.invalid<mailto:user-6e4f7a3bb37f@xymon.invalid>> 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 X-XXX-XXX-XXXX 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).
list Tim McCloskey · Tue, 17 Dec 2013 23:31:01 +0000 ·
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, 
quoted from David Diep

From: Xymon [xymon-bounces at xymon.com] on behalf of Diep, David (OCTO-Contractor) [user-ca44d68fd6e2@xymon.invalid]
Sent: Tuesday, December 17, 2013 3:17 PM
To: Novosielski, Ryan; 'user-71895fb2e44c@xymon.invalid'
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:user-6e4f7a3bb37f@xymon.invalid]
Sent: Tuesday, December 17, 2013 6:11 PM
To: Diep, David (OCTO-Contractor); 'user-71895fb2e44c@xymon.invalid'
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:user-ca44d68fd6e2@xymon.invalid]
Sent: Tuesday, December 17, 2013 06:07 PM
To: Novosielski, Ryan; 'user-71895fb2e44c@xymon.invalid' <user-71895fb2e44c@xymon.invalid>
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:user-6e4f7a3bb37f@xymon.invalid]
Sent: Tuesday, December 17, 2013 6:05 PM
To: Diep, David (OCTO-Contractor); 'user-71895fb2e44c@xymon.invalid'
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:user-ca44d68fd6e2@xymon.invalid]
Sent: Tuesday, December 17, 2013 06:03 PM
To: Jeremy Laidman <user-71895fb2e44c@xymon.invalid>; 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:user-71895fb2e44c@xymon.invalid]
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 <user-6e4f7a3bb37f@xymon.invalid<mailto:user-6e4f7a3bb37f@xymon.invalid>> 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 X-XXX-XXX-XXXX 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).
list David Diep · Tue, 17 Dec 2013 18:47:55 -0500 ·
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
quoted from Tim McCloskey


-----Original Message-----
From: Tim McCloskey [mailto:user-440820cc07d6@xymon.invalid]
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) [user-ca44d68fd6e2@xymon.invalid]

Sent: Tuesday, December 17, 2013 3:17 PM

To: Novosielski, Ryan; 'user-71895fb2e44c@xymon.invalid'

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:user-6e4f7a3bb37f@xymon.invalid]

Sent: Tuesday, December 17, 2013 6:11 PM

To: Diep, David (OCTO-Contractor); 'user-71895fb2e44c@xymon.invalid'

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:user-ca44d68fd6e2@xymon.invalid]

Sent: Tuesday, December 17, 2013 06:07 PM

To: Novosielski, Ryan; 'user-71895fb2e44c@xymon.invalid' <user-71895fb2e44c@xymon.invalid>

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:user-6e4f7a3bb37f@xymon.invalid]

Sent: Tuesday, December 17, 2013 6:05 PM

To: Diep, David (OCTO-Contractor); 'user-71895fb2e44c@xymon.invalid'

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:user-ca44d68fd6e2@xymon.invalid]

Sent: Tuesday, December 17, 2013 06:03 PM

To: Jeremy Laidman <user-71895fb2e44c@xymon.invalid>; 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:user-71895fb2e44c@xymon.invalid]

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 <user-6e4f7a3bb37f@xymon.invalid<mailto:user-6e4f7a3bb37f@xymon.invalid<mailto:user-6e4f7a3bb37f@xymon.invalid%3cmailto:user-6e4f7a3bb37f@xymon.invalid>>> 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 X-XXX-XXX-XXXX 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).
list Tim McCloskey · Tue, 17 Dec 2013 23:56:28 +0000 ·
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
quoted from David Diep


From: Diep, David (OCTO-Contractor) [user-ca44d68fd6e2@xymon.invalid]
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:user-440820cc07d6@xymon.invalid]
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) [user-ca44d68fd6e2@xymon.invalid]

Sent: Tuesday, December 17, 2013 3:17 PM

To: Novosielski, Ryan; 'user-71895fb2e44c@xymon.invalid'

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:user-6e4f7a3bb37f@xymon.invalid]

Sent: Tuesday, December 17, 2013 6:11 PM

To: Diep, David (OCTO-Contractor); 'user-71895fb2e44c@xymon.invalid'

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:user-ca44d68fd6e2@xymon.invalid]

Sent: Tuesday, December 17, 2013 06:07 PM

To: Novosielski, Ryan; 'user-71895fb2e44c@xymon.invalid' <user-71895fb2e44c@xymon.invalid>

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:user-6e4f7a3bb37f@xymon.invalid]

Sent: Tuesday, December 17, 2013 6:05 PM

To: Diep, David (OCTO-Contractor); 'user-71895fb2e44c@xymon.invalid'

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:user-ca44d68fd6e2@xymon.invalid]

Sent: Tuesday, December 17, 2013 06:03 PM

To: Jeremy Laidman <user-71895fb2e44c@xymon.invalid>; 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:user-71895fb2e44c@xymon.invalid]

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 <user-6e4f7a3bb37f@xymon.invalid<mailto:user-6e4f7a3bb37f@xymon.invalid<mailto:user-6e4f7a3bb37f@xymon.invalid%3cmailto:user-6e4f7a3bb37f@xymon.invalid>>> 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 X-XXX-XXX-XXXX 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).
list Jeremy Laidman · Wed, 18 Dec 2013 12:55:48 +1100 ·
On 18 December 2013 10:47, Diep, David (OCTO-Contractor)
quoted from Tim McCloskey
<user-ca44d68fd6e2@xymon.invalid>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
quoted from Tim McCloskey

 ·         “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.
quoted from Tim McCloskey
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
list Carl Inglis · Wed, 18 Dec 2013 06:34:04 +0000 ·
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: +XX XXXX XXXXXX | Fax: +XX XXXX XXXXXX | Mob: +44 7786 552915
user-96685bdc864b@xymon.invalid | 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.
quoted from Tim McCloskey
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
list David Diep · Wed, 18 Dec 2013 08:49:46 -0500 ·
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.
quoted from Jeremy Laidman

Thanks for all your help.

David Diep

From: Jeremy Laidman [mailto:user-71895fb2e44c@xymon.invalid]
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) <user-ca44d68fd6e2@xymon.invalid<mailto:user-ca44d68fd6e2@xymon.invalid>> 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


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 X-XXX-XXX-XXXX or 311.