mirror of https://github.com/Icinga/icinga2.git
Add by_ssh_options argument for the check_by_ssh plugin
fixes #10622 Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
This commit is contained in:
parent
5c310c4ec8
commit
b43d2256e5
|
@ -128,6 +128,7 @@ by_ssh_quiet | **Optional.** Whether to suppress SSH warnings. Defaults to fa
|
||||||
by_ssh_warn | **Optional.** The warning threshold.
|
by_ssh_warn | **Optional.** The warning threshold.
|
||||||
by_ssh_crit | **Optional.** The critical threshold.
|
by_ssh_crit | **Optional.** The critical threshold.
|
||||||
by_ssh_timeout | **Optional.** The timeout in seconds.
|
by_ssh_timeout | **Optional.** The timeout in seconds.
|
||||||
|
by_ssh_options | **Optional.** Call ssh with '-o OPTION' (multiple options may be specified as an array).
|
||||||
|
|
||||||
### <a id="plugin-check-command-clamd"></a> clamd
|
### <a id="plugin-check-command-clamd"></a> clamd
|
||||||
|
|
||||||
|
|
|
@ -1369,6 +1369,10 @@ object CheckCommand "by_ssh" {
|
||||||
"-w" = "$by_ssh_warn$"
|
"-w" = "$by_ssh_warn$"
|
||||||
"-c" = "$by_ssh_crit$"
|
"-c" = "$by_ssh_crit$"
|
||||||
"-t" = "$by_ssh_timeout$"
|
"-t" = "$by_ssh_timeout$"
|
||||||
|
"-o" = {
|
||||||
|
value = "$by_ssh_options$"
|
||||||
|
description = "Provide ssh options (may be repeated)"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
vars.by_ssh_address = "$check_address$"
|
vars.by_ssh_address = "$check_address$"
|
||||||
|
|
Loading…
Reference in New Issue