[Xymon] xymond option --merge-clientlocal and clientupdate

Alexander Bech alex at bakarasse.de
Fri Jun 20 13:22:41 CEST 2014


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20140620/de687fe6/attachment.html>


More information about the Xymon mailing list