checker: make port 22 probe optional
Port 22 is now the default when no ports are configured, rather than being unconditionally appended. Users can now probe non-standard ports without also probing port 22.
This commit is contained in:
parent
f77895dcab
commit
bf28f6a8b2
3 changed files with 6 additions and 7 deletions
|
|
@ -48,9 +48,9 @@ func (p *sshProvider) Definition() *sdk.CheckerDefinition {
|
|||
{
|
||||
Id: OptionPorts,
|
||||
Type: "string",
|
||||
Label: "Additional ports",
|
||||
Label: "Ports",
|
||||
Placeholder: "22, 2222",
|
||||
Description: "Comma-separated list of additional TCP ports to probe. Port 22 is always probed.",
|
||||
Description: "Comma-separated list of TCP ports to probe. Defaults to port 22 when empty.",
|
||||
Default: "",
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue