]> gitweb.fluxo.info Git - puppet-sshd.git/commitdiff
use realport
authormh <mh@immerda.ch>
Thu, 21 Oct 2010 00:49:11 +0000 (02:49 +0200)
committermh <mh@immerda.ch>
Thu, 21 Oct 2010 00:49:11 +0000 (02:49 +0200)
manifests/nagios.pp

index 4971f65c0e222a41209c6c31e4692ce1e7377f41..7742cdb35e7c9c54ee4f55271c45ed35df04f36b 100644 (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}"
       }
     }
   }