This is an old revision of the document!
routerconfigs
- type:
- plugin
- plugin:
- routerconfigs
- description:
- Router Config Backup
- version:
- 0.3
- pia:
- 2.5++
- homepage:
- http://cactiusers.org
- date:
- 2010-07-20
- license:
- GPL v2
- plugins:
- device,
- config
Download
Purpose
This plugin is for the nightly backup of Router Configs
Features
- Nightly Backup
- Configurable User accounts per device
- Keeps each backup for a configurable number of days
- Can compare and display the exact differences between any 2 configs
Prerequisites
Requires TFTP server on the Cacti box
Installation
For CentOS, just run these commands
yum install tftp-server
Then edit the tftp startup script (/etc/xinetd.d/tftp) to change the server arguments, I used this line
server_args = -c -s /home/configs/backups
You will need to create this folder (or whatever folder you specify) and give the apache server and the tftp server permissions to access it. I have provided a copy of this file for you. Then we just need to turn on the tftp server so do this.
chkconfig xinetd on service xinetd start
There are a few options in Cacti you will need to change to then get the plugin up and running. They are located under Settings » Misc » Router Configs » TFTP Server IP = The IP Address of the Cacti server given to the routers » Backup Directory Path = The directory you put in the TFTP file above
Now you should be good to go, just add an authenication account, and a device and it will download the first backup after a few pollings.
Usage
Additional Help?
If you need additional help, please goto http://forums.cacti.net
ChangeLog
— 0.3 —
- compat: Remove PIA 1.x support
- compat: Register Realms
- compat: 0.8.7g
— 0.2 —
- feature: Allow the use of enable passwords
- feature: Add support for SSH Connections (thanks to Abdul Pallarés)
— 0.1 —
- Initial Release
- Nightly Backups
- View Config of any backup
- Compare Configs
- Automatically update Hostname from config file
Possible Bugs?
Only Cisco IOS and CatOS Routers are currently supported. If you find a problem, let me know!!! http://cactiusers.org/bugs/