Nagios plugin for rsync daemon
check-rsync is a Nagios NRPE plugin for checking various aspects of rsync
like version, protocol, capabilities and modules. It previously existed as check_rsync.
Examples:
check_rsync
Prints version and protocol number
check_rsync --version 3.0.2 --protocol 30
Prints the rsync version and protocol. Returns CRITICAL if the version is
lower than 3.0.2 or the protocol is lower than 30.
check_rsync --rsync "C:\program files\icw\bin\rsync.exe" --capability "64-bit files,iconv" --print_cap
Uses C:\program files\icw\bin\rsync.exe as the rsync program and prints
the rsync version, protocol and capabilities available. Returns CRITICAL
if the capabilities 64-bit files and iconv are not among the
supported ones.
check_rsync --module "mirror_a,backup_b" --print_module
Prints the rsync version, protocol and visible modules served by the
local daemon. Returns CRITICAL if the modules mirror_a and backup_b
are not among the available ones.