Skip to content
Matteo Corti edited this page May 30, 2016 · 4 revisions

check_updates

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

see the INSTALL file for installation instructions

Usage

check_updates 1.6.18 [https://github.com/matteocorti/check_updates]

This nagios plugin is free software, and comes with ABSOLUTELY NO WARRANTY.
It may be used, redistributed and/or modified under the terms of the GNU
General Public Licence (see http://www.fsf.org/licensing/licenses/gpl.txt).

Checks if RedHat or Fedora system is up-to-date

Usage: check_updates [OPTIONS]

 -?, --usage
   Print usage information
 -h, --help
   Print detailed help screen
 -V, --version
   Print version information
 --extra-opts=[section][@file]
   Read options from an ini file. See https://www.monitoring-plugins.org/doc/extra-opts.html
   for usage and examples.
 --boot-check
   Check if the machine was booted with the newest kernel (default)
 --boot-check-warning
   Like --boot-check but state is warning instead of critical
 --no-boot-check
   do not complain if the machine was booted with an old kernel
 --clean
   Cleans YUM/DNF caches
 -w, --warning=INTEGER
   Exit with WARNING status if more than INTEGER non-security updates are available
 -c, --critical=INTEGER
   Exit with CRITICAL status if more than INTEGER non-security updates are available
 --security-only
   Ignores non-security updates
 -a, --yum-arguments=STRING
   specific Yum arguments as STRING
 -t, --timeout=INTEGER
   Seconds before plugin times out (default: 15)
 -v, --verbose
   Show details for command-line debugging (can repeat up to 3 times)
Clone this wiki locally