survivor: Cyrussync Check Module

SURVIVOR: `cyrussync` Check Module
About `cyrussync` Dependencies Arguments Description Examples
About `cyrussync`
basics |
Module Type | Scheduler | Remote
check | No | Yes
syntax |
         module cyrussync {
           conf <file>
         }
         via <transport>
### Dependencies Executables cyr_quota Perl Modules `Net::SSH::Perl` ### Arguments
Name | Type | Value
conf | file | Path of Cyrus imapd.conf configuration file.
1. ### Description The `cyrussync` module compares the mailbox sizes of each user between the primary and the secondary host and returns an error if there is a discrepancy. First, it traverses through conf to find entries for sync_host, sync_authname, and sync_password, for the secondary hostname, its username, and its password. It then uses SSH to remotely run the `cyr_quota` utility. It compares this output with the output of the utility on the checked host and reports an error if appropriate. conf must be readable by the user executing the check module. ### Examples To test synchronization:
            module cyrussync {
              conf /etc/imapd.conf
            }
            via remote
$Date: 2006/11/19 18:34:59 $ $Revision: 0.4 $ | keywords conf