From 6b660a56a76d9f17137b13979895cf0c460ab6ef Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Sun, 21 Feb 2010 14:01:35 -0500 Subject: update nagios check_command to check ssh port. it was using ssh_port, it should be 'check_ssh_port' --- manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manifests/init.pp') diff --git a/manifests/init.pp b/manifests/init.pp index 04769e9..4f82542 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -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" } } } } -- cgit v1.2.3