Zabbix Share

Zabbix templates, modules & more
Log in
Choose social to login:
Login With Google
Login With Github

Nav view search

Navigation

Advanced Search
  • Applications
  • Cloud
  • Databases
  • Network Appliances
  • Network Devices
  • Official Templates
  • Operating Systems
    • Debian
    • FreeBSD
    • IBM i (i5/OS, OS/400) for IBM System i (AS/400)
    • Linux
    • Mac OS
    • macOS
    • RedHat
    • Security
    • Solaris
    • Ubuntu
    • VMWare
    • Windows
  • Power (UPS)
  • Printers
  • SCADA, IoT, Energy, Home Automation, Industrial monitoring
  • Server Hardware
  • Storage Devices
  • Telephony
  • Unsorted
  • Virtualization
  • Zabbix
  • Recently Added
  • Recently Updated
  • Popular
  • Most Rated
  • Top Rated
  • Most Reviewed

Zypper update info

Overview

For Zabbix version: 5.2

This template monitors a host for available patches and general package updates by repository. Using discovery it will create items and triggers for all required patch categories/severities and/or package repositories, configurable using macro's. Additionally it will feed Zabbix with a list of known vulnerabilities (as known by Zypper) and package names of the available updates.

This template was tested on:

  • Zabbix 5.2
  • openSUSE Leap 15.2 but should work on any SLES/openSUSE Leap 15.x

Accompanying script requires Python >= 3.4

Setup

On all hosts you want to monitor:

  • Install packages python3 and zabbix-sender
  • Copy scripts/zypper-updateinfo.py to /etc/zabbix/scripts
  • Check zabbix_sender_bin, zabbix_agent_config paths and the hostname_name variable in scripts/zypper-updateinfo.py and adapt if required
  • Copy Systemd unit files
    • systemd/zabbix-template-module-zypper-updateinfo.service and
    • systemd/zabbix-template-module-zypper-updateinfo.timer to /etc/systemd/system
  • By default the systemd timer will execute the script every hour. Change this in the .timer-file to your needs.
  • If you chose to put the zypper-updateinfo.py script somewhere else than /etc/zabbix/scripts, adjust the path in the .service-file
  • Enable and start the Systemd timer:
    systemctl daemon-reload
    systemctl enable zabbix-template-module-zypper-updateinfo.timer
    systemctl start zabbix-template-module-zypper-updateinfo.timer
    

On Zabbix server:

  • Import the template_module_zypper_updateinfo.yaml template into Zabbix
  • Assign the template "Template Module Zypper updateinfo by Zabbix trapper" to the host(s) you want to monitor

Zabbix configuration

No specific Zabbix configuration is required. Eventually adjust Macro's to filter on patch categories/severities and/or package repositories.

Feedback

Please report any issues with the template at https://github.com/RobinR1/zbx-template-zypper-updateinfo/issues

 

Rating
500
0 vote

Listing Details

Type
Template
OS
  • OpenSUSE
  • Other
Min Zabbix version
5.2.x
Features
  • Zabbix Trapper
Link
github.com/RobinR1/zbx-template-zypper-updateinfo
Created
2021-03-22
Modified
2021-03-23 11:20:06
Version 5.2
Download (12 downloads)
1 version, '2021-03-22 22:43' modified
Tags
zypper, security, packages, suse, sles, patches, opensuse, leap, updates
Author
RobinR1
Owner
Robin Roevens
RecommendReportOwner's listing
All resources created by third parties; use at your own risk
© 2001-2018 by Zabbix SIA. All rights reserved. Trademark Policy · Contact us