[Xymon] way to tell what version of the client is running

cleaver at terabithia.org cleaver at terabithia.org
Wed Jun 5 13:36:54 CEST 2013


> My solution was this.
>
> Change this line in client/bin/xymonclient.sh
> CLIENTVERSION="`$XYMONHOME/bin/clientupdate --level`"
> to
> CLIENTVERSION="`$XYMONHOME/bin/xymon --version`"
>
> This shows up on the info page.
> Hostname:          host01
> OS:         SunOS host01 5.10 Generic_147440-19 sun4u sparc
> SUNW,Sun-Fire-V240
> Client S/W:         Xymon version 4.3.10
> IP:           10.0.0.70
> Of course that doesn't work if you push out the clients from your server.
> The client will most probably clobber that file.
> But I guess you could change the clientupdate to include this.
> I don't use the clientupdate function.
>
>


This patch should do the trick as well, using `$XYMON --version` as a
fallback.

-jc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xymon.clientversion.patch
Type: application/octet-stream
Size: 739 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20130605/967cd9f7/attachment.obj>


More information about the Xymon mailing list