mirror of https://github.com/Icinga/icinga2.git
Documentation: fix ssh example
This commit is contained in:
parent
a277e2dc3f
commit
aade27ab70
|
@ -794,7 +794,7 @@ the service is applied to. If not set, the check command `my-ssh` will omit the
|
|||
/* apply ssh service */
|
||||
apply Service "my-ssh" {
|
||||
import "generic-service"
|
||||
check_command = "ssh"
|
||||
check_command = "my-ssh"
|
||||
|
||||
//set the command argument for ssh port with a custom host attribute, if set
|
||||
vars.ssh_port = "$host.vars.custom_ssh_port$"
|
||||
|
|
Loading…
Reference in New Issue