RANCID Device Addition Automator
by Tom Duff

Automation is, at least by my definition, the process of doing the various mundane aspects of a job automatically so you can focus on the important things. Take adding a device to your RANCID installation for example: you need to 'su' to the user that rancid will run as so as not to affect the permissions on any of the rancid files, edit the .cloginrc file, save it, then 'cd' to the directory of the group you wish to add the device to, edit the router.db file, add an ':up' line to the file, save it, then re-run rancid-run to get everything added. Too much work, if you ask me.

This is why I created a little script in php to automate the process for me. All I do is run the script in my home dir, get prompted for the info that's needed, and the script does the rest. You can Download the script for free by clicking on the big download button below. I know it's far from perfect, but if you follow the directions, it'll ease your life, at least a bit. For more info on installation and use, see the README.txt file in the .tar.gz file.

Download Tom's RANCID Device
Addition Automator, v.0.1 β