Giter VIP home page Giter VIP logo

zabbix-apt's Introduction

Zabbix template for monitoring APT package updates.

This template uses -s simulation option when invoking apt-get, so no root access is needed for Zabbix user during polling.

Notes

However, root access is required for updating APT repositories. Since Zabbix runs under a dedicated user, it can be done either by using sudo in agent configuration script below, using a dedicated crontab entry to invoke apt-get update periodically or use APT::Periodic functionality bundled inside the APT system itself. Support for the APT::Periodic is included in this setup.

Since APT::Periodic is executed via already existing APT maintenace script located in cron.daily, the minimum period of updating repositories is once a day. If shorter period is required, a spearate cron.hourly script is needed instead.

Installation

  1. Copy apt.conf.d/02periodic script to /etc/apt/apt.conf.d directory to configure daily automatic package repository updates using APT::Periodic.
  2. Copy zabbix_agentd.d/apt.conf to the Zabbix agent's configuration directory (usually located in /etc/zabbix).
  3. Import templates/apt-updates.xml to Zabbix frontend.

zabbix-apt's People

Contributors

theranger avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.