Add the --timeout parameter to the check_ssh / ssh CheckCommand

fixes #6791

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
This commit is contained in:
Gaël Beaudoin 2014-07-28 10:28:16 +02:00 committed by Michael Friedrich
parent dfd3091c6a
commit 87d789ad8b
3 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,7 @@
Alexander Wirt <formorer@debian.org>
Bernd Erk <bernd.erk@icinga.org>
Carlos Cesario <carloscesario@gmail.com>
Gaël Beaudoin <gaboo@gaboo.org>
Gerd von Egidy <gerd@egidy.de>
Gunnar Beutner <gunnar.beutner@netways.de>
Ildar Hizbulin <hizel@vyborg.ru>

View File

@ -2035,6 +2035,7 @@ Name | Description
----------------|--------------
ssh_address | **Optional.** The host's address. Defaults to "$address$".
ssh_port | **Optional.** The port that should be checked. Defaults to 22.
ssh_timeout | **Optional.** Seconds before connection times out. Defaults to 10.
#### <a id="plugin-check-command-disk"></a> disk

View File

@ -312,6 +312,7 @@ object CheckCommand "ssh" {
arguments = {
"-p" = "$ssh_port$"
"-t" = "$ssh_timeout$"
"host" = {
value = "$ssh_address$"
skip_key = true