From 17553d7edc0ee0d04047ff6fbe6e786c1fe83c47 Mon Sep 17 00:00:00 2001 From: Jan Willamowius Date: Tue, 13 Sep 2005 14:02:01 +0000 Subject: [PATCH] monitor rsync --- src/lib/Spong/Network/plugins/check_rsync | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 src/lib/Spong/Network/plugins/check_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; -- 2.30.2