control_rancid(1) | General Commands Manual | control_rancid(1) |
control_rancid - run rancid for devices of a group
control_rancid [-V] [-c commit_msg] [-f config_file] [-m mail_rcpt] [-r device_name] group
control_rancid is a sh(1) script to parse a group's router.db(5), run rancid for each of the devices, possibly re-run rancid for devices that failed collection, e-mail diffs, and e-mail error reports.
control_rancid also creates and/or re-creates the .cvsignore/.gitignore files for each group. For the configs sub-directory, it includes ".old", where a user may keep files they would like to be ignored.
The command-line options are as follows:
The group-specific rancid.conf may not exist.
Default: <BASEDIR>/<group>/rancid.conf
The -r option alters the subject line of the diff mail. It will begin with <group name>/<device name> rather than just the group name alone.
control_rancid is normally (and best) run via rancid-run(1) which provides a locking mechanism on a group basis and saves output in a log file for each group.
22 December 2016 |