remove fqdn from nagios service description (hostname is used in the internal nagios_service name)

This commit is contained in:
Jerome Charaoui 2009-12-18 14:38:01 -05:00
parent edcd0859b1
commit 3c21e594e6

View 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" } }
}
}