From: mh Date: Thu, 21 Oct 2010 00:49:11 +0000 (+0200) Subject: use realport X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=3200c182e1e272d49b1b3347c544a94e655e1142;p=puppet-sshd.git use realport --- diff --git a/manifests/nagios.pp b/manifests/nagios.pp index 4971f65..7742cdb 100644 --- a/manifests/nagios.pp +++ b/manifests/nagios.pp @@ -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}" } } }