use realport
This commit is contained in:
parent
8f918b0e73
commit
3200c182e1
1 changed files with 2 additions and 2 deletions
|
@ -11,13 +11,13 @@ define sshd::nagios(
|
|||
'absent': {
|
||||
nagios::service{"ssh_port_${name}":
|
||||
ensure => $ensure,
|
||||
check_command => "check_ssh_port!$port"
|
||||
check_command => "check_ssh_port!$real_port"
|
||||
}
|
||||
}
|
||||
default: {
|
||||
nagios::service{"ssh_port_host_${name}":
|
||||
ensure => $ensure,
|
||||
check_command => "check_ssh_port_host!${port}!${check_hostname}"
|
||||
check_command => "check_ssh_port_host!${real_port}!${check_hostname}"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue