From 3c21e594e653c890f65b7749972a28d0be6981c0 Mon Sep 17 00:00:00 2001 From: Jerome Charaoui Date: Fri, 18 Dec 2009 14:38:01 -0500 Subject: remove fqdn from nagios service description (hostname is used in the internal nagios_service name) --- manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" } } } } -- cgit v1.2.3