From 0158a81114620380f68a8e95b75d51abf31d26f1 Mon Sep 17 00:00:00 2001 From: Stephen L Johnson Date: Fri, 22 Oct 1999 00:30:59 +0000 Subject: [PATCH] Initial import --- src/lib/Spong/Network/plugins/check_ssh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 src/lib/Spong/Network/plugins/check_ssh 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; -- 2.30.2