update nagios check_command to check ssh port. it was using ssh_port, it should be 'check_ssh_port'

This commit is contained in:
Micah Anderson 2010-02-21 14:01:35 -05:00
parent 739c9d8e0e
commit 6b660a56a7

View file

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