{"id":16615662,"url":"https://github.com/pschmitt/zabbix-template-package-updates","last_synced_at":"2026-04-24T04:33:58.020Z","repository":{"id":141970510,"uuid":"244844145","full_name":"pschmitt/zabbix-template-package-updates","owner":"pschmitt","description":"Zabbix template to monitor the available package updates for a linux host","archived":false,"fork":false,"pushed_at":"2020-03-13T09:40:09.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-26T16:37:17.126Z","etag":null,"topics":["apt","apt-get","dnf","linux-packages","monitoring","notifications","pacman","yay","yum","zabbix","zabbix-templates"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pschmitt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["pschmitt"],"custom":["https://www.paypal.com/paypalme/pppschmitt"]}},"created_at":"2020-03-04T08:16:51.000Z","updated_at":"2024-03-26T15:25:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"3688941b-db60-4b5a-b53e-17316af4707d","html_url":"https://github.com/pschmitt/zabbix-template-package-updates","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pschmitt/zabbix-template-package-updates","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pschmitt%2Fzabbix-template-package-updates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pschmitt%2Fzabbix-template-package-updates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pschmitt%2Fzabbix-template-package-updates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pschmitt%2Fzabbix-template-package-updates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pschmitt","download_url":"https://codeload.github.com/pschmitt/zabbix-template-package-updates/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pschmitt%2Fzabbix-template-package-updates/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32209893,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T03:15:14.334Z","status":"ssl_error","status_checked_at":"2026-04-24T03:15:11.608Z","response_time":64,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apt","apt-get","dnf","linux-packages","monitoring","notifications","pacman","yay","yum","zabbix","zabbix-templates"],"created_at":"2024-10-12T02:10:16.656Z","updated_at":"2026-04-24T04:33:58.016Z","avatar_url":"https://github.com/pschmitt.png","language":"Shell","funding_links":["https://github.com/sponsors/pschmitt","https://www.paypal.com/paypalme/pppschmitt"],"categories":[],"sub_categories":[],"readme":"# Installation\n\n## Agent setup\n\n### Docker\n\n1. sudo\n\nThis template requires `sudo` to be available inside the zabbix-agent container.\n\nYou can bind-mount the supplied sudoers config with:\n- `-v ./sudoers/alias-chroot.docker:/etc/sudoers.d/alias-chroot:ro`.\n- `-v ./sudoers/reboot-required.docker:/etc/sudoers.d/reboot-required:ro`.\n\nBear in mind that this file should be owned by root and its permissions set to `0600`.\n\n2. You obviously also need to make the script available as well: `-v ./zbx-pkg.sh:/zabbix/bin/zbx-pkg.sh`.\n\n3. Pass the UserParameter config like so: `-v ./zabbix_agentd.d/pkg-updates.docker.conf:/etc/zabbix_agentd.d/pkg-updates.conf:ro`.\n\n4. To be able to chroot inside the host you need mount the rootfs like so: `-v /:/rootfs:ro`.\n\n### OpenWRT\n\n1. You need to install `sudo`:\n\n```\nopkg update \u0026\u0026 opkg install sudo\n```\n\n2. Copy `sudoers.d/package-updates.openwrt` to `/etc/sudoers.d/package-updates`.\n\n3. Copy `zbx-pkg.sh` to `/etc/zabbix_zabbix_agentd.d/bin/zbx-pkg.sh`.\n\n4. Copy `zabbix_agentd.d/reboot-required.openwrt.conf` to `/etc/zabbix_zabbix_agentd.d/reboot-required.conf`.\n\n5. Restart the agent: `/etc/init.d/zabbix_agentd restart`.\n\n## Zabbix Server setup\n\n1. Import the template `zabbix_template_package_updates.xml`.\n\n2. Apply it to your hosts\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpschmitt%2Fzabbix-template-package-updates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpschmitt%2Fzabbix-template-package-updates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpschmitt%2Fzabbix-template-package-updates/lists"}