From jaitken at aitken.com Thu Apr 1 15:33:28 2004 From: jaitken at aitken.com (Jeff Aitken) Date: Thu, 1 Apr 2004 10:33:28 -0500 Subject: Very strange problem with 2.2.2 (and 2.3-rc1) on FreeBSD-5.x In-Reply-To: <20040219144336.GA43301@eagle.aitken.com> References: <20040219144336.GA43301@eagle.aitken.com> Message-ID: <20040401153328.GB41642@eagle.aitken.com> 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 heas at shrubbery.net Thu Apr 1 15:48:47 2004 From: heas at shrubbery.net (john heasley) Date: Thu, 1 Apr 2004 07:48:47 -0800 Subject: Very strange problem with 2.2.2 (and 2.3-rc1) on FreeBSD-5.x In-Reply-To: <20040401153328.GB41642@eagle.aitken.com> References: <20040219144336.GA43301@eagle.aitken.com> <20040401153328.GB41642@eagle.aitken.com> Message-ID: <20040401154847.GW7242@shrubbery.net> 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 afort at choqolat.org Thu Apr 1 21:53:31 2004 From: afort at choqolat.org (Andrew Fort) Date: Fri, 02 Apr 2004 07:53:31 +1000 Subject: Newbie question In-Reply-To: <20040329164355.GB92173@eagle.aitken.com> References: <20040329164355.GB92173@eagle.aitken.com> Message-ID: <406C8F5B.70307@choqolat.org> 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 heas at shrubbery.net Fri Apr 2 08:06:50 2004 From: heas at shrubbery.net (john heasley) Date: Fri, 2 Apr 2004 00:06:50 -0800 Subject: your mail In-Reply-To: <22091.1080892482@www2.gmx.net> References: <22091.1080892482@www2.gmx.net> Message-ID: <20040402080650.GE28392@shrubbery.net> 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 heas at shrubbery.net Fri Apr 2 09:06:15 2004 From: heas at shrubbery.net (john heasley) Date: Fri, 2 Apr 2004 01:06:15 -0800 Subject: your mail In-Reply-To: <14373.1080896107@www1.gmx.net> References: <14373.1080896107@www1.gmx.net> Message-ID: <20040402090615.GI28392@shrubbery.net> 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 dcorbe at resultstel.com Tue Apr 6 13:54:26 2004 From: dcorbe at resultstel.com (Daniel Corbe) Date: Tue, 06 Apr 2004 09:54:26 -0400 Subject: [Fwd: [netops] switches router config diffs] Message-ID: <4072B692.6010206@resultstel.com> 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. -------------- next part -------------- An embedded message was scrubbed... From: rancid at mars.resultstel.com Subject: [netops] switches router config diffs Date: 5 Apr 2004 16:02:14 -0000 Size: 6216 Url: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20040406/f60fbfec/attachment.mht From terry at tmk.com Tue Apr 6 14:13:01 2004 From: terry at tmk.com (Terry Kennedy) Date: Tue, 06 Apr 2004 10:13:01 -0400 (EDT) Subject: [Fwd: [netops] switches router config diffs] In-Reply-To: "Your message dated Tue, 06 Apr 2004 09:54:26 -0400" <4072B692.6010206@resultstel.com> Message-ID: <01L8LU8NDHQ00010UE@tmk.com> > 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 at tmk.com New York, NY USA From heas at shrubbery.net Wed Apr 14 05:18:24 2004 From: heas at shrubbery.net (john heasley) Date: Tue, 13 Apr 2004 22:18:24 -0700 Subject: FW: Rancid and cisco 1900's ? In-Reply-To: References: Message-ID: <20040414051824.GQ25350@shrubbery.net> 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 at adam.com.au] > Sent: Wednesday, April 14, 2004 1:41 PM > To: 'Mark.Duling at 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 at 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 darren at adam.com.au Wed Apr 14 08:15:32 2004 From: darren at adam.com.au (darren) Date: Wed, 14 Apr 2004 17:45:32 +0930 Subject: Almost there with the cat 1900's - logins OK , but no configs. Message-ID: <20040414081536.A78831C1DE@postit.mail.adnap.net.au> 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. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: cat1900-login-OK.txt Url: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20040414/63a72a15/attachment.txt -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: cat1900-log.txt Url: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20040414/63a72a15/attachment-0001.txt From jejs+rancid at sahala.org Thu Apr 22 22:38:08 2004 From: jejs+rancid at sahala.org (joshua sahala) Date: Thu, 22 Apr 2004 18:38:08 -0400 Subject: using rancid/cvs to generate reports Message-ID: <20040422223808.GA11993@aurvandil.sahala.org> 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 yuvalba at netvision.net.il Fri Apr 23 11:35:25 2004 From: yuvalba at netvision.net.il (Yuval Ben-Ari) Date: Fri, 23 Apr 2004 13:35:25 +0200 Subject: using rancid/cvs to generate reports Message-ID: 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 at shrubbery.net > [mailto:owner-rancid-discuss at shrubbery.net] On Behalf Of joshua sahala > Sent: Friday, April 23, 2004 00:38 > To: rancid-discuss at 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 lfandujar at comcast.net Fri Apr 23 12:35:36 2004 From: lfandujar at comcast.net (Luis Andujar) Date: Fri, 23 Apr 2004 08:35:36 -0400 Subject: Configuration Checking Message-ID: <002601c4292f$7af6c190$fd00a8c0@SAS.SUNGARDRS.COM> Has anyone developed a program, that they do not mind sharing, that will check the downloaded configurations against a template? Thank you, Lou Andujar From jejs+rancid at sahala.org Fri Apr 23 13:41:40 2004 From: jejs+rancid at sahala.org (joshua sahala) Date: Fri, 23 Apr 2004 09:41:40 -0400 Subject: Configuration Checking In-Reply-To: <002601c4292f$7af6c190$fd00a8c0@SAS.SUNGARDRS.COM> References: <002601c4292f$7af6c190$fd00a8c0@SAS.SUNGARDRS.COM> Message-ID: <20040423134140.GA11475@aurvandil.sahala.org> 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 jejs+rancid at sahala.org Fri Apr 23 13:44:43 2004 From: jejs+rancid at sahala.org (joshua sahala) Date: Fri, 23 Apr 2004 09:44:43 -0400 Subject: using rancid/cvs to generate reports In-Reply-To: References: Message-ID: <20040423134443.GB11475@aurvandil.sahala.org> 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 tedwards at BMI.com Fri Apr 23 14:17:00 2004 From: tedwards at BMI.com (Edwards, Thomas) Date: Fri, 23 Apr 2004 09:17:00 -0500 Subject: Scripts Message-ID: 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. Tom From arnold at nipper.de Fri Apr 23 14:25:38 2004 From: arnold at nipper.de (Arnold Nipper) Date: Fri, 23 Apr 2004 16:25:38 +0200 Subject: Scripts In-Reply-To: References: Message-ID: <40892762.3000206@nipper.de> 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 tedwards at BMI.com Fri Apr 23 14:27:33 2004 From: tedwards at BMI.com (Edwards, Thomas) Date: Fri, 23 Apr 2004 09:27:33 -0500 Subject: Scripts Message-ID: Nope, just less typing is all. -----Original Message----- From: Arnold Nipper [mailto:arnold at nipper.de] Sent: Friday, April 23, 2004 9:26 AM To: Edwards, Thomas Cc: rancid-discuss at 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. ******************************************** From arnold at nipper.de Fri Apr 23 14:40:47 2004 From: arnold at nipper.de (Arnold Nipper) Date: Fri, 23 Apr 2004 16:40:47 +0200 Subject: Scripts In-Reply-To: References: Message-ID: <40892AEF.1030907@nipper.de> 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 at nipper.de] > Sent: Friday, April 23, 2004 9:26 AM > To: Edwards, Thomas > Cc: rancid-discuss at 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 at nipper.de phone/mobile: +49 172 2650958 fax: +49 6224 9259 333 From tedwards at BMI.com Fri Apr 23 14:42:59 2004 From: tedwards at BMI.com (Edwards, Thomas) Date: Fri, 23 Apr 2004 09:42:59 -0500 Subject: Scripts Message-ID: Sorry to have mentioned it, nevermind! -----Original Message----- From: Arnold Nipper [mailto:arnold at nipper.de] Sent: Friday, April 23, 2004 9:41 AM To: Edwards, Thomas Cc: rancid-discuss at shrubbery.net Subject: Re: Scripts 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 at nipper.de] > Sent: Friday, April 23, 2004 9:26 AM > To: Edwards, Thomas > Cc: rancid-discuss at 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 at 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 heas at shrubbery.net Fri Apr 23 14:52:48 2004 From: heas at shrubbery.net (john heasley) Date: Fri, 23 Apr 2004 14:52:48 +0000 Subject: using rancid/cvs to generate reports In-Reply-To: <20040423134443.GB11475@aurvandil.sahala.org> References: <20040423134443.GB11475@aurvandil.sahala.org> Message-ID: <20040423145248.GD26744@shrubbery.net> 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 jejs+rancid at sahala.org Fri Apr 23 15:52:40 2004 From: jejs+rancid at sahala.org (joshua sahala) Date: Fri, 23 Apr 2004 11:52:40 -0400 Subject: using rancid/cvs to generate reports In-Reply-To: <20040423145248.GD26744@shrubbery.net> References: <20040423134443.GB11475@aurvandil.sahala.org> <20040423145248.GD26744@shrubbery.net> Message-ID: <20040423155240.GA14692@aurvandil.sahala.org> 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 joshg at brainstorminternet.net Fri Apr 30 19:42:40 2004 From: joshg at brainstorminternet.net (Joshua Ginsberg) Date: Fri, 30 Apr 2004 13:42:40 -0600 Subject: Custom RANCID modules Message-ID: <1083354159.3818.5.camel@localhost.localdomain> 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