check_updates 是一款Nagios">系统监控插件,用于检测基于RPM的系统(如:Red Hat, Fedora 或 CentOS)是否为最新的程序。
check_updates 1.6.0该版本增加了一个选项来忽略非安全相关的更新。
使用范例:
check_updates 1.6.0 [https://trac.id.ethz.ch/projects/nagios_plugins]
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 http://nagiosplugins.org/extra-opts
for usage and examples.
--boot-check
Check if the machine was booted with the newest kernel (default)
--no-boot-check
do not complain if the machine was booted with an old kernel
-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
-t, --timeout=INTEGER
Seconds before plugin times out (default: 15)
-v, --verbose
Show details for command-line debugging (can repeat up to 3 times)
软件信息:https://trac.id.ethz.ch/projects/nagios_plugins/wiki/check_updates
下载地址:https://trac.id.ethz.ch/projects/nagios_plugins/downloads/check_updates-1.6.0.tar.gz