]> gitweb.fluxo.info Git - puppet-sshd.git/commitdiff
remove fqdn from nagios service description (hostname is used in the internal nagios_...
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>
Fri, 18 Dec 2009 19:38:01 +0000 (14:38 -0500)
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>
Fri, 18 Dec 2009 19:38:01 +0000 (14:38 -0500)
manifests/init.pp

index ccfe2c2541003c96f945c274b2b4639743aa98c5..07f34e51ff95e5892eb86e02fe571dc5b23263e2 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_${fqdn}_port_${sshd_port}": check_command => "ssh_port!$sshd_port" } }
+      default: { nagios::service{ "ssh_port_${sshd_port}": check_command => "ssh_port!$sshd_port" } }
     }
   }