check_rsync
https://exchange.nagios.org/directory/Plugins/Network-Protocols/Rsync/check_rsync/details
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.
i.e.
./check_rsync2 -H 192.168.3.123
OK: Rsync is up
fixing
Can't locate utils.pm in @INC
修改 check_rsync2 把 "use lib..." 的那句值改成 /usr/lib/nagios/plugins