mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-21 04:34:43 +02:00
ITL by_ssh add -E parameter
This adds the -E parameter to the by_ssh ITL CheckCommand definition. refs #4094
This commit is contained in:
parent
361fed8ba0
commit
548027808b
@ -223,6 +223,7 @@ 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).
|
||||
by_ssh_ipv4 | **Optional.** Use IPv4 connection. Defaults to false.
|
||||
by_ssh_ipv6 | **Optional.** Use IPv6 connection. Defaults to false.
|
||||
by_ssh_skip_stderr | **Optional.** Ignore all or (if specified) first n lines on STDERR.
|
||||
|
||||
|
||||
### clamd <a id="plugin-check-command-clamd"></a>
|
||||
|
@ -2207,6 +2207,10 @@ object CheckCommand "by_ssh" {
|
||||
set_if = "$by_ssh_ipv6$"
|
||||
description = "Use IPv6 only"
|
||||
}
|
||||
"-E" = {
|
||||
value = "$by_ssh_skip_stderr$"
|
||||
description = "Ignore all or (if specified) first n lines on STDERR [optional]"
|
||||
}
|
||||
}
|
||||
|
||||
vars.by_ssh_address = "$check_address$"
|
||||
|
Loading…
x
Reference in New Issue
Block a user