Xymon Mailing List Archive search

ubuntu client tests data apt and libs

6 messages in this thread

list Gab Dito · Wed, 31 Jan 2024 19:13:53 -0500 ·
Hello everyone, I am looking for answers for these tests that I am not sure
how to resume.

I had an Ubuntu server running xymon and also running the client to report
to itself, probably an old version of Ubuntu, I want to say 18.xx and
probably the last 32 bit around.
I've finally upgraded to a better hardware, I now have the latest Ubuntu
22, I've migrated all my configs, xymon client and server, and other
services like nginx, that I was running on there.
Same hostname, same IP, so nothing was changed beside the OS,

All good so far, but I have a non issue request, just a curiosity at this
point that I cannot find an answer to.

It's about tests that were there before and now they are no longer there,
so they are purple on the display page. The older server was reporting 2
tests that I presumed came from the xymon client "apt" and "libs".
Those tests are no longer reporting, Where did they come from? And can I
resume them on the new server?

Thank you all in advance.

Gab
list Kris Springer · Wed, 31 Jan 2024 18:19:07 -0700 ·
If you had the same old tests I did once upon a time, they were probably 'hobbit plugins' that came from here.
https://salsa.debian.org/debian/hobbit-plugins/tree/master/src/usr/lib/xymon/client/ext

Kris Springer
quoted from Gab Dito


On 1/31/24 5:13 PM, Dito wrote:
Hello everyone, I am looking for answers for these tests that I am not sure how to resume.

I had an Ubuntu server running xymon and also running the client to report to itself, probably an old version of Ubuntu,?I want to say 18.xx and probably the last 32 bit around.
quoted from Gab Dito
I've finally upgraded to a better hardware, I now have the latest Ubuntu 22, I've migrated all my configs, xymon client and server, and other services like nginx, that I was running on there.
Same hostname, same IP, so nothing was changed beside the OS,

All good so far, but I have a non issue request, just a curiosity at this point that I cannot find an answer to.

It's about tests that were there before and now they are no longer there, so they are purple on the display page. The older server was reporting 2 tests that I presumed came from the xymon client "apt" and "libs".
Those tests are no longer reporting, Where did they come from? And can I resume them on the new server?

Thank you all in?advance.

Gab

list Jeremy Ruffer · Thu, 01 Feb 2024 08:38:18 +0000 ·
Hi Dito,

I remember having a problem with this test in the past.  I ended up putting a copy of Xymon.pm somewhere that was on the perl path.

You may find something useful in the logs.

HTH
Jeremy
quoted from Kris Springer

------ Original Message ------
From: "Kris Springer" <user-c2caa0a7a8d5@xymon.invalid>
To: "Dito" <user-b8c0e0047c63@xymon.invalid>; "Xymon at xymon.com" <xymon at xymon.com>
Sent: 01/02/2024 01:19:07
Subject: Re: [Xymon] ubuntu client tests data apt and libs
If you had the same old tests I did once upon a time, they were probably 'hobbit plugins' that came from here.
https://salsa.debian.org/debian/hobbit-plugins/tree/master/src/usr/lib/xymon/client/ext

Kris Springer


On 1/31/24 5:13 PM, Dito wrote:
Hello everyone, I am looking for answers for these tests that I am not sure how to resume.

I had an Ubuntu server running xymon and also running the client to report to itself, probably an old version of Ubuntu, I want to say 18.xx and probably the last 32 bit around.
I've finally upgraded to a better hardware, I now have the latest Ubuntu 22, I've migrated all my configs, xymon client and server, and other services like nginx, that I was running on there.
Same hostname, same IP, so nothing was changed beside the OS,

All good so far, but I have a non issue request, just a curiosity at this point that I cannot find an answer to.

It's about tests that were there before and now they are no longer there, so they are purple on the display page. The older server was reporting 2 tests that I presumed came from the xymon client "apt" and "libs".
Those tests are no longer reporting, Where did they come from? And can I resume them on the new server?

Thank you all in advance.

Gab

list Adam Thorn · Thu, 1 Feb 2024 10:04:14 +0000 ·
quoted from Jeremy Ruffer
On 01/02/2024 00:13, Dito wrote:
It's about tests that were there before and now they are no longer there, so they are purple on the display page. The older server was reporting 2 tests that I presumed came from the xymon client "apt" and "libs".
Those tests are no longer reporting, Where did they come from? And can I resume them on the new server?
On a regular ubuntu/debian install, they'd be provided by the hobbit-plugins deb package (i.e. "apt-get install hobbit-plugins"). That package provides a number of client scripts that you'll find at e.g.

/usr/lib/xymon/client/ext/apt
/usr/lib/xymon/client/ext/libs

I'd start by just running those scripts manually to see if they work as expected or not.

The tests will then be configured to run periodically under xymon-client in the config files:

/etc/xymon/clientlaunch.d/apt.cfg
/etc/xymon/clientlaunch.d/libs.cfg

The default config shipped with the hobbit-plugins deb package is (I think) to enable those tests: check they're not "DISABLED", and look in the "LOGFILE" files referred to in those cfg files to see if there's anything useful.

Adam
list Bruno Manzoni · Thu, 1 Feb 2024 11:29:26 +0100 ·
Hi Dito,
I dont know exactly for ubuntu, but for debian that what I do:

- apt install hobbit-plugins

#yellow alarm: /usr/lib/xymon/client/ext/apt
sed -i "s/pkgreport('Security updates', 'red'/pkgreport('Security updates', 'yellow'/" /usr/lib/xymon/client/ext/apt

# Update daily
apt install unattended-upgrades apt-listchanges
dpkg-reconfigure -plow unattended-upgrades
->Yes

Pour d?sactiver les auto upgrade? (system critique)
vi /etc/apt/apt.conf.d/20auto-upgrades
APT::Periodic::Unattended-Upgrade "0";

V?rif
apt-config dump APT::Periodic::Update-Package-Lists
APT::Periodic::Update-Package-Lists "1";
apt-config dump APT::Periodic::Unattended-Upgrade
APT::Periodic::Unattended-Upgrade "1";

Bruno

Le 01.02.2024 ? 11:04, Adam Thorn a ?crit?:
quoted from Adam Thorn
On 01/02/2024 00:13, Dito wrote:
It's about tests that were there before and now they are no longer there, so they are purple on the display page. The older server was reporting 2 tests that I presumed came from the xymon client "apt" and "libs".
Those tests are no longer reporting, Where did they come from? And can I resume them on the new server?
On a regular ubuntu/debian install, they'd be provided by the hobbit-plugins deb package (i.e. "apt-get install hobbit-plugins"). That package provides a number of client scripts that you'll find at e.g.

/usr/lib/xymon/client/ext/apt
/usr/lib/xymon/client/ext/libs

I'd start by just running those scripts manually to see if they work as expected or not.

The tests will then be configured to run periodically under xymon-client in the config files:

/etc/xymon/clientlaunch.d/apt.cfg
/etc/xymon/clientlaunch.d/libs.cfg

The default config shipped with the hobbit-plugins deb package is (I think) to enable those tests: check they're not "DISABLED", and look in the "LOGFILE" files referred to in those cfg files to see if there's anything useful.

Adam
-- 

Cet e-mail a ?t? v?rifi? par le logiciel antivirus d'Avast.
www.avast.com
list Stef Coene · Thu, 1 Feb 2024 19:08:22 +0100 ·
Hi,

Just wondering, did you copied the rrd files?
Because 32bit files will not load on 64bit server...


Stef
quoted from Jeremy Ruffer

On 1/02/2024 1:13, Dito wrote:
Hello everyone, I am looking for answers for these tests that I am not sure how to resume.

I had an Ubuntu server running xymon and also running the client to report to itself, probably an old version of Ubuntu,?I want to say 18.xx and probably the last 32 bit around.
I've finally upgraded to a better hardware, I now have the latest Ubuntu 22, I've migrated all my configs, xymon client and server, and other services like nginx, that I was running on there.
Same hostname, same IP, so nothing was changed beside the OS,

All good so far, but I have a non issue request, just a curiosity at this point that I cannot find an answer to.

It's about tests that were there before and now they are no longer there, so they are purple on the display page. The older server was reporting 2 tests that I presumed came from the xymon client "apt" and "libs".
Those tests are no longer reporting, Where did they come from? And can I resume them on the new server?

Thank you all in?advance.

Gab