Thanks for the update Chris. I wasn't aware that the Xymon packages were available through the Ubuntu repositories (as I mainly work with Red Hat Linux). I generally add the Terabithia repo and just use that, knowing that it's almost certainly going to have the most recent builds with bug fixes. It would be good to provide feedback to the Ubuntu package maintainer, if that's relatively easy to do. Cheers Jeremy On Mon, 16 Sept 2024 at 18:31, Chris Pretorius <chris.pretorius@coaxle.co.za> wrote:
Good morning
I installed xymon on a Ubuntu24.04 virtual server to make sure this is not an Azure Ubuntu problem.
I see the same problems on the new install.
Seems the problem is on the package provided on the Ubuntu 24.04 repo’s
xymon/noble,now 4.3.30-2build3
but xymon/jammy,now 4.3.30-1build3 is 100%.
I guess there won’t be any quick fix coming soon.
Best regards
*From:* Chris Pretorius <chris.pretorius@coaxle.co.za> *Sent:* Sunday, 15 September 2024 09:55 *To:* Xymon mailinglist <xymon@xymon.com>; Jeremy Laidman < jeremy@laidman.org> *Subject:* RE: [Xymon] Re: Xymon on Ubuntu 24.04
Hi Jeremy
Update
I purged xymon*
Downloaded xymon-client_4.3.30-1build3_amd64.deb and xymon_4.3.30-1build3_amd64.deb from http://archive.ubuntu.com/ubuntu/ubuntu/pool/universe/x/xymon/
Installed the deb file,
# apt-cache policy xymon
xymon:
Installed: 4.3.30-1build3
Candidate: 4.3.30-2build3
Xymon started, no changes made to configs.
Web page opened and all client(local) tests (disk, cpu etc) now displays and the rrd graphs also now get generated.
Now see rrd files in /var/lib/xymon/rrd/host/*
Best regards
ChrisP
*From:* Chris Pretorius via Xymon <xymon@xymon.com> *Sent:* Saturday, 14 September 2024 20:51 *To:* Jeremy Laidman <jeremy@laidman.org>; Xymon mailinglist < xymon@xymon.com> *Cc:* Chris Pretorius <chris.pretorius@coaxle.co.za> *Subject:* [Xymon] Re: Xymon on Ubuntu 24.04
Hi Jeremy
I haven’t pointed any clients to the xymon server as yet.
The local xymon-client service is disabled and not running.
The xymonclient is configured in the tasks.cfg, I did disable xymonclient but did not solve the problem.
The server where im struggling is is 24.04.1 LTS (Noble Numbat)
Best regards
ChrisP
*From:* Jeremy Laidman <jeremy@laidman.org> *Sent:* Saturday, 14 September 2024 03:17 *To:* Xymon mailinglist <xymon@xymon.com>; Chris Pretorius < chris.pretorius@coaxle.co.za> *Subject:* Re: [Xymon] Re: Xymon on Ubuntu 24.04
Chris
Presumably this is a new installation, are there other hosts that have the client installed? Did you install the client package (xymon-client) onto your Xymon server (it won't monitor itself if that's not the case).
The bug reporter said that it seemed to work with Ubuntu 22.04.4, but getting the errors on 22.04.1. What sub-release are you running?
Cheers
Jeremy
On Sat, 14 Sept 2024 at 06:13, Tom Schmidt <tom@4schmidts.com> wrote:
Is SELinux enabled on your Ubuntu install? If so, you may need to change it from Enforcing mode to Permissive mode in the /etc/selinux/config file. SELinux will block many of the commands run by Xymon unless they are all explicitly granted permission by SELinux.
Tom
On Fri, Sep 13, 2024 at 2:07 PM Chris Pretorius via Xymon <xymon@xymon.com> wrote:
Hi Jeremy
I went berserk and set very high values
MAXMSG_CLIENT=4194304
MAXMSG_STATUS=4194304
MAXMSG_DATA=4194304
But the problem is not resolved
--------------------------
Output in rrd-status.log with –debug enabled
2024-09-13 21:58:08.000165 Peer at 0.0.0.0:0 failed: Broken pipe
2024-09-13 21:58:13.080151 Peer not up, flushing message queue
13258 2024-09-13 21:58:13.109283 setup_feedback_queue: got ID -1 for key 0xA010D68
13258 2024-09-13 21:58:13.109533 Opening file /usr/lib/xymon/server/etc/rrddefinitions.cfg
13258 2024-09-13 21:58:13.111854 Want msg 1, startpos 0, fillpos 0, endpos -1, usedbytes=0, bufleft=4198399
13258 2024-09-13 21:58:13.111894 Got 1856 bytes
13258 2024-09-13 21:58:13.111900 xymond_rrd: Got message 1 @@status#1/ xymon.xyz.co.za|1726257493.075018|x.x.x.x||xymon.xyz.co.za |xymongen|1726259293|green||green|1726230891|0||0||1726237717|||0|
13258 2024-09-13 21:58:13.111930 startpos 1856, fillpos 1856, endpos -1
13258 2024-09-13 21:58:13.111969 Transport setup is:
13258 2024-09-13 21:58:13.111995 xymondportnumber = 1984
13258 2024-09-13 21:58:13.111997 xymonproxyhost = NONE
13258 2024-09-13 21:58:13.112043 xymonproxyport = 0
13258 2024-09-13 21:58:13.112045 Recipient listed as 'x.x.x.x'
13258 2024-09-13 21:58:13.112048 Standard protocol on port 1984
13258 2024-09-13 21:58:13.112056 Will connect to address x.x.x.x port 1984
13258 2024-09-13 21:58:13.112726 Connect status is 0
13258 2024-09-13 21:58:13.112769 Sent 16 bytes
13258 2024-09-13 21:58:13.113837 Read 826 bytes
13258 2024-09-13 21:58:13.113861 Closing connection
*** buffer overflow detected ***: terminated
2024-09-13 21:58:13.366744 Child process 13258 died: Signal 6
Best regards
*From:* Jeremy Ruffer <jeremy.ruffer@gmail.com> *Sent:* Friday, 13 September 2024 16:11 *To:* Chris Pretorius <chris.pretorius@coaxle.co.za>; Xymon mailinglist < xymon@xymon.com> *Subject:* Re[2]: [Xymon] Xymon on Ubuntu 24.04
What have you got them set to now?
I would double them again and again if needed.
There is one slight gotcha here. We had a system where the figure was bytes instead of KB in spite of the comments in the file saying they were KB.
Regards
Jeremy
------ Original Message ------
From: "Chris Pretorius" <chris.pretorius@coaxle.co.za>
To: "Jeremy Ruffer" <jeremy.ruffer@gmail.com>; "Xymon mailinglist" < xymon@xymon.com>
Sent: 13/09/2024 15:01:46
Subject: RE: [Xymon] Xymon on Ubuntu 24.04
Thanx Jeremy
Increased the limit and restarted, but still getting the same line in the logs.
Best regards
*From:* Jeremy Ruffer <jeremy.ruffer@gmail.com> *Sent:* Friday, 13 September 2024 15:55 *To:* Xymon mailinglist <xymon@xymon.com>; Xymon Mailing List < xymon@xymon.com> *Cc:* Chris Pretorius <chris.pretorius@coaxle.co.za> *Subject:* Re: [Xymon] Xymon on Ubuntu 24.04
Hi Chris,
You may need to change some memory limits in xymonserver.cfg
MAXMSG_CLIENT
MAXMSG_STATUS
MAXMSG_DATA
If you have plenty of memory I would multiply them all by 8.
HTH
Jeremy
------ Original Message ------
From: "Chris Pretorius via Xymon" <xymon@xymon.com>
To: "Xymon Mailing List" <xymon@xymon.com>
Cc: "Chris Pretorius" <chris.pretorius@coaxle.co.za>
Sent: 13/09/2024 14:22:38
Subject: [Xymon] Xymon on Ubuntu 24.04
Good day
I please need guidance to configure xymon on Ubuntu 24.04
I installed xymon from the default apt repository.
It’s a VM running in Azure and installed using the repo that was setup for a Ubuntu vem on azure.
Also changed the repo to the default mirrors.kernel.org and installed xymon from there.
# apt-cache policy xymon
xymon:
Installed: 4.3.30-2build3
Candidate: 4.3.30-2build3
Version table:
*** 4.3.30-2build3 500
500 https://mirrors.kernel.org/ubuntu noble/universe amd64 Packages
100 /var/lib/dpkg/status
Xymon does start and generates the pages which I can view but is missing the client tests (disk, cpu, memory etc..), and the rrd graphs
Confirm port 1984 is listening
I see a bug was also recently reported here https://bugs.launchpad.net/ubuntu/+source/xymon/+bug/2078638
I see similar entries in the xymon {clientdata.log, rrd-status.log alert.log } files, repeating.
**** snip ****
2024-09-13 14:50:52.967847 Peer not up, flushing message queue
*** buffer overflow detected ***: terminated
2024-09-13 14:50:53.187820 Child process 5496 died: Signal 6
2024-09-13 14:51:52.977025 Peer at 0.0.0.0:0 failed: Broken pipe
**** snip ****
This is a fresh install and the only change I made in xymonserver.cfg are:
XYMONSERVERIP=”server ip”
Firewall disabled
Apparmor disabled
Thank you.
ChrisP
_______________________________________________ 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