Giter VIP home page Giter VIP logo

nagios-check-security-updates's Introduction

last commit languages license

nagios-check-security-updates

Nagios check for security updates in Red Hat Enterprise Linux

  • Performance data for available patches in each severity level
  • Timeframe in which security patches must be applied and no warning is issued:
    • Criticcal: 30 days
    • Important, Moderate, Low: 90 days
  • Patch information is cached in local file to minimize online requests. Patch information older than 1 year is automatically removed from cache file.

Prerequisites

  • Python >= 3.6
  • Red Hat Enterprise Linux >= 7

Usage

./check-security-updates.py -h
usage: check-security-updates.py [-h] [-v] [-d] [-k] [-c] [-V]

Nagios check for security updates

optional arguments:
  -h, --help     show this help message and exit
  -v, --verbose  enable verbose output
  -d, --debug    enable debug output
  -k, --kernel   ommit kernel patches (if kernel live patches are enabled)
  -c, --cache    local cache file for patch dates (default: /tmp/check-security-updates.cache)
  -V, --version  show program's version number and exit

Examples

$ check-security-updates.py -v
2022-11-27 19:18:52 [110868] INFO: Moderate: kernel-5.14.0-162.6.1.el9_1.x86_64
2022-11-27 19:18:52 [110868] INFO: Moderate: kernel-core-5.14.0-162.6.1.el9_1.x86_64
2022-11-27 19:18:52 [110868] INFO: Moderate: kernel-modules-5.14.0-162.6.1.el9_1.x86_64
WARNING: Critical=0 Important=0 Moderate=3 Low=0 next_patch_date=None|Critical=0;Important=0;Moderate=3;Low=0;

$ check-security-updates.py
WARNING: Critical=0 Important=0 Moderate=3 Low=0 next_patch_date=2023-02-22|Critical=0;Important=0;Moderate=3;Low=0;

nagios-check-security-updates's People

Contributors

groland11 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.