GithubHelp home page GithubHelp logo

tilghman / check_updates Goto Github PK

View Code? Open in Web Editor NEW

This project forked from matteocorti/check_updates

0.0 0.0 0.0 323 KB

check_updates is a Nagios plugin to check if RedHat or Fedora system is up-to-date

Home Page: https://matteocorti.github.io/check_updates/

License: GNU General Public License v3.0

Perl 89.95% Shell 9.98% Roff 0.07%

check_updates's Introduction

© Matteo Corti, ETH Zurich, 2007-2012 © Matteo Corti, 2007-2022

see AUTHORS for the complete list of contributors

check_updates

check_updates is a Nagios plugin to check if RedHat or Fedora system is up-to-date

The plugin uses either YUM, DNF or up2date depending on the operating system.

Security

If at least a security update is available the plugin will return a critical status. This can be overridden with the --number-only command line option

up2date

Since up2date -l to list the outdated packages can only be run be run by root the plugin must be executed as root. Please configure sudo as follows:

nagios ALL= NOPASSWD: /usr/sbin/up2date -l

and execute the plugin with sudo

sudo $INSTALLATION_PATH/check_updates

DNF

DNF uses different caches per user. This has the consequence that DNF and the plugin will potentially deliver different results for different users.

YUM security plugin

Use one of the following commands to install the YUM security plugin:

  • Fedora, Red Hat Enterprise Linux 6.x, CentOS 6.x, Scientific Linux 6.x systems:
yum install yum-plugin-security
  • Red Hat Enterprise Linux 5.x, CentOS 5.x and Scientific Linux 5.x systems:
yum install yum-security

check_updates's People

Contributors

benjunmun avatar dalesjo avatar dpavlos avatar ernstae avatar jiri-jenicek avatar jpoliv avatar jvandermeulen avatar klemenag avatar kotso avatar lsde avatar matteocorti avatar mimi89999 avatar phibos avatar ptrj avatar tilghman 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.