[rancid] Re: config repository tools?

Lance rancid at gheek.net
Wed Jun 13 17:05:35 UTC 2007


Nipper is pretty cool. I might need to go in and modify some of the
stuff it thinks is a problem like CDP. hehe. That way I can use it as a
true tool. Any other cool tools up your sleeves?

-Lance


> -------- Original Message --------
> Subject: [rancid] Re: config repository tools?
> From: "Michael Skinner" <Michael.Skinner at virginmedia.co.uk>
> Date: Wed, June 13, 2007 7:24 am
> To: "'rancid-discuss at shrubbery.net'" <rancid-discuss at shrubbery.net>
> 
> I currently use a homemade perl script to create a HTML representation of
> all my NetScreen configs giving a nice overview of the config running on
> each device. I run it against any updated files in my /configs after each
> rancid-run in crontab.  Combining that with CVSweb gives you a killer
> front-end!  http://www.freebsd.org/projects/cvsweb.html
> 
> Nipper could be used to create your HTML reports:
> http://sourceforge.net/projects/nipper
> 
> It passes various types of configs (Cisco IOS, PIX, ASA, FWSM, NMP,
> CatOS,
> NetScreen ScreenOS) into a HTML report with some light
> "audit/guidance" - I
> don't use it myself as I don't find its that great with Netscreen
> firewalls
> yet...but I understand its pretty mature on cisco and the like.
> 
> Mike
> 
> 
> 
> 
> -----Original Message-----
> From: rancid-discuss-bounces at shrubbery.net
> [mailto:rancid-discuss-bounces at shrubbery.net]On Behalf Of null yathrib
> Sent: 13 June 2007 02:12
> To: rancid-discuss at shrubbery.net
> Subject: [rancid] config repository tools?
> 
> 
> Not a Rancid question, but I was wondering if there were any good
> tools to use with the repository of offline configs.  Yes, grep + awk
> are old staples, but  was wondering if anyone had other suggestions.
> 
> There was RAT  (http://unix.freshmeat.net/projects/routeraudittool) to
> do some audits via a shell script.
> 
> I've looked at Cisco::Reconfig
> (http://search.cpan.org/dist/Cisco-Reconfig) to do things like the
> below.  Anyone have recipes using it they're interested in sharing?
> 
> --snip--
> use Cisco::Reconfig;
> 
> for (@ARGV) {
>     my $config = Cisco::Reconfig::readconfig($_);
> 
>     # Get ip helper-addresses since we can't retrieve these all via SNMP
>     for my $int ( $config->get( 'interface' )->all ) {
>         my @helpers = $int->get('ip helper-address')->all;
>         if ( $helpers[0] ) {
>             print $int;
>             for my $helper ( @helpers ) {
>                 print $helper;
>             }
>         }
>     }
> }
> --snip--
> 
> Any other suggestions or pointers appreciated.
> 
> -- 
> yathrib
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
> 
> ------------------------------------------------------------------------------
> 
> Save Paper - Do you really need to print this e-mail?
> 
> Visit www.virginmedia.com for more information, and more fun.
> 
> This email and any attachments are or may be confidential and legally
> privileged and are sent solely for the attention of the addressee(s).
> If you have received this email in error, please delete it from your
> system: its use, disclosure or copying is unauthorised. Statements and
> opinions expressed in this email may not represent those of Virgin
> Media. Any representations or commitments in this email are subject to
> contract. Please note that we are migrating our email addresses to a
> company wide address of "@virginmedia.co.uk". If you are sending to a
> Telewest or ntl email address your email will be re-directed. 
> 
> Registered office: 160 Great Portland Street, London W1W 5QA.
> Registered in England and Wales with number 2591237
> 
> 
> ==============================================================================
> 
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss



More information about the Rancid-discuss mailing list