ubuntu client tests data apt and libs
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
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...
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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
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
------ Original Message ------ From: "Kris Springer" <kspringer at innovateteam.com> To: "Dito" <dito74 at gmail.com>; "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...
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
Xymon mailing list Xymon at xymon.comhttp://lists.xymon.com/mailman/listinfo/xymon
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
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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
-- Cet e-mail a ?t? v?rifi? par le logiciel antivirus d'Avast. www.avast.com
Hi,
Just wondering, did you copied the rrd files? Because 32bit files will not load on 64bit server...
Stef
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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
participants (6)
-
alt36@cam.ac.uk
-
bruno.manzoni@ubi-network.ch
-
dito74@gmail.com
-
jeremy.ruffer@gmail.com
-
kspringer@innovateteam.com
-
stef.coene@docum.org