How to get Linux Update info from client
An HTML attachment was scrubbed... URL: <http://lists.xymon.com/pipermail/xymon/attachments/20180605/661b3451/attachment.html>
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.
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...
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: abe at deuxchevaux.org \ / Say No to HTML in E-Mail and Usenet Mail+Jabber: abe at noone.org X https://axel.beckert.ch/ / \ I love long mails: https://email.is-not-s.ms/
An HTML attachment was scrubbed... URL: <http://lists.xymon.com/pipermail/xymon/attachments/20180605/549973c5/attachment.html>
An HTML attachment was scrubbed... URL: <http://lists.xymon.com/pipermail/xymon/attachments/20180607/cd698c40/attachment.html>
participants (4)
-
abe@deuxchevaux.org
-
kspringer@innovateteam.com
-
Paul.Root@CenturyLink.com
-
Wim.Nelis@nlr.nl