20 Jun
2014
20 Jun
'14
11:22 a.m.
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