From owner-rancid-discuss-outgoing@shrubbery.net Thu Apr 1 15:33:32 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 6E56811CE33 for ; Thu, 1 Apr 2004 15:33:32 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id 37ED117CFA9; Thu, 1 Apr 2004 15:33:31 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 1631C17D006; Thu, 1 Apr 2004 15:33:31 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from eagle.aitken.com (eagle.aitken.com [198.137.194.213]) by guelah.shrubbery.net (Postfix) with ESMTP id CAFBD17CFA9 for ; Thu, 1 Apr 2004 15:33:29 +0000 (UTC) Received: by eagle.aitken.com (Postfix, from userid 1000) id EBE0CB248A; Thu, 1 Apr 2004 10:33:28 -0500 (EST) Date: Thu, 1 Apr 2004 10:33:28 -0500 From: Jeff Aitken To: rancid-discuss@shrubbery.net Subject: Re: Very strange problem with 2.2.2 (and 2.3-rc1) on FreeBSD-5.x Message-ID: <20040401153328.GB41642@eagle.aitken.com> References: <20040219144336.GA43301@eagle.aitken.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040219144336.GA43301@eagle.aitken.com> User-Agent: Mutt/1.4.2i Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On Thu, Feb 19, 2004 at 09:43:36AM -0500, Jeff Aitken wrote: > I recently installed rancid-2.2.2 on a freshly-installed FreeBSD-5.1 > system after installing tcl83 and expect (5.38.0) from /usr/ports. > After setting up a small group of (mostly) Cisco 26xx and 72xx > routers to be polled, on subsequent runs of rancid I saw oscillating > sets of diffs like these: > > RUN1: > [ on router1 ] > - snmp-server contact > + snmp-server contaact > > [on router2] > - tacacs-server host 644.124.X.Y > + tacacs-server host 64.124.X.Y > > [on router3] > - taacacs-server host > + tacacs-server host > > RUN2: > [on router1] > - snmp-server contaact > + snmp-server contact > > [on router2] > - tacacs-server host 64.124.X.Y > + tacacs-server host 644.124.X.Y > > [on router3] > - tacacs-server host > + taacacs-server host I have an update on this problem. As you may remember, I saw this behavior on both FreeBSD-5.1 and -5.2 systems. On the -5.2 system, I forced rancid to use ssh instead of telnet. Since making that change, I have not seen any of these duplicate characters, and I've run rancid 15-20 times now which should have been enough. Reading this: http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/telnet/Makefile makes me wonder if the changes mentioned in 1.22 might have something to do with this issue. This could (in theory) explain why no one could duplicate the problem we saw; perhaps due to our choices during installation we got a different version of /usr/bin/telnet. Anyway, the next step is to build a different telnet binary and see if the behavior changes. Obviously we can run rancid with ssh instead of telnet without any problems, but it'd be nice to know *why* this happened in the first place. --Jeff From owner-rancid-discuss-outgoing@shrubbery.net Thu Apr 1 15:48:50 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 46F4911CE33 for ; Thu, 1 Apr 2004 15:48:50 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id 0D7A917CFFD; Thu, 1 Apr 2004 15:48:49 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id E955D17D00B; Thu, 1 Apr 2004 15:48:48 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id 00A6A17D000; Thu, 1 Apr 2004 15:48:47 +0000 (UTC) Date: Thu, 1 Apr 2004 07:48:47 -0800 From: john heasley To: Jeff Aitken Cc: rancid-discuss@shrubbery.net Subject: Re: Very strange problem with 2.2.2 (and 2.3-rc1) on FreeBSD-5.x Message-ID: <20040401154847.GW7242@shrubbery.net> References: <20040219144336.GA43301@eagle.aitken.com> <20040401153328.GB41642@eagle.aitken.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040401153328.GB41642@eagle.aitken.com> User-Agent: Mutt/1.4i X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: awe, not the good cheek Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Thu, Apr 01, 2004 at 10:33:28AM -0500, Jeff Aitken: > I have an update on this problem. As you may remember, I saw this > behavior on both FreeBSD-5.1 and -5.2 systems. On the -5.2 system, > I forced rancid to use ssh instead of telnet. Since making that > change, I have not seen any of these duplicate characters, and I've > run rancid 15-20 times now which should have been enough. > > Reading this: > > http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/telnet/Makefile > > makes me wonder if the changes mentioned in 1.22 might have something > to do with this issue. This could (in theory) explain why no one > could duplicate the problem we saw; perhaps due to our choices during > installation we got a different version of /usr/bin/telnet. > > Anyway, the next step is to build a different telnet binary and see > if the behavior changes. Obviously we can run rancid with ssh instead > of telnet without any problems, but it'd be nice to know *why* this > happened in the first place. I'd try building a telnet without the crypto goo. but, i suspect your problem is more likely to be with it's buffer (ring) handling. From owner-rancid-discuss-outgoing@shrubbery.net Thu Apr 1 21:56:50 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 0DF6211CE2E for ; Thu, 1 Apr 2004 21:56:50 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id 07CB817D000; Thu, 1 Apr 2004 21:56:49 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id DBA6F17D011; Thu, 1 Apr 2004 21:56:48 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from gizmo10bw.bigpond.com (gizmo10bw.bigpond.com [144.140.70.20]) by guelah.shrubbery.net (Postfix) with SMTP id B120717D000 for ; Thu, 1 Apr 2004 21:56:46 +0000 (UTC) Received: (qmail 21718 invoked from network); 1 Apr 2004 21:52:37 -0000 Received: from unknown (HELO bwmam03.bigpond.com) (144.135.24.75) by gizmo10bw.bigpond.com with SMTP; 1 Apr 2004 21:52:37 -0000 Received: from cpe-144-132-103-107.vic.bigpond.net.au ([144.132.103.107]) by bwmam03.bigpond.com(MAM REL_3_4_2 26/11197711) with SMTP id 11197711; Fri, 02 Apr 2004 07:56:43 +1000 Message-ID: <406C8F5B.70307@choqolat.org> Date: Fri, 02 Apr 2004 07:53:31 +1000 From: Andrew Fort User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jeff Aitken Cc: "Otto, Axel" , "'rancid-discuss@shrubbery.net'" Subject: Re: Newbie question References: <20040329164355.GB92173@eagle.aitken.com> In-Reply-To: <20040329164355.GB92173@eagle.aitken.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Jeff Aitken wrote: >On Mon, Mar 29, 2004 at 06:37:14PM +0200, Otto, Axel wrote: > > >>Thanks a lot for your quick response, but this is exactly what I'm looking >>for. I know that only the last "changer" will be saved that way but, based >>on the fact that this would be stored at CVS, it would work for me. >> >> > >I think this might do what you want: > >% diff -c rancid rancid.new >*** rancid Mon Mar 29 08:38:19 2004 >--- rancid.new Mon Mar 29 08:40:59 2004 >*************** >*** 1130,1139 **** > } > tr/\015//d; > } >- # some versions have other crap mixed in with the bits in the >- # block above >- /^! (Last configuration|NVRAM config last)/ && next; >- > # skip consecutive comment lines to avoid oscillating extra comment > # line on some access servers. grrr. > if (/^!/) { >--- 1130,1135 ---- > > > >--Jeff > > > Yep, that'll do what he Axel wants. Axel - you should look for 'unexpected' diffs from the routers if you do apply the diff suggested above. I suspect in newer IOSes the problem allured to there may have been cleared up, but you never know ;-). If you run log-analysis software (such as the very powerful and recommended SEC (simple event correlator)), you can setup a rule to trigger RANCID (just for that device) when the log line coming from your router indicating that a particular device has had its configuration modified is seen. SEC can auto-dampen the triggering of these events to avoid over-eager spawning of rancid collections. I'd recommend this if you have the time - it's a good thing(tm). It tends to encourage engineers not to idly jump in and out of config mode, too, if they know rancid is being triggered. :-) -afort From owner-rancid-discuss-outgoing@shrubbery.net Fri Apr 2 08:06:52 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id D05DE11CE2F for ; Fri, 2 Apr 2004 08:06:52 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id C828117CFCE; Fri, 2 Apr 2004 08:06:51 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id AFA0117CFFD; Fri, 2 Apr 2004 08:06:51 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id 7C68C17CFF8; Fri, 2 Apr 2004 08:06:50 +0000 (UTC) Date: Fri, 2 Apr 2004 00:06:50 -0800 From: john heasley To: Axel Otto Cc: afort@choqolat.org, jaitken@aitken.com, rancid-discuss@shrubbery.net Subject: Re: your mail Message-ID: <20040402080650.GE28392@shrubbery.net> References: <22091.1080892482@www2.gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <22091.1080892482@www2.gmx.net> User-Agent: Mutt/1.4i X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: awe, not the good cheek Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Fri, Apr 02, 2004 at 09:54:42AM +0200, Axel Otto: > >*** 1130,1139 **** > > } > > tr/\015//d; > > } > >- # some versions have other crap mixed in with the bits in the > >- # block above > >- /^! (Last configuration|NVRAM config last)/ && next; > >- > > # skip consecutive comment lines to avoid oscillating extra comment > > # line on some access servers. grrr. > > if (/^!/) { > >--- 1130,1135 ---- > I've tried it out, by removing the four lines mentioned above out of my > rancid script, but there is no change in diff's I have received after applying > the patch. Here is what Jeff replied, unfortunately this is way above my > "programming horizon". Does anyone have any further ideas on that ? > > >> On Tue, Mar 30, 2004 at 10:01:36AM +0200, Otto, Axel wrote: > >> I've deleted the four lines mentioned by your diff out of my rancid > script, > >> but there is no change ! Output is still the same as before and the NVRAM > >> part is still filtered. Am I'm doing something wrong here ? > > >Hrm. It's probably the case that somewhere else in WriteTerm() > >this line is simply being interpreted as a comment or otherwise > >not processed for some reason. You might have to dig into > >ProcessHistory() as well. Your best bet might be to throw a few > >debug lines into WriteTerm() and run it by hand to see where the > >text you're looking for is getting filtered. I think that this may check/filter may be a little antiquated, though was left for older IOSs. can't say without checking deeply. I suspect that if you also at least remove lines 1141 and 1143, you'll have what you seek. 1139 if (/^(##+$|(Building|Current) configuration)/i) { 1140 while () { 1141 next if (/^Current configuration\s*:/i); 1142 next if (/^:/); 1143 next if (/^([%!].*|\s*)$/); 1144 next if (/^ip add.*ipv4:/); # band-aid for 3620 12.0 S 1145 last; 1146 } Though, Andrew's last reply seems like a rather slick method; triggering rancid runs. From owner-rancid-discuss-outgoing@shrubbery.net Fri Apr 2 09:06:18 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 440F311CE2F for ; Fri, 2 Apr 2004 09:06:18 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id 0774217CFCE; Fri, 2 Apr 2004 09:06:17 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id E30B317CFFD; Fri, 2 Apr 2004 09:06:16 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id 3157917CFF8; Fri, 2 Apr 2004 09:06:15 +0000 (UTC) Date: Fri, 2 Apr 2004 01:06:15 -0800 From: john heasley To: Axel Otto Cc: heas@shrubbery.net, afort@choqolat.org, jaitken@aitken.com, rancid-discuss@shrubbery.net Subject: Re: your mail Message-ID: <20040402090615.GI28392@shrubbery.net> References: <14373.1080896107@www1.gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <14373.1080896107@www1.gmx.net> User-Agent: Mutt/1.4i X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: awe, not the good cheek Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Fri, Apr 02, 2004 at 10:55:07AM +0200, Axel Otto: > Index: configs/de-gustavsburg01-loop.rtrs.lear.com > =================================================================== > retrieving revision 1.139 > diff -u -4 -r1.139 de-gustavsburg01-loop.rtrs.lear.com > @@ -84,8 +84,12 @@ > !Slot CPU: part 73-3409-07, serial 16918033 > ! > ! > config-register 0x2102 > + > + ! > + config-register 0x2102 > + ! > version 12.2 > service timestamps debug datetime msec localtime > service timestamps log datetime localtime > service password-encryption > Index: configs/de-gustavsburg02-loop.rtrs.lear.com > =================================================================== oops, you'll also have to remove this: # skip consecutive comment lines to avoid oscillating extra comment # line on some access servers. grrr. if (/^!/) { next if ($comment); ProcessHistory("","","",$_); $comment++; next; } $comment = 0; or change that to if (/^!\s*$/) { From owner-rancid-discuss-outgoing@shrubbery.net Tue Apr 6 13:54:47 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id E63D411CE33 for ; Tue, 6 Apr 2004 13:54:46 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id C1FF217D01A; Tue, 6 Apr 2004 13:54:45 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id A697217D01C; Tue, 6 Apr 2004 13:54:45 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from mars.resultstel.com (mars.resultstel.com [146.82.194.225]) by guelah.shrubbery.net (Postfix) with SMTP id 0163B17D01A for ; Tue, 6 Apr 2004 13:54:44 +0000 (UTC) Received: (qmail 18630 invoked by uid 0); 6 Apr 2004 13:54:27 -0000 Received: from dcorbe@resultstel.com by mars.resultstel.com by uid 544 with qmail-scanner-1.21 (clamscan: 0.68-1. Clear:RC:1(10.64.14.149):. Processed in 0.676937 secs); 06 Apr 2004 13:54:27 -0000 X-Qmail-Scanner-Mail-From: dcorbe@resultstel.com via mars.resultstel.com X-Qmail-Scanner-Rcpt-To: rancid-discuss@shrubbery.net X-Qmail-Scanner: 1.21 (Clear:RC:1(10.64.14.149):. Processed in 0.676937 secs) Received: from unknown (HELO resultstel.com) (10.64.14.149) by mars.resultstel.com with SMTP; 6 Apr 2004 13:54:26 -0000 Message-ID: <4072B692.6010206@resultstel.com> Date: Tue, 06 Apr 2004 09:54:26 -0400 From: Daniel Corbe User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: rancid-discuss@shrubbery.net Subject: [Fwd: [netops] switches router config diffs] Content-Type: multipart/mixed; boundary="------------070401040100030709010407" Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk This is a multi-part message in MIME format. --------------070401040100030709010407 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I'm getting a lot of these on my Cisco Catalyst 2950 during every single rancid-run update. These are worthless diffs as there aren't any changes in configuration but changes in port status. --------------070401040100030709010407 Content-Type: message/rfc822; name="[netops] switches router config diffs" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="[netops] switches router config diffs" Return-Path: Delivered-To: dcorbe@resultstel.com Received: (qmail 29210 invoked by uid 550); 5 Apr 2004 16:02:16 -0000 Mailing-List: contact netops-help@resultstel.com; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list netops@resultstel.com Received: (qmail 29119 invoked by uid 0); 5 Apr 2004 16:02:15 -0000 X-Qmail-Scanner-Mail-From: rancid@mars.resultstel.com via mars.resultstel.com X-Qmail-Scanner-Rcpt-To: netops@resultstel.com X-Qmail-Scanner: 1.21 (Clear:RC:1(127.0.0.1):. Processed in 0.027833 secs) Delivered-To: resultstel.com-rancid-switches@resultstel.com Date: 5 Apr 2004 16:02:14 -0000 Message-ID: <20040405160214.29006.qmail@mars.resultstel.com> From: rancid@mars.resultstel.com To: rancid-switches@resultstel.com Subject: [netops] switches router config diffs Index: configs/access-1.resultstel.com =================================================================== retrieving revision 1.11 diff -u -4 -r1.11 access-1.resultstel.com @@ -63,9 +63,11 @@ !VTP: Local updater ID is 10.64.14.32 on interface Vl1 (lowest numbered VLAN interface found) ! !VLAN: VLAN Name Status Ports !VLAN: ---- -------------------------------- --------- ------------------------------- - !VLAN: 1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4, Fa0/5, Fa0/6, Fa0/7, Fa0/8, Fa0/9, Fa0/10, Fa0/11, Fa0/12, Fa0/13, Fa0/14, Fa0/15, Fa0/16, Fa0/17, Fa0/18, Fa0/19, Fa0/20, Fa0/21, Fa0/22, Fa0/23, Fa0/24 + !VLAN: 1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4, Fa0/5, Fa0/6, Fa0/7, Fa0/8, Fa0/9, Fa0/10 + !VLAN: Fa0/11, Fa0/12, Fa0/13, Fa0/14, Fa0/15, Fa0/16, Fa0/17, Fa0/18, Fa0/19 + !VLAN: Fa0/20, Fa0/21, Fa0/22, Fa0/23, Fa0/24 !VLAN: 1002 fddi-default active !VLAN: 1003 token-ring-default active !VLAN: 1004 fddinet-default active !VLAN: 1005 trnet-default active Index: configs/access-2.resultstel.com =================================================================== retrieving revision 1.11 diff -u -4 -r1.11 access-2.resultstel.com @@ -63,9 +63,11 @@ !VTP: Local updater ID is 10.64.14.33 on interface Vl1 (lowest numbered VLAN interface found) ! !VLAN: VLAN Name Status Ports !VLAN: ---- -------------------------------- --------- ------------------------------- - !VLAN: 1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4, Fa0/5, Fa0/6, Fa0/7, Fa0/8, Fa0/9, Fa0/10, Fa0/11, Fa0/12, Fa0/13, Fa0/14, Fa0/15, Fa0/16, Fa0/17, Fa0/18, Fa0/19, Fa0/20, Fa0/21, Fa0/22, Fa0/23, Fa0/24 + !VLAN: 1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4, Fa0/5, Fa0/6, Fa0/7, Fa0/8, Fa0/9, Fa0/10 + !VLAN: Fa0/11, Fa0/12, Fa0/13, Fa0/14, Fa0/15, Fa0/16, Fa0/17, Fa0/18, Fa0/19 + !VLAN: Fa0/20, Fa0/21, Fa0/22, Fa0/23, Fa0/24 !VLAN: 1002 fddi-default act/unsup !VLAN: 1003 token-ring-default act/unsup !VLAN: 1004 fddinet-default act/unsup !VLAN: 1005 trnet-default act/unsup Index: configs/access-3.resultstel.com =================================================================== retrieving revision 1.11 diff -u -4 -r1.11 access-3.resultstel.com @@ -63,9 +63,11 @@ !VTP: Local updater ID is 10.64.14.35 on interface Vl1 (lowest numbered VLAN interface found) ! !VLAN: VLAN Name Status Ports !VLAN: ---- -------------------------------- --------- ------------------------------- - !VLAN: 1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4, Fa0/5, Fa0/6, Fa0/7, Fa0/8, Fa0/9, Fa0/10, Fa0/11, Fa0/12, Fa0/13, Fa0/14, Fa0/15, Fa0/16, Fa0/17, Fa0/18, Fa0/19, Fa0/20, Fa0/21, Fa0/22, Fa0/23, Fa0/24, Gi0/2 + !VLAN: 1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4, Fa0/5, Fa0/6, Fa0/7, Fa0/8, Fa0/9, Fa0/10 + !VLAN: Fa0/11, Fa0/12, Fa0/13, Fa0/14, Fa0/15, Fa0/16, Fa0/17, Fa0/18, Fa0/19 + !VLAN: Fa0/20, Fa0/21, Fa0/22, Fa0/23, Fa0/24, Gi0/2 !VLAN: 1002 fddi-default act/unsup !VLAN: 1003 token-ring-default act/unsup !VLAN: 1004 fddinet-default act/unsup !VLAN: 1005 trnet-default act/unsup Index: configs/access-4.resultstel.com =================================================================== retrieving revision 1.11 diff -u -4 -r1.11 access-4.resultstel.com @@ -63,9 +63,11 @@ !VTP: Local updater ID is 10.64.14.38 on interface Vl1 (lowest numbered VLAN interface found) ! !VLAN: VLAN Name Status Ports !VLAN: ---- -------------------------------- --------- ------------------------------- - !VLAN: 1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4, Fa0/5, Fa0/6, Fa0/7, Fa0/8, Fa0/9, Fa0/10, Fa0/11, Fa0/12, Fa0/13, Fa0/14, Fa0/15, Fa0/16, Fa0/17, Fa0/18, Fa0/19, Fa0/20, Fa0/21, Fa0/22, Fa0/23, Fa0/24, Gi0/2 + !VLAN: 1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4, Fa0/5, Fa0/6, Fa0/7, Fa0/8, Fa0/9, Fa0/10 + !VLAN: Fa0/11, Fa0/12, Fa0/13, Fa0/14, Fa0/15, Fa0/16, Fa0/17, Fa0/18, Fa0/19 + !VLAN: Fa0/20, Fa0/21, Fa0/22, Fa0/23, Fa0/24, Gi0/2 !VLAN: 1002 fddi-default act/unsup !VLAN: 1003 token-ring-default act/unsup !VLAN: 1004 fddinet-default act/unsup !VLAN: 1005 trnet-default act/unsup --------------070401040100030709010407-- From owner-rancid-discuss-outgoing@shrubbery.net Tue Apr 6 14:18:38 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 06E8011CE32 for ; Tue, 6 Apr 2004 14:18:37 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id F2C8D17D026; Tue, 6 Apr 2004 14:18:37 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id DB16117D028; Tue, 6 Apr 2004 14:18:36 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from server.tmk.com (server.tmk.com [204.141.35.63]) by guelah.shrubbery.net (Postfix) with ESMTP id C4E8917D026 for ; Tue, 6 Apr 2004 14:18:35 +0000 (UTC) Received: from tmk.com by tmk.com (PMDF V6.2-X27 #37010) id <01L8LSS3MM800010UE@tmk.com> for rancid-discuss@shrubbery.net; Tue, 06 Apr 2004 10:18:31 -0400 (EDT) Date: Tue, 06 Apr 2004 10:13:01 -0400 (EDT) From: Terry Kennedy Subject: Re: [Fwd: [netops] switches router config diffs] In-reply-to: "Your message dated Tue, 06 Apr 2004 09:54:26 -0400" <4072B692.6010206@resultstel.com> To: Daniel Corbe Cc: rancid-discuss@shrubbery.net Message-id: <01L8LU8NDHQ00010UE@tmk.com> MIME-version: 1.0 Content-type: TEXT/PLAIN; format=flowed; charset=ISO-8859-1 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk > I'm getting a lot of these on my Cisco Catalyst 2950 during every single > rancid-run update. These are worthless diffs as there aren't any > changes in configuration but changes in port status. I know this one 8-) I bet you have people accessing the switches with different terminal width settings in their terminal programs. The VTY picks this up as part of telnet option negotiations. Since RANCID is a non-interactive session to the switch, it doesn't negotiate width. Try this patch for clogin (you'll probably need to apply it manually): *** clogin_orig Fri Aug 9 16:54:10 2002 --- clogin Sun Apr 6 19:20:42 2003 *************** *** 455,460 **** --- 455,462 ---- send "set length 0\r" } else { send "term length 0\r" + expect -re $prompt {} + send "term width 80\r" } regsub -all "\[)(]" $prompt {\\&} reprompt # match cisco config mode prompts too, but not for catalyst ie: (enable) *************** *** 699,704 **** --- 701,708 ---- send "set logging session disable\r" } else { send "term length 0\r" + expect -re $prompt {} + send "term width 80\r" } expect -re $prompt {} source $sfile Terry Kennedy http://www.tmk.com terry@tmk.com New York, NY USA From owner-rancid-discuss-outgoing@shrubbery.net Wed Apr 14 05:18:27 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 7BCEF11CE32 for ; Wed, 14 Apr 2004 05:18:27 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id 5B4AD17D037; Wed, 14 Apr 2004 05:18:26 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 438EC17D039; Wed, 14 Apr 2004 05:18:26 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id 2609217D038; Wed, 14 Apr 2004 05:18:25 +0000 (UTC) Date: Tue, 13 Apr 2004 22:18:24 -0700 From: john heasley To: darren Cc: rancid-discuss@shrubbery.net Subject: Re: FW: Rancid and cisco 1900's ? Message-ID: <20040414051824.GQ25350@shrubbery.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: awe, not the good cheek Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk I dont have any, but some (sorry forgot the name) helped debug it. It should work with those that have the menu option in rancid-2.3. be forewarned, that while 2.3 is up for ftp, it was not announced since there seemse to be an issue w/ older expect versions and regexes and o/s mixes. Thus far, pre 5.40 seems broken, though I have not tried 5.39. Should not affect those not interested in CatOS or clogin -x... Wed, Apr 14, 2004 at 02:25:00PM +0930, darren: > Hi, > anyone else got rancid and catalyst 1900's working ? > > I've got router IOS's and cat5's working fine BTW. > > Thanks, > Darren. > > -----Original Message----- > From: darren [mailto:darren@adam.com.au] > Sent: Wednesday, April 14, 2004 1:41 PM > To: 'Mark.Duling@biola.edu' > Subject: Rancid and cisco 1900's ? > > > Hi Mark, > Did you ever get a response, or get rancid working with the 1900's ?? > I also need to get them into rancid.. > > Thanks, > Darren. > Adam Internet NOC > > From: "Mark Duling" > MIME-Version: 1.0 > Content-type: text/plain; charset=ISO-8859-1 > Content-Transfer-Encoding: 8bit > Sender: owner-rancid-discuss@shrubbery.net > Precedence: bulk > > Hello All, > > I cannot get RANCID to get configs on some of our Cisco catalyst switches. > > 1) Is there anyway to get RANCID to get a config on a 1900? They have the > menu driven interface and I can't find a way to turn it off. One can exit > to the command line but I presume RANCID cannot do that. > > 2) Also, RANCID cannot get configs for our 6000 and 4000 series catalyst's > either. It can login. The error message is at the bottom of this message. > I read what the FAQ says about 6500's and I tried runnning the cat5rancid > file script but it doesn't seem to be getting it still but maybe I'm not > using it right. The same for the 4000's. They both have enable prompts > like this: prompt> (enable) > > Any help is greatly appreciated. > > Mark > From owner-rancid-discuss-outgoing@shrubbery.net Wed Apr 14 08:15:43 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 2E07311CE32 for ; Wed, 14 Apr 2004 08:15:43 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id 58E6117D036; Wed, 14 Apr 2004 08:15:40 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 250AC17D038; Wed, 14 Apr 2004 08:15:40 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from postit.mail.adnap.net.au (postit.mail.adnap.net.au [203.6.132.68]) by guelah.shrubbery.net (Postfix) with ESMTP id 86CC017D036; Wed, 14 Apr 2004 08:15:37 +0000 (UTC) Received: from DARREN (203-2-124-75.adam.com.au [203.2.124.75]) by postit.mail.adnap.net.au (Postfix) with ESMTP id A78831C1DE; Wed, 14 Apr 2004 17:45:36 +0930 (CST) From: "darren" To: "'john heasley'" , Subject: Almost there with the cat 1900's - logins OK , but no configs. Date: Wed, 14 Apr 2004 17:45:32 +0930 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0009_01C42248.48EDCBF0" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcQh+Kf3Yx9MXgjfS1eKZSNGF7PNOw== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Message-Id: <20040414081536.A78831C1DE@postit.mail.adnap.net.au> Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk This is a multi-part message in MIME format. ------=_NextPart_000_0009_01C42248.48EDCBF0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit The cat1900 section of my .cloginrc looks like this. add password 172.18.1.13 k xxxxpassword add passprompt 172.18.1.13 Enter Selection: Rancid logs in OK ... and gets to the enable command prompt # (see attached file) On the cat 1900's there is no write term command , only show running-config, and you have to hit the space bar between pages. When I run /bin/rancid-run .. It hangs... The log file makes it reasonably obvious why (I think !) , it's waiting for write term to complete.. A command that isn't on the 1900's. I notice in /bin/rancid that the last command is write term. I don't know why some config isn't captured by the show running-config (rancid has created the placeholder config file.. But it's empty ..) I'm reluctant to start hacking /bin/rancid (ie remove the write term command) - as the ios routers,cat55's and alteons are all working just fine... any ideas ? Thanks, Darren. ------=_NextPart_000_0009_01C42248.48EDCBF0 Content-Type: text/plain; name="cat1900-login-OK.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="cat1900-login-OK.txt" ferret# su rancid % % %cd /usr/local/rancid/bin %./clogin 172.18.1.13 172.18.1.13 spawn telnet 172.18.1.13 Trying 172.18.1.13... Connected to 172.18.1.13. Escape character is '^]'. Catalyst 1900 Management Console Copyright (c) Cisco Systems, Inc. 1993-1999 All rights reserved. Enterprise Edition Software Ethernet Address: 00-04-4E-C7-52-C0 PCA Number: 73-3121-04 PCA Serial Number: FAB0446C4RT Model Number: WS-C1924-EN System Serial Number: FAB0448N12E Power Supply S/N: APR04410177 PCB Serial Number: FAB0446C4RT,73-3121-04 ------------------------------------------------- 2 user(s) now active on Management Console. User Interface Menu [M] Menus [K] Command Line Enter Selection: K CLI session with the switch is open. To end the CLI session, enter [Exit]. wayville east> wayville east>k ^ % Invalid input detected at '^' marker. wayville east>enable Enter password: ****** wayville east# wayville east# ------=_NextPart_000_0009_01C42248.48EDCBF0 Content-Type: text/plain; name="cat1900-log.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="cat1900-log.txt" % starting: Wed Apr 14 17:01:43 CST 2004 cvs add: scheduling file `172.18.1.13' for addition cvs add: use 'cvs commit' to add this file permanently RCS file: /usr/local/rancid/var/CVS/edgeswitches/configs/172.18.1.13,v done Checking in 172.18.1.13; /usr/local/rancid/var/CVS/edgeswitches/configs/172.18.1.13,v <-- = 172.18.1.13 initial revision: 1.1 done Added 172.18.1.13 Trying to get all of the configs. Error: TIMEOUT reached 172.18.1.13: missed cmd(s): write term 172.18.1.13: End of run not found =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Getting missed routers: round 1. Error: TIMEOUT reached 172.18.1.13: missed cmd(s): write term 172.18.1.13: End of run not found Getting missed routers: round 2. Error: TIMEOUT reached 172.18.1.13: missed cmd(s): write term 172.18.1.13: End of run not found =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Getting missed routers: round 3. Error: TIMEOUT reached 172.18.1.13: missed cmd(s): write term 172.18.1.13: End of run not found =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Getting missed routers: round 4. Error: TIMEOUT reached 172.18.1.13: missed cmd(s): write term 172.18.1.13: End of run not found cvs diff: Diffing . cvs diff: Diffing configs cvs commit: Examining . cvs commit: Examining configs Checking in router.db; /usr/local/rancid/var/CVS/edgeswitches/router.db,v <-- router.db new revision: 1.2; previous revision: 1.1 done ------=_NextPart_000_0009_01C42248.48EDCBF0-- From owner-rancid-discuss-outgoing@shrubbery.net Thu Apr 22 22:38:39 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 23D6B11CE34 for ; Thu, 22 Apr 2004 22:38:39 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id DB65C17CFC3; Thu, 22 Apr 2004 22:38:37 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id B711C17CFE2; Thu, 22 Apr 2004 22:38:37 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from aurvandil.sahala.org (aurvandil.sahala.org [208.35.16.52]) by guelah.shrubbery.net (Postfix) with ESMTP id ACD2E17CFC3 for ; Thu, 22 Apr 2004 22:38:36 +0000 (UTC) Received: by aurvandil.sahala.org (Postfix, from userid 1000) id EA0A21F46C; Thu, 22 Apr 2004 18:38:08 -0400 (EDT) Date: Thu, 22 Apr 2004 18:38:08 -0400 From: joshua sahala To: rancid-discuss@shrubbery.net Subject: using rancid/cvs to generate reports Message-ID: <20040422223808.GA11993@aurvandil.sahala.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.5.1+cvs20040105i Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk hello, i was wondering if anyone had put together some awk or perl scripts to generate a report showing an 'executive readable' summary of the changes that rancid has tracked... the output format would be a .csv with columns like this: device_name device_type change_date change(s) i know that it can be done, but before i go and try to reinvent the wheel [tm], i thought i would ask if anyone was willing to share. :) if not, it will be a good opportunity to improve my awk skills thanks /joshua -- A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools. - Douglas Adams - From owner-rancid-discuss-outgoing@shrubbery.net Fri Apr 23 10:36:42 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id CFD6711CE34 for ; Fri, 23 Apr 2004 10:36:41 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id C55A017CFC3; Fri, 23 Apr 2004 10:36:40 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id A5D6717CFE2; Fri, 23 Apr 2004 10:36:40 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from ntx.netvision.net.il (ananas1.netvision.net.il [199.203.100.202]) by guelah.shrubbery.net (Postfix) with ESMTP id 6FD7217CFC3 for ; Fri, 23 Apr 2004 10:36:37 +0000 (UTC) Received: from Internal Mail-Server by ananas1 with SMTP; 23 Apr 2004 13:37:00 +0300 Received: from ntx1.forest.netvision.net.il ([172.20.30.31]) by vidius-pa.forest.netvision.net.il with Vidius PA ESMTP; Fri, 23 Apr 2004 13:35:26 +0200 X-PA-Host: vidius-pa.forest.netvision.net.il X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Subject: RE: using rancid/cvs to generate reports Date: Fri, 23 Apr 2004 13:35:25 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: using rancid/cvs to generate reports Thread-Index: AcQowtGOKUiIFLUATxKnK86HmV410gAY/i1A From: "Yuval Ben-Ari" To: "joshua sahala" , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk not sure I understand, isn't cvsweb.cgi or the similars good for you ? it has "Age" column that can indicate last change date (at least ViewCVS does) Yuval > -----Original Message----- > From: owner-rancid-discuss@shrubbery.net = > [mailto:owner-rancid-discuss@shrubbery.net] On Behalf Of joshua sahala > Sent: Friday, April 23, 2004 00:38 > To: rancid-discuss@shrubbery.net > Subject: using rancid/cvs to generate reports > = > = > hello, > = > i was wondering if anyone had put together some awk or perl scripts to > generate a report showing an 'executive readable' summary of = > the changes > that rancid has tracked... > = > the output format would be a .csv with columns like this: > device_name device_type change_date change(s) > = > i know that it can be done, but before i go and try to reinvent the = > wheel [tm], i thought i would ask if anyone was willing to share. :) > if not, it will be a good opportunity to improve my awk skills > = > thanks > = > /joshua > > -- = > A common mistake that people make when trying to design something = > completely foolproof is to underestimate the ingenuity of complete > fools. > - Douglas Adams - > = > = From owner-rancid-discuss-outgoing@shrubbery.net Fri Apr 23 12:35:40 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 7F2E611CE3A for ; Fri, 23 Apr 2004 12:35:40 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id 8543617CFC3; Fri, 23 Apr 2004 12:35:39 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 6C11817CFE2; Fri, 23 Apr 2004 12:35:39 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by guelah.shrubbery.net (Postfix) with ESMTP id 6953F17CFC3 for ; Fri, 23 Apr 2004 12:35:38 +0000 (UTC) Received: from landujar (sgxfw1-2.sungardrs.com[207.19.97.139]) by comcast.net (rwcrmhc11) with SMTP id <20040423123537013003vmtte> (Authid: lfandujar); Fri, 23 Apr 2004 12:35:37 +0000 Message-ID: <002601c4292f$7af6c190$fd00a8c0@SAS.SUNGARDRS.COM> From: "Luis Andujar" To: Subject: Configuration Checking Date: Fri, 23 Apr 2004 08:35:36 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0023_01C4290D.F2FE6B10" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk This is a multi-part message in MIME format. ------=_NextPart_000_0023_01C4290D.F2FE6B10 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Has anyone developed a program, that they do not mind sharing, that will = check the downloaded configurations against a template? Thank you, Lou Andujar ------=_NextPart_000_0023_01C4290D.F2FE6B10 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Has anyone developed a program, that = they do not=20 mind sharing, that will check the downloaded configurations against a=20 template?
 
Thank you,
 
Lou Andujar
------=_NextPart_000_0023_01C4290D.F2FE6B10-- From owner-rancid-discuss-outgoing@shrubbery.net Fri Apr 23 13:41:58 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 7995E11CE3A for ; Fri, 23 Apr 2004 13:41:58 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id 9C48117CFC3; Fri, 23 Apr 2004 13:41:54 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 79F8117CFE2; Fri, 23 Apr 2004 13:41:54 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from aurvandil.sahala.org (aurvandil.sahala.org [208.35.16.52]) by guelah.shrubbery.net (Postfix) with ESMTP id 71C1A17CFC3 for ; Fri, 23 Apr 2004 13:41:53 +0000 (UTC) Received: by aurvandil.sahala.org (Postfix, from userid 1000) id 636521F46C; Fri, 23 Apr 2004 09:41:41 -0400 (EDT) Date: Fri, 23 Apr 2004 09:41:40 -0400 From: joshua sahala To: Luis Andujar Cc: rancid-discuss@shrubbery.net Subject: Re: Configuration Checking Message-ID: <20040423134140.GA11475@aurvandil.sahala.org> References: <002601c4292f$7af6c190$fd00a8c0@SAS.SUNGARDRS.COM> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002601c4292f$7af6c190$fd00a8c0@SAS.SUNGARDRS.COM> User-Agent: Mutt/1.5.5.1+cvs20040105i Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On (23/04/04 08:35), Luis Andujar wrote: > > Has anyone developed a program, that they do not mind sharing, that > will check the downloaded configurations against a template? check out rat/ncat - cisco specific out of the box, they work well. google around for a sample ncat.conf file http://ncat.sourceforge.net/ hth /joshua -- A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools. - Douglas Adams - From owner-rancid-discuss-outgoing@shrubbery.net Fri Apr 23 13:44:57 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 55D1411CE3A for ; Fri, 23 Apr 2004 13:44:57 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id 3C64517CFC3; Fri, 23 Apr 2004 13:44:56 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 1812017CFE2; Fri, 23 Apr 2004 13:44:56 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from aurvandil.sahala.org (aurvandil.sahala.org [208.35.16.52]) by guelah.shrubbery.net (Postfix) with ESMTP id 058E917CFC3 for ; Fri, 23 Apr 2004 13:44:54 +0000 (UTC) Received: by aurvandil.sahala.org (Postfix, from userid 1000) id 6F1D31F46C; Fri, 23 Apr 2004 09:44:43 -0400 (EDT) Date: Fri, 23 Apr 2004 09:44:43 -0400 From: joshua sahala To: Yuval Ben-Ari Cc: rancid-discuss@shrubbery.net Subject: Re: using rancid/cvs to generate reports Message-ID: <20040423134443.GB11475@aurvandil.sahala.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.5.1+cvs20040105i Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On (23/04/04 13:35), Yuval Ben-Ari wrote: > > not sure I understand, isn't cvsweb.cgi or the similars good for you ? > it has "Age" column that can indicate last change date (at least ViewCVS > does) > yuval, i use cvsweb or viewcvs, but the key term in my request was: > > 'executive readable' hence the need for the ability to dump it out in to a text file that can then be parsed to populate a spreadsheet thanks /joshua -- A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools. - Douglas Adams - From owner-rancid-discuss-outgoing@shrubbery.net Fri Apr 23 14:17:08 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 0543F11CE3A for ; Fri, 23 Apr 2004 14:17:08 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id 5E82617CFC3; Fri, 23 Apr 2004 14:17:04 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 3D38B17CFE3; Fri, 23 Apr 2004 14:17:04 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from bmi5.bmi.com (bmi5.bmi.com [65.212.125.205]) by guelah.shrubbery.net (Postfix) with ESMTP id D85BA17CFC3 for ; Fri, 23 Apr 2004 14:17:02 +0000 (UTC) Received: from NAMAIL01.bmi.org (Not Verified[10.1.101.142]) by bmi5.bmi.com id ; Fri, 23 Apr 2004 09:17:00 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4293D.A4E80580" Subject: Scripts Date: Fri, 23 Apr 2004 09:17:00 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Scripts Thread-Index: AcQpL38ivGC/jMk1R3OJ5qlbPPEBmQADdj8Q From: "Edwards, Thomas" To: Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk This is a multi-part message in MIME format. ------_=_NextPart_001_01C4293D.A4E80580 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I and a friend have written a script that uses the clogin script to hit multiple devices. You provide a file with the changes you wish applied to all routers/switches and another file with a list of all devices, it then goes out and does all the changes you wish, would anyone be interested in such a script and is there a place that I could put it for everyone to use. =20 Tom ******************************************** This message is intended only for the use of the Addressee and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please erase all copies of the message and its attachments and notify us immediately. Thank you. ******************************************** ------_=_NextPart_001_01C4293D.A4E80580 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I and a friend have written a script= =20that uses the clogin script to hit multiple devices.  You provide a file = with the changes you wish applied to all routers/switches and another file with a = list of all devices, it then goes out and does all the changes you wish, would= anyone be interested in such a script and is there a place that I could p= ut it for everyone to use.

 

Tom

********************************************
This message is intend= ed only=20 for the use of the Addressee and
may contain information that is PRIVI= LEGED=20 and CONFIDENTIAL.

If you are not the intended recipient, you are hereby notified
that= =20any=20 dissemination of this communication is strictly prohibited.

If you have received this communication in error, please erase
all = copies=20 of the message and its attachments and notify us
immediately.

Thank you.
********************************************

------_=_NextPart_001_01C4293D.A4E80580-- From owner-rancid-discuss-outgoing@shrubbery.net Fri Apr 23 14:25:50 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 9B16911CE3A for ; Fri, 23 Apr 2004 14:25:50 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id 487D517CFC3; Fri, 23 Apr 2004 14:25:49 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 2646C17CFE3; Fri, 23 Apr 2004 14:25:49 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from server.nipper.de (relay.nipper.de [212.86.210.19]) by guelah.shrubbery.net (Postfix) with ESMTP id 0DB2617CFC3 for ; Fri, 23 Apr 2004 14:25:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by server.nipper.de (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id C0F6939A5B; Fri, 23 Apr 2004 16:25:43 +0200 (CEST) Received: from server.nipper.de ([127.0.0.1]) by localhost (server [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 09934-04; Fri, 23 Apr 2004 16:25:42 +0200 (CEST) Received: from nipper.de (pc103.nipper.de [192.168.144.103]) by server.nipper.de (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 8EDCD39A3B; Fri, 23 Apr 2004 16:25:42 +0200 (CEST) Message-ID: <40892762.3000206@nipper.de> Date: Fri, 23 Apr 2004 16:25:38 +0200 From: Arnold Nipper Organization: nIPper consulting User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7b) Gecko/20040316 X-Accept-Language: de, en-us, en MIME-Version: 1.0 To: "Edwards, Thomas" Cc: rancid-discuss@shrubbery.net Subject: Re: Scripts References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at nipper.de Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On 23.04.2004 16:17 Edwards, Thomas wrote: > I and a friend have written a script that uses the clogin script to hit > multiple devices. You provide a file with the changes you wish applied > to all routers/switches and another file with a list of all devices, it > then goes out and does all the changes you wish, would anyone be > interested in such a script and is there a place that I could put it for > everyone to use. > Couldn't you do that with just "clogin -x file_with_changes `cat file_of_routers_and_switches`" Or did I mis something? Arnold From owner-rancid-discuss-outgoing@shrubbery.net Fri Apr 23 14:27:47 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 05A3111CE3A for ; Fri, 23 Apr 2004 14:27:46 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id 0A51617CFE9; Fri, 23 Apr 2004 14:27:46 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id E012717CFF2; Fri, 23 Apr 2004 14:27:45 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from bmi5.bmi.com (bmi5.bmi.com [65.212.125.205]) by guelah.shrubbery.net (Postfix) with ESMTP id 718DD17CFE9 for ; Fri, 23 Apr 2004 14:27:44 +0000 (UTC) Received: from NAMAIL01.bmi.org (Not Verified[10.1.101.142]) by bmi5.bmi.com id ; Fri, 23 Apr 2004 09:27:33 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Scripts Date: Fri, 23 Apr 2004 09:27:33 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Scripts Thread-Index: AcQpPuJ+ljGXRPMoQnurakw9eqynLgAADLjw From: "Edwards, Thomas" To: "Arnold Nipper" Cc: Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Nope, just less typing is all. -----Original Message----- From: Arnold Nipper [mailto:arnold@nipper.de]=20 Sent: Friday, April 23, 2004 9:26 AM To: Edwards, Thomas Cc: rancid-discuss@shrubbery.net Subject: Re: Scripts On 23.04.2004 16:17 Edwards, Thomas wrote: > I and a friend have written a script that uses the clogin script to hit > multiple devices. You provide a file with the changes you wish applied > to all routers/switches and another file with a list of all devices, it > then goes out and does all the changes you wish, would anyone be > interested in such a script and is there a place that I could put it for > everyone to use. >=20 Couldn't you do that with just "clogin -x file_with_changes `cat file_of_routers_and_switches`" Or did I mis something? Arnold ******************************************** This message is intended only for the use of the Addressee and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please erase all copies of the message and its attachments and notify us immediately. Thank you. ******************************************** From owner-rancid-discuss-outgoing@shrubbery.net Fri Apr 23 14:40:57 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 2BE3711CE3A for ; Fri, 23 Apr 2004 14:40:57 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id 08A9717D000; Fri, 23 Apr 2004 14:40:56 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id D67D917D010; Fri, 23 Apr 2004 14:40:55 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from server.nipper.de (relay.nipper.de [212.86.210.19]) by guelah.shrubbery.net (Postfix) with ESMTP id 8B68E17D000 for ; Fri, 23 Apr 2004 14:40:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by server.nipper.de (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 9790139A55; Fri, 23 Apr 2004 16:40:53 +0200 (CEST) Received: from server.nipper.de ([127.0.0.1]) by localhost (server [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 09934-09; Fri, 23 Apr 2004 16:40:52 +0200 (CEST) Received: from nipper.de (pc103.nipper.de [192.168.144.103]) by server.nipper.de (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 438BF39A3B; Fri, 23 Apr 2004 16:40:52 +0200 (CEST) Message-ID: <40892AEF.1030907@nipper.de> Date: Fri, 23 Apr 2004 16:40:47 +0200 From: Arnold Nipper Organization: nIPper consulting User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7b) Gecko/20040316 X-Accept-Language: de, en-us, en MIME-Version: 1.0 To: "Edwards, Thomas" Cc: rancid-discuss@shrubbery.net Subject: Re: Scripts References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at nipper.de Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On 23.04.2004 16:27 Edwards, Thomas wrote: > Nope, just less typing is all. > I.e. you are saving 9 characters ... Maybe something more general that processes a file with lines like "list of commandslist of devices" would be more useful though it's also a no-brainer (just have the command wrapped in a while command). Arnold > -----Original Message----- > From: Arnold Nipper [mailto:arnold@nipper.de] > Sent: Friday, April 23, 2004 9:26 AM > To: Edwards, Thomas > Cc: rancid-discuss@shrubbery.net > Subject: Re: Scripts > > > > On 23.04.2004 16:17 Edwards, Thomas wrote: > > >>I and a friend have written a script that uses the clogin script to > > hit > >>multiple devices. You provide a file with the changes you wish > > applied > >>to all routers/switches and another file with a list of all devices, > > it > >>then goes out and does all the changes you wish, would anyone be >>interested in such a script and is there a place that I could put it > > for > >>everyone to use. >> > > > Couldn't you do that with just > > "clogin -x file_with_changes `cat file_of_routers_and_switches`" > > Or did I mis something? > > Arnold > > > > ******************************************** > This message is intended only for the use of the Addressee and > may contain information that is PRIVILEGED and CONFIDENTIAL. > > If you are not the intended recipient, you are hereby notified > that any dissemination of this communication is strictly prohibited. > > If you have received this communication in error, please erase > all copies of the message and its attachments and notify us > immediately. > > Thank you. > ******************************************** -- Arnold Nipper / nIPper consulting, Sandhausen, Germany email: arnold@nipper.de phone/mobile: +49 172 2650958 fax: +49 6224 9259 333 From owner-rancid-discuss-outgoing@shrubbery.net Fri Apr 23 14:43:13 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 99C4D11CE3A for ; Fri, 23 Apr 2004 14:43:13 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id 439A317D000; Fri, 23 Apr 2004 14:43:10 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 1F4CC17D010; Fri, 23 Apr 2004 14:43:10 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from bmi5.bmi.com (bmi5.bmi.com [65.212.125.205]) by guelah.shrubbery.net (Postfix) with ESMTP id E151517D000 for ; Fri, 23 Apr 2004 14:43:07 +0000 (UTC) Received: from NAMAIL01.bmi.org (Not Verified[10.1.101.142]) by bmi5.bmi.com id ; Fri, 23 Apr 2004 09:42:59 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Scripts Date: Fri, 23 Apr 2004 09:42:59 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Scripts Thread-Index: AcQpQP1vOCNya2OpQdK3XoGsZtYHSQAAEENw From: "Edwards, Thomas" To: "Arnold Nipper" Cc: Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Sorry to have mentioned it, nevermind! -----Original Message----- From: Arnold Nipper [mailto:arnold@nipper.de]=20 Sent: Friday, April 23, 2004 9:41 AM To: Edwards, Thomas Cc: rancid-discuss@shrubbery.net Subject: Re: Scripts On 23.04.2004 16:27 Edwards, Thomas wrote: > Nope, just less typing is all. >=20 I.e. you are saving 9 characters ... Maybe something more general that processes a file with lines like "list of commandslist of devices" would be more useful though it's also a no-brainer (just have the command wrapped in a while command). Arnold > -----Original Message----- > From: Arnold Nipper [mailto:arnold@nipper.de]=20 > Sent: Friday, April 23, 2004 9:26 AM > To: Edwards, Thomas > Cc: rancid-discuss@shrubbery.net > Subject: Re: Scripts >=20 >=20 >=20 > On 23.04.2004 16:17 Edwards, Thomas wrote: >=20 >=20 >>I and a friend have written a script that uses the clogin script to >=20 > hit >=20 >>multiple devices. You provide a file with the changes you wish >=20 > applied >=20 >>to all routers/switches and another file with a list of all devices, >=20 > it >=20 >>then goes out and does all the changes you wish, would anyone be >>interested in such a script and is there a place that I could put it >=20 > for >=20 >>everyone to use. >> >=20 >=20 > Couldn't you do that with just >=20 > "clogin -x file_with_changes `cat file_of_routers_and_switches`" >=20 > Or did I mis something? >=20 > Arnold >=20 >=20 >=20 > ******************************************** > This message is intended only for the use of the Addressee and > may contain information that is PRIVILEGED and CONFIDENTIAL. >=20 > If you are not the intended recipient, you are hereby notified > that any dissemination of this communication is strictly prohibited. >=20 > If you have received this communication in error, please erase > all copies of the message and its attachments and notify us > immediately. >=20 > Thank you. > ******************************************** --=20 Arnold Nipper / nIPper consulting, Sandhausen, Germany email: arnold@nipper.de phone/mobile: +49 172 2650958 fax: +49 6224 9259 333 ******************************************** This message is intended only for the use of the Addressee and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please erase all copies of the message and its attachments and notify us immediately. Thank you. ******************************************** From owner-rancid-discuss-outgoing@shrubbery.net Fri Apr 23 14:52:50 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id A2EF911CE3A for ; Fri, 23 Apr 2004 14:52:50 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id A3B7717D010; Fri, 23 Apr 2004 14:52:49 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 8A00C17D014; Fri, 23 Apr 2004 14:52:49 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id 3DEA717D011; Fri, 23 Apr 2004 14:52:48 +0000 (UTC) Date: Fri, 23 Apr 2004 14:52:48 +0000 From: john heasley To: joshua sahala Cc: Yuval Ben-Ari , rancid-discuss@shrubbery.net Subject: Re: using rancid/cvs to generate reports Message-ID: <20040423145248.GD26744@shrubbery.net> References: <20040423134443.GB11475@aurvandil.sahala.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040423134443.GB11475@aurvandil.sahala.org> User-Agent: Mutt/1.4i X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: awe, not the good cheek Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk iirc, ISC folks wrote some rancid-output groveling scripts which may give you a head-start. Fri, Apr 23, 2004 at 09:44:43AM -0400, joshua sahala: > On (23/04/04 13:35), Yuval Ben-Ari wrote: > > > > not sure I understand, isn't cvsweb.cgi or the similars good for you ? > > it has "Age" column that can indicate last change date (at least ViewCVS > > does) > > > yuval, > > i use cvsweb or viewcvs, but the key term in my request was: > > > > 'executive readable' > > hence the need for the ability to dump it out in to a text file that can > then be parsed to populate a spreadsheet > > thanks > > /joshua > > -- > A common mistake that people make when trying to design something > completely foolproof is to underestimate the ingenuity of complete > fools. > - Douglas Adams - From owner-rancid-discuss-outgoing@shrubbery.net Fri Apr 23 15:52:55 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id B729111CE3A for ; Fri, 23 Apr 2004 15:52:55 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id B493B17CFE9; Fri, 23 Apr 2004 15:52:54 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 92D5F17D011; Fri, 23 Apr 2004 15:52:54 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from aurvandil.sahala.org (aurvandil.sahala.org [208.35.16.52]) by guelah.shrubbery.net (Postfix) with ESMTP id 1425417CFE9; Fri, 23 Apr 2004 15:52:52 +0000 (UTC) Received: by aurvandil.sahala.org (Postfix, from userid 1000) id 2A82F1F46C; Fri, 23 Apr 2004 11:52:41 -0400 (EDT) Date: Fri, 23 Apr 2004 11:52:40 -0400 From: joshua sahala To: john heasley Cc: Yuval Ben-Ari , rancid-discuss@shrubbery.net Subject: Re: using rancid/cvs to generate reports Message-ID: <20040423155240.GA14692@aurvandil.sahala.org> References: <20040423134443.GB11475@aurvandil.sahala.org> <20040423145248.GD26744@shrubbery.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040423145248.GD26744@shrubbery.net> User-Agent: Mutt/1.5.5.1+cvs20040105i Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On (23/04/04 14:52), john heasley wrote: > > iirc, ISC folks wrote some rancid-output groveling scripts which may give > you a head-start. > john, yes they did - i'll dig through the tool-maker's archives today, and maybe ask on that list...but joe abley's scripts are a great start thanks /joshua -- A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools. - Douglas Adams - From owner-rancid-discuss-outgoing@shrubbery.net Fri Apr 30 19:44:01 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id CA0D311CE33 for ; Fri, 30 Apr 2004 19:44:01 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id A215417CFF2; Fri, 30 Apr 2004 19:44:00 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 7FCC117D011; Fri, 30 Apr 2004 19:44:00 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from starfish.brainstorminternet.net (starfish.brainstorminternet.net [66.118.220.14]) by guelah.shrubbery.net (Postfix) with ESMTP id 8C79C17CFF2 for ; Fri, 30 Apr 2004 19:43:59 +0000 (UTC) Received: from [10.0.2.154] (229.193.118.66.brainstorminternet.net [66.118.193.229]) by starfish.brainstorminternet.net (Postfix) with ESMTP id B6E8314C30C for ; Fri, 30 Apr 2004 13:43:43 -0600 (MDT) Subject: Custom RANCID modules From: Joshua Ginsberg To: rancid-discuss@shrubbery.net Content-Type: text/plain Organization: Network Operations -- Brainstorm Internet Message-Id: <1083354159.3818.5.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-1) Date: Fri, 30 Apr 2004 13:42:40 -0600 Content-Transfer-Encoding: 7bit Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Hello -- I was wondering if anybody had any experience or pointers for somebody trying to begin creating RANCID modules for other types of networking equipment. I've looked at the code base, and I'm not really able to make heads or tails of how it all works. Thanks for any help you could provide. -jag -- Joshua Ginsberg Network Operations -- Brainstorm Internet