diff --git a/manifests/init.pp b/manifests/init.pp index ead475d..04769e9 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -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_${fqdn}_port_${sshd_port}": check_command => "ssh_port!$sshd_port" } } + default: { nagios::service{ "ssh_port_${sshd_port}": check_command => "ssh_port!$sshd_port" } } } }