Seems like a locale issue. The decimal point is a comma so the server ignores the leading zero.
On Fri, 25 Jul 2025, 12:04 Becker Christian via Xymon, <xymon@xymon.com> wrote:
Adam,
thx for your help.
The output of uptime is:
13:02:45 up 23:03, 4 users, load average: 0,60, 0,13, 0,04
Nearly at the same time I get this in Xymon:
Regards
-----Ursprüngliche Nachricht----- Von: Adam Thorn via Xymon <xymon@xymon.com> Gesendet: Freitag, 25. Juli 2025 10:24 An: xymon@xymon.com Cc: Adam Thorn <alt36@cam.ac.uk> Betreff: [Xymon] Re: Issue with xymon-rclient.sh
WARNUNG: Diese E-Mail kam von außerhalb der Organisation. Klicken Sie nicht auf Links oder öffnen Sie keine Anhänge, es sei denn, Sie kennen den Absender und wissen, dass der Inhalt sicher ist.
Looking at the server side code, the cpu load average for a linux client is actually extracted from the [uptime] section, not the [top] section, which surprised me a little.
(i.e. the sections as generated in the output of
/usr/lib/xymon/client/bin/xymonclient-linux.sh)
The [uptime] section is the output of just running "uptime". The server code looks for the string "load average: " or "load averages: ", then after that looks for either of the patterns "FLOAT, FLOAT, FLOAT" or "FLOAT FLOAT FLOAT". The middle float from that list is then reported as the CPU load.
Christian: what does the output of "uptime" look like on your client?
Adam
On 24/07/2025 19:06, Tom Schmidt wrote:
Christian,
Looking at xymon-rclient.sh, it will grab the load average fromthe "top" command. I assume for your configuration that it is using
the xymonclient-linux.sh script to collect the data. If so, it runs
"$TOP - b -n 1" and the line near the top that has the load average is used.
$TOP would be defined in your xymonclient.cfg file for the client.
What does the head of "top -b -n 1" look like on your system?Tom
On Thu, Jul 24, 2025 at 3:39 AM Becker Christian via Xymon
<xymon@xymon.com <mailto:xymon@xymon.com>> wrote:
Hi to the list,______ __working with xymon since 2008, still using it.______ __Now I was in the situation to include a LinuxMint machine (withdesktop environment), using Jeremy’s xymon-rclient.sh 0.6.1 tomonitor this thing.____After setting up the ssh-based authentication and waiting a coupleof minutes, the data of this LinuxMint machine came up and appearedin Xymon.______ __Other than other machines i’m pulling with xymon-rclient.sh, the CPUstate of this machine became red immediately.____It seems to me that the Load Average of the LinuxMint machine isinterpreted wrong: when looking in Xymon, it tells me a Load Averageof 60.00, while looking to the LinuxMint machine, seeing it’s LoadAverage at 0.6.______ __What could be wrong? The LinuxMint machine is running LinuxMint 22.1with it’s lates updates.____These are the locales used by the LinuxMint machine:______ __LANG=en_US.UTF-8____LANGUAGE=en_US____LC_CTYPE="en_US.UTF-8"____LC_NUMERIC=de_DE.UTF-8____LC_TIME=de_DE.UTF-8____LC_COLLATE="en_US.UTF-8"____LC_MONETARY=de_DE.UTF-8____LC_MESSAGES="en_US.UTF-8"____LC_PAPER=de_DE.UTF-8____LC_NAME=de_DE.UTF-8____LC_ADDRESS=de_DE.UTF-8____LC_TELEPHONE=de_DE.UTF-8____LC_MEASUREMENT=de_DE.UTF-8____LC_IDENTIFICATION=de_DE.UTF-8____LC_ALL=______ __Yes, they are mixed….______ __We’ve a few other linux client machines running “non-server-linuxes” (i.e. RaspberryPi running Raspberry PI OS) which arereporting fine using xymon-rclient.sh.______ __Regards____Christian___________________________________________________Xymon mailing list -- xymon@xymon.com <mailto:xymon@xymon.com<xymon@xymon.com>>
To unsubscribe send an email to xymon-leave@xymon.com <mailto:xymon-leave@xymon.com>
Xymon mailing list -- xymon@xymon.com
To unsubscribe send an email to xymon-leave@xymon.com
Xymon mailing list -- xymon@xymon.com
To unsubscribe send an email to xymon-leave@xymon.com
Xymon mailing list -- xymon@xymon.com To unsubscribe send an email to xymon-leave@xymon.com