Xymon Mailing List Archive search

xymond option --merge-clientlocal and clientupdate

1 message in this thread

list Alexander Bech · Fri, 20 Jun 2014 13:22:41 +0200 ·
Hi Henrik,

If xymond is started with the "--merge-clientlocal" option
and returns more than one clientversion: lines then clientupdate on xymon client not works properly.

////According to the rule "host before class before os"
the following modificationof xymonclient.sh would be correct:

-    SERVERVERSION=`grep "^clientversion:" $LOGFETCHCFG | cut -d: -f2`
+    SERVERVERSION=`grep "^clientversion:" $LOGFETCHCFG | cut -d: -f2 | head -n1`


In the xymond manpage must be also "--merge-clientlocal" instead of "--merge-clientconfig".


Thanks
Alex