How to get Linux Update info from client
list Kris Springer
I've got the 'xymon-client' installed on many machines and was
wondering if the client gathers any info regarding Security and
Package updates that can be updated? I've searched the 'clientlog'
and there's no mention of Updates anywhere. Does anyone have a way
to view available updates from linux clients?
Thanks,
Thanks,
Kris Springer
list Paul Root
I just wrote an external script that basically does a ‘yum check-upgrade’ and parses that for the number of packages that need updating.
▸
From: Xymon <xymon-bounces at xymon.com> On Behalf Of Kris Springer
Sent: Tuesday, June 05, 2018 9:48 AM
To: xymon at xymon.com
Subject: [Xymon] How to get Linux Update info from client
I've got the 'xymon-client' installed on many machines and was wondering if the client gathers any info regarding Security and Package updates that can be updated? I've searched the 'clientlog' and there's no mention of Updates anywhere. Does anyone have a way to view available updates from linux clients?
Thanks,
Kris Springer
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
list Axel Beckert
Hi Kris,
▸
On Tue, Jun 05, 2018 at 07:48:01AM -0700, Kris Springer wrote:I've got the 'xymon-client' installed on many machines and was wondering if the client gathers any info regarding Security and Package updates that can be updated? I've searched the 'clientlog' and there's no mention of Updates anywhere. Does anyone have a way to view available updates from linux clients?
Debian's hobbit-plugins collection contains checks for apt as well as for yum: https://salsa.debian.org/debian/hobbit-plugins/tree/master/src/usr/lib/xymon/client/ext If you're on Debian or a Debian derivative like Ubuntu, you can just do "apt install hobbit-plugins" and the "apt" check is active by default. The yum check works fine on at least RHEL 6 and 7. Just copy it to the proper directory and write a tiny .cfg file to activate it. Kind regards, Axel -- PGP: 2FF9CD59612616B5 /~\ Plain Text Ribbon Campaign, http://arc.pasp.de/ Mail: user-bc188e45dae4@xymon.invalid \ / Say No to HTML in E-Mail and Usenet Mail+Jabber: user-0064bde8d49d@xymon.invalid X https://axel.beckert.ch/ / \ I love long mails: https://email.is-not-s.ms/
list Kris Springer
That's exactly what I needed. Thanks so much!
Thank you.
------------------------------------------------
Kris Springer
▸
On 06/05/2018 09:11 AM, Axel Beckert
wrote:
Hi Kris, On Tue, Jun 05, 2018 at 07:48:01AM -0700, Kris Springer wrote:I've got the 'xymon-client' installed on many machines and was wondering if the client gathers any info regarding Security and Package updates that can be updated? I've searched the 'clientlog' and there's no mention of Updates anywhere. Does anyone have a way to view available updates from linux clients?Debian's hobbit-plugins collection contains checks for apt as well as for yum: https://salsa.debian.org/debian/hobbit-plugins/tree/master/src/usr/lib/xymon/client/ext If you're on Debian or a Debian derivative like Ubuntu, you can just do "apt install hobbit-plugins" and the "apt" check is active by default. The yum check works fine on at least RHEL 6 and 7. Just copy it to the proper directory and write a tiny .cfg file to activate it. Kind regards, Axel
list W.J.M. Nelis
Hello,
I've got the 'xymon-client' installed on many machines and was wondering if the client gathers any info regarding Security and Package updates that can be updated? I've searched the 'clientlog' and there's no mention of Updates anywhere. Does anyone have a way to view available updates from linux clients?
See https://wiki.xymonton.org/ for a xymon client script to do just that for Red Hat (yum), and one for raspbian (apt). Depending on the *nix versions you are using, you can deploy a possible adapted version of those scripts.
Regards,
Wim Nelis.