way to tell what version of the client is running
list Paul Root
Hi,
Is there a way from the server, to find out what version the client is running?
I looked in the xymon command man page, but didn't find anything.
Paul.
list Japheth Cleaver
▸
Hi, Is there a way from the server, to find out what version the client is running? I looked in the xymon command man page, but didn't find anything. Paul.
See http://www.xymon.com/xymon/help/manpages/man1/clientupdate.1.html By default, no ... not unless you've created a file at $XYMONHOME/etc/clientversion.cfg, which gets included in the [clientversion] section by xymonclient.sh. The Terabithia RPMs report their RPM version there automatically. (Presumably if you're installing by RPM you probably wouldn't be running the clientupdate binary to deploy tarballs.) Either way, you'd query like so: /]$ xymon localhost "clientlog rhel6-x86-64.build section=clientversion" [clientversion] Xymon version 4.3.11-8.1.el6 /]$ HTH, -jc
list Maik Heinelt
We will use several pfsense boxes and I am wondering if there is already plugin I easily can install to get displayed those boxes in Xymon? I was reading, someone else asked same question in past, but at this time he had to compile the clients in pfsense. Interesting would be to get the pfsense graphs displayed in Xymon. Maik
list Bruce Ferrell
▸
On 05/30/2013 04:37 PM, Maik Heinelt wrote:
We will use several pfsense boxes and I am wondering if there is already plugin I easily can install to get displayed those boxes in Xymon? I was reading, someone else asked same question in past, but at this time he had to compile the clients in pfsense. Interesting would be to get the pfsense graphs displayed in Xymon. Maik
I just built a xymon client on mine
list Sean Clark
On 5/30/13 6:20 PM, "user-87556346d4af@xymon.invalid" <user-87556346d4af@xymon.invalid>
▸
wrote:
Hi, Is there a way from the server, to find out what version the client is running? I looked in the xymon command man page, but didn't find anything. Paul.See http://www.xymon.com/xymon/help/manpages/man1/clientupdate.1.html By default, no ... not unless you've created a file at $XYMONHOME/etc/clientversion.cfg, which gets included in the [clientversion] section by xymonclient.sh. The Terabithia RPMs report their RPM version there automatically. (Presumably if you're installing by RPM you probably wouldn't be running the clientupdate binary to deploy tarballs.)
You could have the base rpm on a kickstart server, so that all machines get kickstarted with a standard image And then later on in the process, the update client based on their machine type once deployed, that is how ours runs
▸
Either way, you'd query like so: /]$ xymon localhost "clientlog rhel6-x86-64.build section=clientversion" [clientversion] Xymon version 4.3.11-8.1.el6 /]$ HTH, -jc
This E-mail and any of its attachments may contain Time Warner Cable proprietary information, which is privileged, confidential, or subject to copyright belonging to Time Warner Cable. This E-mail is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient of this E-mail, you are hereby notified that any dissemination, distribution, copying, or action taken in relation to the contents of and attachments to this E-mail is strictly prohibited and may be unlawful. If you have received this E-mail in error, please notify the sender immediately and permanently delete the original and any copy of this E-mail and any printout.
list Jeremy Laidman
▸
On 31 May 2013 03:48, Root, Paul T <user-76fdb6883669@xymon.invalid> 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
list Roland Soderstrom
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 <user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>> 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
list Japheth Cleaver
▸
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
Attachments (1)