From: Micah Anderson Date: Sun, 21 Feb 2010 19:01:35 +0000 (-0500) Subject: update nagios check_command to check ssh port. it was using ssh_port, it should be... X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=6b660a56a76d9f17137b13979895cf0c460ab6ef;p=puppet-sshd.git update nagios check_command to check ssh port. it was using ssh_port, it should be 'check_ssh_port' --- diff --git a/manifests/init.pp b/manifests/init.pp index 04769e9..4f82542 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -226,7 +226,7 @@ class sshd { if $use_nagios { case $nagios_check_ssh { false: { info("We don't do nagioschecks for ssh on ${fqdn}" ) } - default: { nagios::service{ "ssh_port_${sshd_port}": check_command => "ssh_port!$sshd_port" } } + default: { nagios::service{ "ssh_port_${sshd_port}": check_command => "check_ssh_port!$sshd_port" } } } }