diff --git a/manifests/init.pp b/manifests/init.pp index c7f6bff..43e007c 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -231,7 +231,7 @@ class sshd::base { 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_${fqdn}_port_${sshd_port}": check_command => "ssh_port!$sshd_port" } } } } }