From: Stephen L Johnson Date: Fri, 22 Oct 1999 00:30:59 +0000 (+0000) Subject: Initial revision X-Git-Tag: spong-2_6-beta7~42 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6314ba484e69b4e0aeabb625753891742adce7ee;p=spong.git Initial revision --- diff --git a/src/lib/Spong/Network/plugins/check_ssh b/src/lib/Spong/Network/plugins/check_ssh new file mode 100755 index 0000000..19b23a1 --- /dev/null +++ b/src/lib/Spong/Network/plugins/check_ssh @@ -0,0 +1,10 @@ +# Register function with the plugin registry +$PLUGINS{'ssh'} = \&check_ssh; + +# Check the ssh service with the built-in check_simple routine +sub check_ssh { + my ($host) = @_; + return &check_simple( $host, 22, "", "^SSH", "ssh" ); +} + +1;