From: Jan Willamowius Date: Tue, 13 Sep 2005 14:02:01 +0000 (+0000) Subject: monitor rsync X-Git-Tag: spong-2_8_0-beta1~21 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17553d7edc0ee0d04047ff6fbe6e786c1fe83c47;p=spong.git monitor rsync --- diff --git a/src/lib/Spong/Network/plugins/check_rsync b/src/lib/Spong/Network/plugins/check_rsync new file mode 100755 index 0000000..a785319 --- /dev/null +++ b/src/lib/Spong/Network/plugins/check_rsync @@ -0,0 +1,10 @@ +# Register function with the plugin registry +$PLUGINS{'rsync'} = \&check_rsync; + +# Check the rsync service with the built-in check_simple routine +sub check_rsync { + my ($host) = @_; + return &check_simple( $host, 873, "", "\@RSYNCD", "rsync" ); +} + +1;