Hi Tom

 

SELinux isn’t installed, apparmor is disabled and not running.

 

# aa-status

apparmor module is loaded.

apparmor filesystem is not mounted.

 

 

Best regards

 

ChrisP

 

From: Tom Schmidt <tom@4schmidts.com>
Sent: Friday, 13 September 2024 22:13
To: Xymon mailinglist <xymon@xymon.com>
Cc: Jeremy Ruffer <jeremy.ruffer@gmail.com>; Chris Pretorius <chris.pretorius@coaxle.co.za>
Subject: Re: [Xymon] Re: Xymon on Ubuntu 24.04

 

You don't often get email from tom@4schmidts.com. Learn why this is important

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:07PM 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