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

Roland Soderstrom Rolands at logicaltech.com.au
Wed Jun 5 06:27:20 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.


-          Roland

From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Jeremy Laidman
Sent: Tuesday, 4 June 2013 3:17 PM
To: Root, Paul T
Cc: xymon at xymon.com
Subject: Re: [Xymon] way to tell what version of the client is running

On 31 May 2013 03:48, Root, Paul T <Paul.Root at centurylink.com<mailto:Paul.Root at centurylink.com>> wrote:
Is there a way from the server, to find out what version the client is running?

You could add this into client-local.cfg on the server:

file:`( echo "client/xymonversion $MACHINE.$OSTYPE"; echo "[clientversion]"; $XYMON --version ) | $XYMON $XYMSRV @ >/dev/null`

Assign to each device you want to know about.  This causes each client to run "xymon --version" and send the result back as a supplementary "client" message.  Then on the server you can retrieve it with the "clientlog" type message that Japheth showed.  If you upgrade clients, they will automatically report new version strings.

J

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


More information about the Xymon mailing list