From nocph at aim.com Sat Sep 1 12:25:44 2007 From: nocph at aim.com (nocph at aim.com) Date: Sat, 01 Sep 2007 08:25:44 -0400 Subject: [rancid] Re: clogin tail logs In-Reply-To: References: <8C9B90972DC83D1-FB8-78EB@FWM-M02.sysops.aol.com> Message-ID: <8C9BAAA5A128087-DB8-2F9B@mblk-r30.sysops.aol.com> Yeah, that's different logs. What I want is actually see what clogin is doing... like grep command. -----Original Message----- From: Mark Meijerink To: nocph at aim.com Cc: rancid-discuss at shrubbery.net Sent: Fri, 31 Aug 2007 6:02 am Subject: [rancid] Re: clogin tail logs Hi there, ? You can check the logfiles in the ~rancid/var/log/ directory. When rancid-run runs it will create an logfile for every groep. Someting like testgroup.20070830.131022, where 20070830 is the date and 131022 is the time. I hope this is what you were looking for. ? Regards, ? Mark From: rancid-discuss-bounces at shrubbery.net [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of nocph at aim.com Sent: donderdag 30 augustus 2007 12:41 To: rancid-discuss at shrubbery.net Subject: [rancid] clogin tail logs Hi Guys, How can I see the log of clogin? Something like tail logs. Thanks, Phi Check Out the new free AIM(R) Mail -- Unlimited storage and industry-leading spam and email virus protection. _______________________________________________ Rancid-discuss mailing list Rancid-discuss at shrubbery.net http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss ________________________________________________________________________ Check Out the new free AIM(R) Mail -- Unlimited storage and industry-leading spam and email virus protection. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20070901/ada38e3e/attachment.html From david+rancid at luyer.net Sun Sep 2 23:12:53 2007 From: david+rancid at luyer.net (David Luyer) Date: Sun, 2 Sep 2007 16:12:53 -0700 (PDT) Subject: [rancid] Re: clogin tail logs Message-ID: <49338.208.201.244.13.1188774773.squirrel@www.luyer.net> First you ask for the 'tail' logs now you want something like 'grep'? Are you just picking random words you've seen people type into shell prompts? Should I be surprised your posts come from an AOL address? Will your next post simply say 'me too'? If you want the logs, Mark told you where they are. If you want to see the configurations when they're in the process of being downloaded, Lance told you where to find them. If you want something more verbose, you'll have to run in debug mode. You can run manually "rancid -d DEVICE" where DEVICE is the device name. If it is hanging when you try that you can look at the command line that is using for clogin, and run clogin manually with those options. If you want to know more, read the source. It's all scripts and it's all pretty easy to understand. Or you could actually consider what you really want and try to write more than a few words in your question. David. > Yeah, that's different logs. What I want is actually see what clogin is > doing... like grep command. > > > > > -----Original Message----- > From: Mark Meijerink > To: nocph at aim.com > Cc: rancid-discuss at shrubbery.net > Sent: Fri, 31 Aug 2007 6:02 am > Subject: [rancid] Re: clogin tail logs > > > > > > > > > > > > > > > Hi there, > > > ? > > > You can check the logfiles in the ~rancid/var/log/ > directory. When rancid-run runs it will create an logfile for every groep. > Someting like testgroup.20070830.131022, where 20070830 is the date and > 131022 > is the time. I hope this is what you were looking for. > > > ? > > > Regards, > > > ? Mark > > > > > > > > From: rancid-discuss-bounces at shrubbery.net > [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of > nocph at aim.com > Sent: donderdag 30 augustus 2007 12:41 > To: > rancid-discuss at shrubbery.net > Subject: [rancid] clogin tail > logs > > > > > > Hi Guys, > > How can I > see the log of clogin? Something like tail > logs. > > Thanks, > Phi > > > > > > > Check Out the new free AIM(R) Mail -- Unlimited storage > and industry-leading spam and email virus protection. > > > > > > > > > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at shrubbery.net > http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss > > > > > > > ________________________________________________________________________ > Check Out the new free AIM(R) Mail -- Unlimited storage and > industry-leading spam and email virus protection. > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at shrubbery.net > http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss From laurab at sccu.com Wed Sep 5 14:22:09 2007 From: laurab at sccu.com (Laura Ball) Date: Wed, 5 Sep 2007 10:22:09 -0400 Subject: [rancid] Exclude interface state changes Message-ID: <27728D34FF4BF443AA5A36FBC58EEFCD05E08638@black-drum.sccu.local> Currently our config-fetcher is reporting all interface state changes on our Cisco routers running IOS. I would like to know how I can exclude this information from being sent. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20070905/fb9b5bfb/attachment.html From rancid at gheek.net Wed Sep 5 18:17:53 2007 From: rancid at gheek.net (Lance) Date: Wed, 05 Sep 2007 11:17:53 -0700 Subject: [rancid] Re: Exclude interface state changes Message-ID: <20070905111753.8e114e4890519e5179c192e02d6bca26.8d8ce839fd.wbe@email.secureserver.net> Laura, Are you sure you are talking about interface state? Interface state is not tracked in the IOS. Interface state on the CatOS is tracked in the config.txt but not IOS. I have been running RANCID for many years and have not seen this. Please show me what you are talking about. -Lance > -------- Original Message -------- > Subject: [rancid] Exclude interface state changes > From: "Laura Ball" > Date: Wed, September 05, 2007 7:22 am > To: > > Currently our config-fetcher is reporting all interface state changes on > our Cisco routers running IOS. I would like to know how I can exclude > this information from being sent.
_______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at shrubbery.net > http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss From Brad.Fox at bdk.com Wed Sep 5 19:37:42 2007 From: Brad.Fox at bdk.com (Fox, Brad) Date: Wed, 5 Sep 2007 15:37:42 -0400 Subject: [rancid] Config diffs email alerts Message-ID: Currently we have four separate groups in Rancid that are being monitored and collected including "Access-Points", "Routers", "Switches", and "Service Centers". When I get emails on devices that configurations have changed or have not been polled successfully the email subject line always reads like the following: Switches router config diffs Does anyone know where the file is located and how to change it in order to get it to look for the group name and implant the group name into the header versus it always saying router config diffs? Thank you for your help. Sincerely, Brad -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20070905/5919f869/attachment.html From david+rancid at luyer.net Thu Sep 6 01:42:38 2007 From: david+rancid at luyer.net (David Luyer) Date: Wed, 5 Sep 2007 18:42:38 -0700 (PDT) Subject: [rancid] Re: Config diffs email alerts In-Reply-To: References: Message-ID: <20754.65.57.245.11.1189042958.squirrel@www.luyer.net> > Does anyone know where the file is located and how to change it in order > to get it to look for the group name and implant the group name into the > header versus it always saying router config diffs? You want to modify control_rancid down towards the end. It's just a shell script - you could add a case statement if you need to put some extra logic in there. David. From Brad.Fox at bdk.com Thu Sep 6 13:23:16 2007 From: Brad.Fox at bdk.com (Fox, Brad) Date: Thu, 6 Sep 2007 09:23:16 -0400 Subject: [rancid] Re: Config diffs email alerts In-Reply-To: <20754.65.57.245.11.1189042958.squirrel@www.luyer.net> References: <20754.65.57.245.11.1189042958.squirrel@www.luyer.net> Message-ID: Thank you David. I will give that a try. Brad A. Fox Brad A. Fox Network Mgmt Consultant Global Network Services Black & Decker Office: (410) 716-3263 -----Original Message----- From: rancid-discuss-bounces at shrubbery.net [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of David Luyer Sent: Wednesday, September 05, 2007 9:43 PM To: Fox, Brad Cc: rancid-discuss at shrubbery.net Subject: [rancid] Re: Config diffs email alerts > Does anyone know where the file is located and how to change it in order > to get it to look for the group name and implant the group name into the > header versus it always saying router config diffs? You want to modify control_rancid down towards the end. It's just a shell script - you could add a case statement if you need to put some extra logic in there. David. _______________________________________________ Rancid-discuss mailing list Rancid-discuss at shrubbery.net http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss From knecht at gmx.de Thu Sep 20 16:15:08 2007 From: knecht at gmx.de (Knecht) Date: Thu, 20 Sep 2007 18:15:08 +0200 Subject: [rancid] tac+ user and password Message-ID: <20070920161508.38310@gmx.net> Hi Today i had my first experiments with RANCID. I try to clogin to one of your cisco routers, we are using tac+. clogin use my name but not my tac+ password. I setup .cloginrc file with the following settings. add password my.router cisco cisco add userpassword my.router cisco add method * {ssh} {telnet} add noenable * When i change my tac+ password to cisco it works. Is there any way to let clogin know that he should use my tac+ password ? Regards Thorsten -- Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden: http://www.gmx.net/de/go/browser From mashcraft at omniture.com Thu Sep 20 16:54:44 2007 From: mashcraft at omniture.com (Mike Ashcraft) Date: Thu, 20 Sep 2007 10:54:44 -0600 Subject: [rancid] Re: tac+ user and password In-Reply-To: <20070920161508.38310@gmx.net> References: <20070920161508.38310@gmx.net> Message-ID: <45EB285310B55542A513F93230F0A53301EEDAB2@EXCHANGE0.orm.omniture.com> Thorston, Change .clogin to use your tac+ password instead of "cisco". clogin is obtaining your username from the environment, you need to provide your password in .cloginrc. Mike -----Original Message----- From: rancid-discuss-bounces at shrubbery.net [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Knecht Sent: Thursday, September 20, 2007 10:15 AM To: rancid-discuss at shrubbery.net Subject: [rancid] tac+ user and password Hi Today i had my first experiments with RANCID. I try to clogin to one of your cisco routers, we are using tac+. clogin use my name but not my tac+ password. I setup .cloginrc file with the following settings. add password my.router cisco cisco add userpassword my.router cisco add method * {ssh} {telnet} add noenable * When i change my tac+ password to cisco it works. Is there any way to let clogin know that he should use my tac+ password ? Regards Thorsten -- Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden: http://www.gmx.net/de/go/browser _______________________________________________ Rancid-discuss mailing list Rancid-discuss at shrubbery.net http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss From knecht at gmx.de Thu Sep 20 17:07:18 2007 From: knecht at gmx.de (Knecht) Date: Thu, 20 Sep 2007 19:07:18 +0200 Subject: [rancid] Re: tac+ user and password In-Reply-To: <45EB285310B55542A513F93230F0A53301EEDAB2@EXCHANGE0.orm.omniture.com> References: <20070920161508.38310@gmx.net> <45EB285310B55542A513F93230F0A53301EEDAB2@EXCHANGE0.orm.omniture.com> Message-ID: <20070920170718.182910@gmx.net> Mike, Thx for your feedback. Ok, but it is a little bit unsecure. Can i use DES encryption like tac_pwd and login = des .... in the tac_plus config ? Thorsten -------- Original-Nachricht -------- > Datum: Thu, 20 Sep 2007 10:54:44 -0600 > Von: "Mike Ashcraft" > An: "Knecht" , rancid-discuss at shrubbery.net > Betreff: RE: [rancid] tac+ user and password > Thorston, > > Change .clogin to use your tac+ password instead of "cisco". > > clogin is obtaining your username from the environment, you need to > provide your password in .cloginrc. > > Mike > > -----Original Message----- > From: rancid-discuss-bounces at shrubbery.net > [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Knecht > Sent: Thursday, September 20, 2007 10:15 AM > To: rancid-discuss at shrubbery.net > Subject: [rancid] tac+ user and password > > Hi > > Today i had my first experiments with RANCID. > I try to clogin to one of your cisco routers, we are using tac+. > clogin use my name but not my tac+ password. > > I setup .cloginrc file with the following settings. > > add password my.router cisco cisco > add userpassword my.router cisco > add method * {ssh} {telnet} > add noenable * > > When i change my tac+ password to cisco it works. > Is there any way to let clogin know that he should use my tac+ password > ? > > > Regards > Thorsten > -- > Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten > Browser-Versionen downloaden: http://www.gmx.net/de/go/browser > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at shrubbery.net > http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss -- GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail From rancid at gheek.net Thu Sep 20 17:52:40 2007 From: rancid at gheek.net (Lance) Date: Thu, 20 Sep 2007 10:52:40 -0700 Subject: [rancid] Re: tac+ user and password Message-ID: <20070920105240.8e114e4890519e5179c192e02d6bca26.3cea08d512.wbe@email.secureserver.net> Knecht, The concept of security has always been an issue for many. The concept is to have a secure server and only allow who absolutely must have access, access. In short, the answer is it is not written to do that. you could write some code to have it do that and contribute to the project. :-D -lance > -------- Original Message -------- > Subject: [rancid] Re: tac+ user and password > From: "Knecht" > Date: Thu, September 20, 2007 10:07 am > To: "Mike Ashcraft" , > rancid-discuss at shrubbery.net > > Mike, > > Thx for your feedback. > Ok, but it is a little bit unsecure. > Can i use DES encryption like tac_pwd and login = des .... > in the tac_plus config ? > > Thorsten > -------- Original-Nachricht -------- > > Datum: Thu, 20 Sep 2007 10:54:44 -0600 > > Von: "Mike Ashcraft" > > An: "Knecht" , rancid-discuss at shrubbery.net > > Betreff: RE: [rancid] tac+ user and password > > > Thorston, > > > > Change .clogin to use your tac+ password instead of "cisco". > > > > clogin is obtaining your username from the environment, you need to > > provide your password in .cloginrc. > > > > Mike > > > > -----Original Message----- > > From: rancid-discuss-bounces at shrubbery.net > > [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Knecht > > Sent: Thursday, September 20, 2007 10:15 AM > > To: rancid-discuss at shrubbery.net > > Subject: [rancid] tac+ user and password > > > > Hi > > > > Today i had my first experiments with RANCID. > > I try to clogin to one of your cisco routers, we are using tac+. > > clogin use my name but not my tac+ password. > > > > I setup .cloginrc file with the following settings. > > > > add password my.router cisco cisco > > add userpassword my.router cisco > > add method * {ssh} {telnet} > > add noenable * > > > > When i change my tac+ password to cisco it works. > > Is there any way to let clogin know that he should use my tac+ password > > ? > > > > > > Regards > > Thorsten > > -- > > Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten > > Browser-Versionen downloaden: http://www.gmx.net/de/go/browser > > _______________________________________________ > > Rancid-discuss mailing list > > Rancid-discuss at shrubbery.net > > http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss > > -- > GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. > Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at shrubbery.net > http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss From lance at gheek.net Thu Sep 20 17:51:23 2007 From: lance at gheek.net (Lance Vermilion) Date: Thu, 20 Sep 2007 10:51:23 -0700 Subject: [rancid] Re: tac+ user and password Message-ID: <20070920105123.8e114e4890519e5179c192e02d6bca26.697746e955.wbe@email.secureserver.net> Knecht, The concept of security has always been an issue for many. The concept is to have a secure server and only allow who absolutely must have access, access. In short, the answer is it is not written to do that. you could write some code to have it do that and contribute to the project. :-D -lance > -------- Original Message -------- > Subject: [rancid] Re: tac+ user and password > From: "Knecht" > Date: Thu, September 20, 2007 10:07 am > To: "Mike Ashcraft" , > rancid-discuss at shrubbery.net > > Mike, > > Thx for your feedback. > Ok, but it is a little bit unsecure. > Can i use DES encryption like tac_pwd and login = des .... > in the tac_plus config ? > > Thorsten > -------- Original-Nachricht -------- > > Datum: Thu, 20 Sep 2007 10:54:44 -0600 > > Von: "Mike Ashcraft" > > An: "Knecht" , rancid-discuss at shrubbery.net > > Betreff: RE: [rancid] tac+ user and password > > > Thorston, > > > > Change .clogin to use your tac+ password instead of "cisco". > > > > clogin is obtaining your username from the environment, you need to > > provide your password in .cloginrc. > > > > Mike > > > > -----Original Message----- > > From: rancid-discuss-bounces at shrubbery.net > > [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Knecht > > Sent: Thursday, September 20, 2007 10:15 AM > > To: rancid-discuss at shrubbery.net > > Subject: [rancid] tac+ user and password > > > > Hi > > > > Today i had my first experiments with RANCID. > > I try to clogin to one of your cisco routers, we are using tac+. > > clogin use my name but not my tac+ password. > > > > I setup .cloginrc file with the following settings. > > > > add password my.router cisco cisco > > add userpassword my.router cisco > > add method * {ssh} {telnet} > > add noenable * > > > > When i change my tac+ password to cisco it works. > > Is there any way to let clogin know that he should use my tac+ password > > ? > > > > > > Regards > > Thorsten > > -- > > Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten > > Browser-Versionen downloaden: http://www.gmx.net/de/go/browser > > _______________________________________________ > > Rancid-discuss mailing list > > Rancid-discuss at shrubbery.net > > http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss > > -- > GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. > Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at shrubbery.net > http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss From atsang at advance.net Thu Sep 20 18:24:49 2007 From: atsang at advance.net (Allen Tsang) Date: Thu, 20 Sep 2007 14:24:49 -0400 Subject: [rancid] netscaler 10k load balancer support Message-ID: <46F2BAF1.6010601@advance.net> Howdy folks, Has anyone here worked on the Citrix Netscaler scripts (nslogin and nsrancid) to reflect the current firmware (NS 8.0, Build 46.14)? I took a look at the scripts in 2.5.2a6 and they haven't changed, as they still assume a direct login to the FreeBSD shell, and the old method of getting to ns.conf. fyi: http://www.shrubbery.net/pipermail/rancid-discuss/2007-January/001946.html - Last msg I found on the ML about the ns, based on v6.1 - allen tsang From t at trey.net Fri Sep 21 00:17:58 2007 From: t at trey.net (Trey Valenta) Date: Thu, 20 Sep 2007 17:17:58 -0700 Subject: [rancid] Perforce repository Message-ID: <20070921001758.GA3294@trey.net> I've been working on a patch to version 2.3.2a7 so that I can store my Cisco configs in Perforce. Has anyone already done this? If not, would anyone else be interested in having this feature? Thanks, Trey Valenta -- Seattle, Wash. He jests at scars who never felt a wound. -- Shakespeare, "Romeo and Juliet, II. 2" From rancid at gheek.net Fri Sep 21 04:44:13 2007 From: rancid at gheek.net (Lance) Date: Thu, 20 Sep 2007 21:44:13 -0700 Subject: [rancid] Re: Perforce repository Message-ID: <20070920214413.8e114e4890519e5179c192e02d6bca26.1fc28cef14.wbe@email.secureserver.net> Trey, Never had a use for it myself. Maybe others have and use it. I have always stayed on the free side as much as possible and ran with KISS. Just me. -Lance > -------- Original Message -------- > Subject: [rancid] Perforce repository > From: Trey Valenta > Date: Thu, September 20, 2007 5:17 pm > To: rancid-discuss at shrubbery.net > > I've been working on a patch to version 2.3.2a7 so that I can store my > Cisco configs in Perforce. Has anyone already done this? If not, would > anyone else be interested in having this feature? > > Thanks, > Trey Valenta > > -- > Seattle, Wash. > He jests at scars who never felt a wound. > -- Shakespeare, "Romeo and Juliet, II. 2" > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at shrubbery.net > http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss From abeneuneu at gmail.com Fri Sep 21 10:01:56 2007 From: abeneuneu at gmail.com (Benoit Moeremans) Date: Fri, 21 Sep 2007 12:01:56 +0200 Subject: [rancid] Re: Fwd: netscreen back up In-Reply-To: <46dd5fd3.07ed300a.1a57.439dSMTPIN_ADDED@mx.google.com> References: <46dd5fd3.07ed300a.1a57.439dSMTPIN_ADDED@mx.google.com> Message-ID: Hi Stuart, Sorry for the delay, i was on holiday. Thnx for your answer, it would help to increase the security on the netscreen (i only found the way to configure a r/w user). Thnx again :-) Ben On 9/4/07, Stuart Cannon wrote: > > Hi Ben, > > I had the same problem. The reason you got this error is probably > because you have a pager set on the netscreen. When rancid issues the > 'get conf' command it sits there waiting for the output to finish, while > the netscreen is waiting for you to hit space to show the rest ;-) > > To get around this issue the following on the netscreen: > > "set console page 0" > > Hope this helps, > > Stuart. > > On 5/21/07, Benoit Moeremans wrote: > > > > Hi John, > > > > I tried with the nlogin, and it works. > > > > rantanplan-test:/usr/local/rancid/bin# ./nlogin -f > > /usr/local/rancid/.cloginrc 10.150.0.253 > > 10.150.0.253 > > spawn ssh -c 3des -x -l rancid 10.150.0.253 > > rancid at 10.150.0.253's password: > > Remote Management Console > > Charon-> > > > > Any idea? > > > > Regards, > > > > Ben > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20070921/9fb3acfc/attachment.html From mario.carassale at sohonet.co.uk Fri Sep 21 11:36:07 2007 From: mario.carassale at sohonet.co.uk (mario) Date: Fri, 21 Sep 2007 12:36:07 +0100 Subject: [rancid] SSH not working with HP Procurve Switches Message-ID: <1190374567.4000.3.camel@localhost> Hi i have enabled "add method 192.168.1.1 ssh" in the .cloginrc file. When i run rancid-run to connect to the switch i get the following error in the log file: Getting missed routers: round 4. 192.168.1.1 clogin error: Error: Couldn't login 192.168.1.1: missed cmd(s): show stack,show module,show flash,show version,show system-information,write term 192.168.1.1: End of run not found ; cvs diff: Diffing . cvs diff: Diffing configs cvs commit: Examining . cvs commit: Examining configs If i run hlogin from the command prompt i alos get an error: rancid at debian:~/var/logs$ hlogin 192.168.1.1 192.168.1.1 spawn hpuifilter -- 'ssh -c 3des -x -l rancid' 192.168.1.1 hpuifilter: execlp() failed: No such file or directory Error: Couldn't login Any Ideas? Thanks Mario. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20070921/7b213667/attachment.html From t at trey.net Fri Sep 21 14:42:31 2007 From: t at trey.net (Trey Valenta) Date: Fri, 21 Sep 2007 07:42:31 -0700 Subject: [rancid] Re: Perforce repository In-Reply-To: <20070920214413.8e114e4890519e5179c192e02d6bca26.1fc28cef14.wbe@email.secureserver.net> References: <20070920214413.8e114e4890519e5179c192e02d6bca26.1fc28cef14.wbe@email.secureserver.net> Message-ID: <20070921144231.GA11684@trey.net> On Thu, Sep 20, 2007 at 09:44:13PM -0700, Lance wrote: > Never had a use for it myself. Maybe others have and use it. I have > always stayed on the free side as much as possible and ran with KISS. > Just me. I imagine most people would indeed stick with CVS. My company uses Perforce already, and most are Windows-only people. By storing our Cisco configs in a depot on the main Perforce server, I know that anyone who needs to see old router configs can find them. trey -- Seattle, Wash. Are you pondering what I'm pondering? Umm, I think so, Brain, but what if the chicken won't wear the nylons? From cgauthie at pcc.edu Fri Sep 21 15:01:54 2007 From: cgauthie at pcc.edu (Chris Gauthier) Date: Fri, 21 Sep 2007 08:01:54 -0700 Subject: [rancid] Re: SSH not working with HP Procurve Switches In-Reply-To: <1190374567.4000.3.camel@localhost> References: <1190374567.4000.3.camel@localhost> Message-ID: <46F3DCE2.3070405@pcc.edu> I am not sure about your specific HP switch, but Foundry Networks is HP's OEM. Foundry does not fully implement SSH on their own switches. I can use PuTTY to SSH into a Foundry switch, but cannot use any other features of SSH to exact any form of control or command usage. However, you should be able to use SNMP easily or telnet. I wish Foundry supported SSH better. Chris Gauthier, CCNA, Network+, A+ Network Administration Team Portland Community College Portland, Oregon "For once you have tasted flight you will walk the earth with your eyes turned skywards, for there you have been and there you will long to return." --Leonardo da Vinci mario wrote: > Hi > i have enabled "add method 192.168.1.1 ssh" in the .cloginrc file. > > When i run rancid-run to connect to the switch i get the following > error in the log file: > > Getting missed routers: round 4. > 192.168.1.1 clogin error: Error: Couldn't login > 192.168.1.1: missed cmd(s): show stack,show module,show flash,show > version,show system-information,write term > 192.168.1.1: End of run not found > ; > > cvs diff: Diffing . > cvs diff: Diffing configs > cvs commit: Examining . > cvs commit: Examining configs > > > > If i run hlogin from the command prompt i alos get an error: > > rancid at debian:~/var/logs$ hlogin 192.168.1.1 > 192.168.1.1 > spawn hpuifilter -- 'ssh -c 3des -x -l rancid' 192.168.1.1 > hpuifilter: execlp() failed: No such file or directory > > Error: Couldn't login > > > > Any Ideas? > > Thanks Mario. > > ------------------------------------------------------------------------ > > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at shrubbery.net > http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20070921/4c9f84e6/attachment.html From heas at shrubbery.net Fri Sep 21 15:35:12 2007 From: heas at shrubbery.net (john heasley) Date: Fri, 21 Sep 2007 15:35:12 +0000 Subject: [rancid] Re: SSH not working with HP Procurve Switches In-Reply-To: <1190374567.4000.3.camel@localhost> References: <1190374567.4000.3.camel@localhost> Message-ID: <20070921153512.GA29437@shrubbery.net> Fri, Sep 21, 2007 at 12:36:07PM +0100, mario: > Hi > i have enabled "add method 192.168.1.1 ssh" in the .cloginrc file. > > When i run rancid-run to connect to the switch i get the following error > in the log file: > > Getting missed routers: round 4. > 192.168.1.1 clogin error: Error: Couldn't login > 192.168.1.1: missed cmd(s): show stack,show module,show flash,show > version,show system-information,write term > 192.168.1.1: End of run not found > ; > > cvs diff: Diffing . > cvs diff: Diffing configs > cvs commit: Examining . > cvs commit: Examining configs > > > > If i run hlogin from the command prompt i alos get an error: > > rancid at debian:~/var/logs$ hlogin 192.168.1.1 > 192.168.1.1 > spawn hpuifilter -- 'ssh -c 3des -x -l rancid' 192.168.1.1 > hpuifilter: execlp() failed: No such file or directory > > Error: Couldn't login > > > > Any Ideas? what version of rancid? what o/s? please try 2.3.2a7 From thecomputerking at gmail.com Fri Sep 21 21:08:00 2007 From: thecomputerking at gmail.com (Riley Tompkins) Date: Fri, 21 Sep 2007 17:08:00 -0400 Subject: [rancid] Fwd: Re: SSH not working with HP Procurve Switches In-Reply-To: <337a72540709211407g72287b1dn2b8c1e914b3dbd4c@mail.gmail.com> References: <1190374567.4000.3.camel@localhost> <20070921153512.GA29437@shrubbery.net> <337a72540709211407g72287b1dn2b8c1e914b3dbd4c@mail.gmail.com> Message-ID: <337a72540709211408j2f56be6va10b17e24dfe7503@mail.gmail.com> Have you su 'd into the user that rancid is using to make the ssh connection and accepted the RSA key? i.e [root at localhost~]su - rancid [rancid at localhost~] ssh 192.168.1.1 The authenticity of host 'ssh-server.example.com (192.168.1.1)' can't be established. RSA key fingerprint is 98:2e:d7:e0:de:9f:ac:67:28:c2:42:2d:37:16:58:4d. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.1.1' (RSA) to the list of known hosts. On 9/21/07, john heasley wrote: > Fri, Sep 21, 2007 at 12:36:07PM +0100, mario: > > Hi > > i have enabled "add method 192.168.1.1 ssh" in the .cloginrc file. > > > > When i run rancid-run to connect to the switch i get the following error > > in the log file: > > > > Getting missed routers: round 4. > > 192.168.1.1 clogin error: Error: Couldn't login > > 192.168.1.1: missed cmd(s): show stack,show module,show flash,show > > version,show system-information,write term > > 192.168.1.1: End of run not found > > ; > > > > cvs diff: Diffing . > > cvs diff: Diffing configs > > cvs commit: Examining . > > cvs commit: Examining configs > > > > > > > > If i run hlogin from the command prompt i alos get an error: > > > > rancid at debian:~/var/logs$ hlogin 192.168.1.1 > > 192.168.1.1 > > spawn hpuifilter -- 'ssh -c 3des -x -l rancid' 192.168.1.1 > > hpuifilter: execlp() failed: No such file or directory > > > > Error: Couldn't login > > > > > > > > Any Ideas? > > what version of rancid? what o/s? please try 2.3.2a7 > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at shrubbery.net > http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss > From heas at shrubbery.net Fri Sep 21 23:13:37 2007 From: heas at shrubbery.net (john heasley) Date: Fri, 21 Sep 2007 23:13:37 +0000 Subject: [rancid] Re: Fwd: Re: SSH not working with HP Procurve Switches In-Reply-To: <337a72540709211408j2f56be6va10b17e24dfe7503@mail.gmail.com> References: <1190374567.4000.3.camel@localhost> <20070921153512.GA29437@shrubbery.net> <337a72540709211407g72287b1dn2b8c1e914b3dbd4c@mail.gmail.com> <337a72540709211408j2f56be6va10b17e24dfe7503@mail.gmail.com> Message-ID: <20070921231337.GA2930@shrubbery.net> Fri, Sep 21, 2007 at 05:08:00PM -0400, Riley Tompkins: > Have you su 'd into the user that rancid is using to make the ssh > connection and accepted the RSA key? the login scripts should do that for you. From mario.carassale at sohonet.co.uk Tue Sep 25 13:02:23 2007 From: mario.carassale at sohonet.co.uk (mario) Date: Tue, 25 Sep 2007 14:02:23 +0100 Subject: [rancid] Juniper command line issue Message-ID: <1190725343.23372.4.camel@localhost> Hi, i am trying to backup a juniper 5gt box but i am having some issues with the jlogin script. The 'set cli complete-on-space' command which is part of the script seems not to run, and not being part of this type of juniper box. Also, if i use the jlogin -c 'get config' i got an error saying that the configuration is trunked, i believe this is due to the fact that the screen waits for user input as the configurations are more than one page long. Any ideas? Mario -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20070925/4da1f0e4/attachment.html From mashcraft at omniture.com Tue Sep 25 16:09:42 2007 From: mashcraft at omniture.com (Mike Ashcraft) Date: Tue, 25 Sep 2007 10:09:42 -0600 Subject: [rancid] Re: Juniper command line issue In-Reply-To: <1190725343.23372.4.camel@localhost> References: <1190725343.23372.4.camel@localhost> Message-ID: <45EB285310B55542A513F93230F0A53301EEE066@EXCHANGE0.orm.omniture.com> Mario, This sounds like a Juniper Networks NetScreen-5GT. Have you tried setting it up as a netscreen? Mike ________________________________ From: rancid-discuss-bounces at shrubbery.net [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of mario Sent: Tuesday, September 25, 2007 7:02 AM To: rancid-discuss at shrubbery.net Subject: [rancid] Juniper command line issue Hi, i am trying to backup a juniper 5gt box but i am having some issues with the jlogin script. The 'set cli complete-on-space' command which is part of the script seems not to run, and not being part of this type of juniper box. Also, if i use the jlogin -c 'get config' i got an error saying that the configuration is trunked, i believe this is due to the fact that the screen waits for user input as the configurations are more than one page long. Any ideas? Mario From pwohlers at gmail.com Tue Sep 25 15:28:29 2007 From: pwohlers at gmail.com (Peter Wohlers) Date: Tue, 25 Sep 2007 08:28:29 -0700 Subject: [rancid] Re: Force10 S-50 Message-ID: <3a7cbd0b0709250828xe5124d7i78968775fcfa0a88@mail.gmail.com> > john heasley heas at shrubbery.net > Thu Aug 10 07:29:36 UTC 2006 > > Previous message: [rancid] Re: Got Rancid working, now what? > Next message: [rancid] Motorola BSR 64000 support > Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] ________________________________ I worked with a user some time ago to try to fix collection problems with > their Force10 S-50. Apparently there was a change to the UI from earlier > s/w releases. > > Anyway, I do not have a Force10 and that user never replied to tell me > whether this fixed the problem for them. I'd appreciate if someone could > test this change with an S series, whether or not its collection currently > fails. > > tia. > Hi- I've got a few S-50's and a new rancid installation (working nicely, thanks!). The patch didn't really seem to change the behavior of the backup. It seems to only read 4k of the config and stops. The patch you provided didn't seem to change the behavior. The diff email has all the config but truncates thusly: + interface 1/0/38 + exit + + + int \ No newline at end of file The logs don't seem to divulge much. I'd certainly be willing to help work through this. Thanks, Peter From mario.carassale at sohonet.co.uk Fri Sep 28 08:51:44 2007 From: mario.carassale at sohonet.co.uk (mario) Date: Fri, 28 Sep 2007 09:51:44 +0100 Subject: [rancid] RANCID Email Notification Message-ID: <1190969504.25283.2.camel@localhost> Hi Guys, i am having problems in setting up the email notification in RANCID. I did what the README file suggest to do but it doens't work. Any help? I receive this error: /home/rancid//etc/rancid.conf: line 67: rancid-Juniper:: command not found /home/rancid//etc/rancid.conf: line 68: rancid-admin-Juniper:: command not found Thanks MARIO. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20070928/77c353ff/attachment.html From mashcraft at omniture.com Fri Sep 28 15:28:50 2007 From: mashcraft at omniture.com (Mike Ashcraft) Date: Fri, 28 Sep 2007 09:28:50 -0600 Subject: [rancid] Re: RANCID Email Notification In-Reply-To: <1190969504.25283.2.camel@localhost> References: <1190969504.25283.2.camel@localhost> Message-ID: <45EB285310B55542A513F93230F0A53301EEE581@EXCHANGE0.orm.omniture.com> Mario, Looks like an error on lines 67 and 68 of /home/rancid/etc/rancid.conf. You should be able to enter every line in this file in order at a shell prompt without generating an error. I suggest you check the documentation again. If you still can't find an answer, please provide more details. Thanks, Mike ________________________________ From: rancid-discuss-bounces at shrubbery.net [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of mario Sent: Friday, September 28, 2007 2:52 AM To: rancid-discuss at shrubbery.net Subject: [rancid] RANCID Email Notification Hi Guys, i am having problems in setting up the email notification in RANCID. I did what the README file suggest to do but it doens't work. Any help? I receive this error: /home/rancid//etc/rancid.conf: line 67: rancid-Juniper:: command not found /home/rancid//etc/rancid.conf: line 68: rancid-admin-Juniper:: command not found Thanks MARIO. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20070928/4c83486f/attachment.html From James.Munroe at gnb.ca Fri Sep 28 17:22:23 2007 From: James.Munroe at gnb.ca (Munroe, James (DSS/MAS)) Date: Fri, 28 Sep 2007 14:22:23 -0300 Subject: [rancid] I'm sure someone has come across this before - running nlogin -x and the remote Netscreen expects a prompt Message-ID: Hello, I'm sure someone has come across this before. We're using RANCID Basically I'm running nlogin -x no_ospf.txt The no_ospf.txt file contains: unset vrouter trust-vr protocol ospf save exit However, on the Netscreen itself, it prompts you whether or not you want to disable ospf: deleting OSPF instance, are you sure? y/[n] Does anyone know how-to structure the command-file to get around this? Thank You, Jim Munroe -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20070928/c746a70e/attachment.html From john at sackheads.org Fri Sep 28 20:05:54 2007 From: john at sackheads.org (John Payne) Date: Fri, 28 Sep 2007 16:05:54 -0400 Subject: [rancid] Re: Perforce repository In-Reply-To: <20070921001758.GA3294@trey.net> References: <20070921001758.GA3294@trey.net> Message-ID: <171BD6A8-5170-48C3-B7D3-B2659E883322@sackheads.org> On Sep 20, 2007, at 8:17 PM, Trey Valenta wrote: > I've been working on a patch to version 2.3.2a7 so that I can store my > Cisco configs in Perforce. Has anyone already done this? If not, would > anyone else be interested in having this feature? vote++