From: Jerome Charaoui Date: Fri, 18 Dec 2009 19:38:01 +0000 (-0500) Subject: remove fqdn from nagios service description (hostname is used in the internal nagios_... X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=3c21e594e653c890f65b7749972a28d0be6981c0;p=puppet-sshd.git remove fqdn from nagios service description (hostname is used in the internal nagios_service name) --- diff --git a/manifests/init.pp b/manifests/init.pp index ccfe2c2..07f34e5 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -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" } } } }