From 3200c182e1e272d49b1b3347c544a94e655e1142 Mon Sep 17 00:00:00 2001 From: mh Date: Thu, 21 Oct 2010 02:49:11 +0200 Subject: use realport --- manifests/nagios.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}" } } } -- cgit v1.2.3