[rancid] perl scripting for BGP prefix monitoring/backup
heasley
heas at shrubbery.net
Tue Jul 8 15:25:22 UTC 2014
Tue, Jul 08, 2014 at 08:38:01AM +0700, Sambath Chhoeun:
> Dear Everyone,
>
> I am now looking for way to monitoring and backup the BGP prefix from
> Cisco/Juniper devices, and I am thinking if we could have a perl scripting
> to patch into the rancid and get it do the backup. Anyone experience with
> that? Much Appreciate with your help.
using rancid 3.1,
create a new module in lib/rancid with a function to parse the output
create a new type in rancid.types.conf(5)
use the base definition as a template with a new name
replace the commands with your show ip bgp command
include the new module with your parsing function
More information about the Rancid-discuss
mailing list