Xymon Mailing List Archive search

ubuntu client tests data apt and libs

list Bruno Manzoni
Thu, 1 Feb 2024 11:29:26 +0100
Message-Id: <user-1309c83dc7dd@xymon.invalid>

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?:
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