-
Notifications
You must be signed in to change notification settings - Fork 582
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[dev.icinga.com #10622] Add by_ssh_options argument for the check_by_ssh plugin #3657
Comments
Updated by gbeutner on 2015-11-13 18:57:58 +00:00
I'm pretty sure you want to use 'value' instead of 'set_if'. Did you test this command? Also, please update your patch so that it has the same format like for 'git format-patch' and attach it as a file to the ticket. |
Updated by netphantm on 2015-11-14 12:13:19 +00:00
I changed it to value and tested it, here is a debug.log entry: |
Updated by gbeutner on 2015-11-17 21:11:35 +00:00 Please update the patch to include your real name. |
Updated by netphantm on 2015-11-18 06:56:04 +00:00
|
Updated by gbeutner on 2015-11-18 19:25:18 +00:00
Argument order doesn't seem to matter for |
Updated by gbeutner on 2015-11-18 19:27:37 +00:00 Also, apparently you indented your changes with spaces - fixing that too. :) |
Updated by gbeutner on 2015-11-18 19:30:06 +00:00
|
Updated by gbeutner on 2015-11-18 19:31:37 +00:00
|
Updated by netphantm on 2015-11-18 19:31:42 +00:00
Applied in changeset e02d2e1. |
This issue has been migrated from Redmine: https://dev.icinga.com/issues/10622
Created by netphantm on 2015-11-13 12:28:49 +00:00
Assignee: gbeutner
Status: Resolved (closed on 2015-11-18 19:31:42 +00:00)
Target Version: 2.4.1
Last Update: 2015-11-18 19:31:42 +00:00 (in Redmine)
diff --git a/doc/7-icinga-template-library.md b/doc/7-icinga-template-library.md
index a79c2b8..3df234c 100644
--- a/doc/7-icinga-template-library.md
**+ b/doc/7-icinga-template-library.md
@ -128,6 +128,7
@ by_ssh_quiet | Optional. Whether to suppress SSH warnings. Defaults to faby_ssh_warn | Optional. The warning threshold.
by_ssh_crit | Optional. The critical threshold.
by_ssh_timeout | Optional. The timeout in seconds.
+by_ssh_options | Optional. Call ssh with '-o OPTION' (may be used multiple times).
### clamd
diff --git a/itl/command-plugins.conf b/itl/command-plugins.conf
index 949fe41..97e582d 100644
--- a/itl/command-plugins.conf
**+ b/itl/command-plugins.conf
@ -1369,6 +1369,12
@ object CheckCommand "by_ssh" {"-w" = "$by_ssh_warn$"
"-c" = "$by_ssh_crit$"
"-t" = "$by_ssh_timeout$"
}
vars.by_ssh_address = "$check_address$"
Attachments
Changesets
2015-11-18 19:29:30 +00:00 by netphantm e02d2e1
2015-11-18 19:30:42 +00:00 by (unknown) 7a3edc4
2015-11-18 19:31:14 +00:00 by netphantm b43d225
2015-11-18 19:31:16 +00:00 by (unknown) 9f348c6
The text was updated successfully, but these errors were encountered: