]> gitweb.fluxo.info Git - puppet-sshd.git/commitdiff
nagios-cmd is now check_ssh_port - according to shared-nagios
authornadir <nadir-technik@nadir.org>
Tue, 5 Oct 2010 17:07:24 +0000 (19:07 +0200)
committernadir <nadir-technik@nadir.org>
Tue, 5 Oct 2010 17:07:24 +0000 (19:07 +0200)
manifests/init.pp

index 07f34e51ff95e5892eb86e02fe571dc5b23263e2..3352820de3404fb3823a8f104238c912306d39ac 100644 (file)
@@ -218,7 +218,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" } }
     }
   }