mirror of https://github.com/Icinga/icinga2.git
Support --only-critical for check_apt
fixes #117 Signed-off-by: Gunnar Beutner <gunnar.beutner@icinga.com>
This commit is contained in:
parent
e6ae582104
commit
d8dbf781a7
|
@ -140,6 +140,7 @@ apt_include | **Optional.** Include only packages matching REGEXP. C
|
|||
apt_exclude | **Optional.** Exclude packages matching REGEXP from the list of packages that would otherwise be included. Can be specified multiple times.
|
||||
apt_critical | **Optional.** If the full package information of any of the upgradable packages match this REGEXP, the plugin will return CRITICAL status. Can be specified multiple times.
|
||||
apt_timeout | **Optional.** Seconds before plugin times out (default: 10).
|
||||
apt_only_critical | **Optional.** Only warn about critical upgrades.
|
||||
|
||||
|
||||
### <a id="plugin-check-command-breeze"></a> breeze
|
||||
|
|
|
@ -1492,6 +1492,10 @@ object CheckCommand "apt" {
|
|||
value = "$apt_timeout$"
|
||||
description = "Seconds before plugin times out (default: 10)."
|
||||
}
|
||||
"--only-critical" = {
|
||||
set_if = "$apt_only_critical$"
|
||||
description = "Only warn about critical upgrades."
|
||||
}
|
||||
}
|
||||
|
||||
timeout = 5m
|
||||
|
|
Loading…
Reference in New Issue