[Xymon] xymon client in 'local' mode, build pain

John Thurston john.thurston at alaska.gov
Sat Feb 8 03:49:30 CET 2014


I've been using my Solaris BB clients with my Xymon server, but am 
hoping the xymon client will be more zfs-aware than the ancient BB 
client. To that end, I'm trying to compile a xymon client.

I've spent most of the day fighting with the 'make' process.

Following the notes in:
   http://lists.xymon.com/pipermail/xymon/2013-January/036466.html
   http://lists.xymon.com/pipermail/xymon/2010-September/029376.html
I have modified xymond/Makefile several ways. . .
Adding the line:
> IDTOOL := $(shell if test `uname -s` = "SunOS"; then echo /usr/xpg4/bin/id; else echo id; fi)

Changing the lines beginning "../client/xymond_client" to be:
> ../client/xymond_client: $(CLIENTOBJS) ../lib/libxymonclient.a
>         $(CC) -o $@ $(RPATHOPT) $(CLIENTOBJS) ../lib/loadhosts.o ../lib/matching.o ../lib/timing.o ../lib/locator.o ../lib/libxymonclientcomm.a ../lib/libxymonclient.a -lrt -lpcre $(PCRELIBS) $(NETLIBS) $(LIBRTDEF)

The crazy part is when I compare the results of making with --client and 
--server. I can only find one difference. A --client build has created 
the application bin/xymond_client

Is this really the only difference? If so, why is there a broken build 
process for the '--client' option? Why doesn't the '--server' option 
also build the xymond_client and leave it abandoned in the bin directory?


-- 
    Do things because you should, not just because you can.

John Thurston    907-465-8591
John.Thurston at alaska.gov
Enterprise Technology Services
Department of Administration
State of Alaska



More information about the Xymon mailing list