remove fqdn from nagios service description (hostname is used in the internal nagios_service name)
This commit is contained in:
parent
edcd0859b1
commit
3c21e594e6
1 changed files with 1 additions and 1 deletions
|
@ -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" } }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue