Rsync

check_rsync

Description:

Checks rsync servers availability, as well as (optionally) individual modules availability. It also supports authentication on modules.

Current Version

Last Release Date

June 3, 2009

Compatible With


Project Files
Project Notes
I wrote check_rsync for the purpose of checking rsync servers availability, as well as (optionally) individual modules availability. It also supports authentication on modules. Usage: check_rsync -H [-p ] [-m [,,] [-m [,,]...]] The only required argument is -H, in which case it will only try to list modules on the Rsync server. One or more -m arguments can be passed with one module name per -m argument. You can also append a username and password to the module name by separating them with commas (without spaces). A timeout switch could be easily added, I just forgot at the time I wrote it. Comments are welcome. Note: Original version used File::Rsync and caused problems on more recent Nagips ePNs, so I switched to IPC::Cmd. The latter ended-up having problems as well in recent versions of Perl so I don't use any of these modules anymore. There should not be any ePN problems from now on. Changelog: v.1.02beta (January 2008) - Kill rsync process on ALRM timeouts (Avoids leaving stale rsync processes behind) - More verbose Rsync errors - Commas in the password field should work
Reviews (1) Add a Review
Note for SuSE Linux users (and others)
by vmarzlin, September 30, 2010

Good job! I just want to say 2 different things: - on SuSE distribution, the utils.pm is located in /usr/lib/nagios/plugins directory (it's included in nagios-plugins package). So you need to correct line 30 of the script with: use lib "/usr/lib/nagios/plugins"; - also, is not written in the information page of check_rsync, but this plugin is using rsync command, so it must be installed also on the Nagios server. Anyway, it's working fine :)



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
4 (2)
Favorites
0
Views
107,457