mirror of https://github.com/Icinga/icinga2.git
Merge pull request #6823 from transitiv/feature/itl-apt-list
ITL: Support --list argument to check_apt
This commit is contained in:
commit
0ad27d5436
|
@ -197,6 +197,7 @@ apt_exclude | **Optional.** Exclude packages matching REGEXP from th
|
|||
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.
|
||||
apt_list | **Optional.** List packages available for upgrade.
|
||||
|
||||
|
||||
### breeze <a id="plugin-check-command-breeze"></a>
|
||||
|
|
|
@ -1958,6 +1958,10 @@ object CheckCommand "apt" {
|
|||
set_if = "$apt_only_critical$"
|
||||
description = "Only warn about critical upgrades."
|
||||
}
|
||||
"--list" = {
|
||||
set_if = "$apt_list$"
|
||||
description = "List packages available for upgrade."
|
||||
}
|
||||
}
|
||||
|
||||
timeout = 5m
|
||||
|
|
Loading…
Reference in New Issue