mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-26 23:24:09 +02:00
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 ssh service */
|
||||||
apply Service "my-ssh" {
|
apply Service "my-ssh" {
|
||||||
import "generic-service"
|
import "generic-service"
|
||||||
check_command = "ssh"
|
check_command = "my-ssh"
|
||||||
|
|
||||||
//set the command argument for ssh port with a custom host attribute, if set
|
//set the command argument for ssh port with a custom host attribute, if set
|
||||||
vars.ssh_port = "$host.vars.custom_ssh_port$"
|
vars.ssh_port = "$host.vars.custom_ssh_port$"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user