From: Stephen L Johnson Date: Fri, 22 Oct 1999 00:30:59 +0000 (+0000) Subject: Initial import X-Git-Tag: start~37 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0158a81114620380f68a8e95b75d51abf31d26f1;p=spong.git Initial import --- 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;