]> gitweb.fluxo.info Git - puppet-sshd.git/commitdiff
update nagios check_command to check ssh port. it was using ssh_port, it should be...
authorMicah Anderson <micah@riseup.net>
Sun, 21 Feb 2010 19:01:35 +0000 (14:01 -0500)
committerMicah Anderson <micah@riseup.net>
Sun, 21 Feb 2010 19:01:35 +0000 (14:01 -0500)
manifests/init.pp

index 04769e9833e17ae42284ba4e48af9f705a1abac5..4f8254254d5328649a9e87bc9c5bf534250929a4 100644 (file)
@@ -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" } }
     }
   }