use realport

This commit is contained in:
mh 2010-10-21 02:49:11 +02:00
parent 8f918b0e73
commit 3200c182e1

View file

@ -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}"
}
}
}