
This is a popular ISP toolkit, based on expect and shell scripts, for managing router configurations.
Rancid monitors a router's (or device's) configuration, including software and hardware (cards, serial numbers, etc), using CVS, Subversion, or Git.