update nagios check_command to check ssh port. it was using ssh_port, it should be 'check_ssh_port'
This commit is contained in:
parent
739c9d8e0e
commit
6b660a56a7
1 changed files with 1 additions and 1 deletions
|
@ -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_port_${sshd_port}": check_command => "ssh_port!$sshd_port" } }
|
||||
default: { nagios::service{ "ssh_port_${sshd_port}": check_command => "check_ssh_port!$sshd_port" } }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue