From troopy at suisse.com Sat Dec 1 19:42:04 2007 From: troopy at suisse.com (Troopy .) Date: Sat, 1 Dec 2007 20:42:04 +0100 Subject: [rancid] rancid translation Message-ID: <200712012042.AA327858@suisse.com> Hello, We are looking for people who could help us to transalte our rancid tutorial in any languages. http://openmaniak.com/rancid.php Contact us if your are interested. Thanks Troopy ______________________________________________________ D?sirez vous une adresse ?l?ctronique @suisse.com? Visitez la Suisse virtuelle sur http://www.suisse.com ______________________________________________________ D?sirez vous une adresse ?l?ctronique @suisse.com? Visitez la Suisse virtuelle sur http://www.suisse.com From mloveley at plus.net Mon Dec 3 11:52:12 2007 From: mloveley at plus.net (Mark Loveley) Date: Mon, 3 Dec 2007 11:52:12 +0000 Subject: [rancid] Re: problem collecting config from ERX E320 ver 7.3.2 In-Reply-To: References: Message-ID: On 27 Nov 2007, at 15:08, Yuval Ben Ari wrote: > Trying to get all of the configs. > erx_name clogin error: Error: Connection closed (telnet): erx_name > erx_name: missed cmd(s): show environment all,show > configuration,show redundancy,show version,show hardware,show boot,dir > erx_name: End of run not found Hi Yuval http://www.shrubbery.net/pipermail/rancid-discuss/2007-October/ 002491.html details the changes I had to make to get the jerancid working on version 7 and later junose code. This happened as the format of show env changed between code releases. HTH -- | Mark Loveley Broadband Solutions for | Network Engineer home and business | PlusNet PLC @www.plus.net | Registered Office: Internet House, 2 Tenter Street, Sheffield, S1 4BY | Registered in England no: 3279013 + ------------ PlusNet - The smarter way to broadband ----------------+ From NPabon at archstonesmith.com Sat Dec 8 00:43:59 2007 From: NPabon at archstonesmith.com (Pabon, Nestor) Date: Fri, 7 Dec 2007 17:43:59 -0700 Subject: [rancid] configuring clogin for tacacs loging Message-ID: <58B7A531794E6A49B3BAD57E333225440280D1C7@engexc11.archstonesmith.com> I have read the manual but I'n still confised. We have our routers' authentication handled via tacacs. Upon login the following is requested: Username: Password: Then we get the following promt: Routername> Here I enter "en" Then I get prompted for a password How do I configure this, and how do I have this script call a hostlist with all the routers? Thank you in advance for your help. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20071207/a01c8e14/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 13134 bytes Desc: image001.jpg Url : http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20071207/a01c8e14/attachment.jpe From yuval.ben.ari at gmail.com Sun Dec 9 17:14:03 2007 From: yuval.ben.ari at gmail.com (Yuval Ben Ari) Date: Sun, 9 Dec 2007 19:14:03 +0200 Subject: [rancid] Re: problem collecting config from ERX E320 ver 7.3.2 In-Reply-To: References: Message-ID: Thanks, after applying your patch it started to work. I have now some false diffs problem that I saw some other posting about and I will need to check. Yuval On Dec 3, 2007 1:52 PM, Mark Loveley wrote: > On 27 Nov 2007, at 15:08, Yuval Ben Ari wrote: > > Trying to get all of the configs. > > erx_name clogin error: Error: Connection closed (telnet): erx_name > > erx_name: missed cmd(s): show environment all,show > > configuration,show redundancy,show version,show hardware,show boot,dir > > erx_name: End of run not found > > Hi Yuval > > http://www.shrubbery.net/pipermail/rancid-discuss/2007-October/ > 002491.html > details the changes I had to make to get the jerancid working on > version 7 and later junose code. > > This happened as the format of show env changed between code releases. > > HTH > -- > | Mark Loveley Broadband Solutions for > | Network Engineer home and business > | PlusNet PLC @www.plus.net > | Registered Office: Internet House, 2 Tenter Street, Sheffield, S1 4BY > | Registered in England no: 3279013 > + ------------ PlusNet - The smarter way to broadband ----------------+ > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20071209/3ca2ea90/attachment.html From yuval.ben.ari at gmail.com Sun Dec 9 17:18:25 2007 From: yuval.ben.ari at gmail.com (Yuval Ben Ari) Date: Sun, 9 Dec 2007 19:18:25 +0200 Subject: [rancid] Re: configuring clogin for tacacs loging In-Reply-To: <58B7A531794E6A49B3BAD57E333225440280D1C7@engexc11.archstonesmith.com> References: <58B7A531794E6A49B3BAD57E333225440280D1C7@engexc11.archstonesmith.com> Message-ID: you need to configure your .cloginrc file with the VTY and enable passwords, the syntax should be on the top of the file commented. basically you need to add: add password if the username is differnet than the user running the script also add: add user then test it with: clogin for multiple routers just need to add one after the other in the router_name parameter. Explain what do you need the script to do for more details. Yuval On Dec 8, 2007 2:43 AM, Pabon, Nestor wrote: > I have read the manual but I'n still confised. > > > > We have our routers' authentication handled via tacacs. > > > > Upon login the following is requested: > > > > Username: > > Password: > > > > Then we get the following promt: > > > > Routername> > > > > Here I enter "en" > > > > Then I get prompted for a password > > > > How do I configure this, and how do I have this script call a hostlist > with all the routers? > > > > Thank you in advance for your help. > > > > [image: Signature] > > > > _______________________________________________ > 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/20071209/63010579/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 13134 bytes Desc: not available Url : http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20071209/63010579/attachment.jpe From Vasile.Balan at savvis.net Mon Dec 10 13:31:19 2007 From: Vasile.Balan at savvis.net (Balan, Vasile) Date: Mon, 10 Dec 2007 07:31:19 -0600 Subject: [rancid] Limit of Groups in RANCID Message-ID: <14EE55A99710DC409E09E0116C868C1E3AEA9E@sl6exchbe2.savvis.ad.savvis.net> Hi, We recently started to have problems were RANCID reports that it can't reach routers/switches from the entire group for more than 4 hours. However running .clogin shows no problem. Running rancid-run -r is OK too. To counteract the problem I've deleted the group then added it back and everything comes back to normal, until next group exhibits the same problem. This affected at least 5-6 groups already. I am deleting and adding the group every time to get it back into rotation, and then next group is affected. I am not quite sure what is wrong. Is there a limit on the number of groups or number of objects or something that could affect RANCID? Thanks Vasile Balan This message contains information which may be confidential and/or privileged. Unless you are the intended recipient (or authorized to receive for the intended recipient), you may not read, use, copy or disclose to anyone the message or any information contained in the message. If you have received the message in error, please advise the sender by reply e-mail and delete the message and any attachment(s) thereto without retaining any copies. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20071210/180decf5/attachment.html From heas at shrubbery.net Mon Dec 10 18:56:46 2007 From: heas at shrubbery.net (john heasley) Date: Mon, 10 Dec 2007 18:56:46 +0000 Subject: [rancid] Re: configuring clogin for tacacs loging In-Reply-To: References: <58B7A531794E6A49B3BAD57E333225440280D1C7@engexc11.archstonesmith.com> Message-ID: <20071210185646.GC10830@shrubbery.net> Sun, Dec 09, 2007 at 07:18:25PM +0200, Yuval Ben Ari: > you need to configure your .cloginrc file with the VTY and enable passwords, > the syntax should be on the top of the file commented. basically you need to > add: > > add password > > if the username is differnet than the user running the script also add: > add user fyi, the router name match is a glob, not a regex. string match pattern ... http://www.astro.princeton.edu/~rhl/Tcl-Tk_docs/tcl8.0a1/string.n.html From peter.serwe at gmail.com Tue Dec 18 02:09:15 2007 From: peter.serwe at gmail.com (Peter Serwe) Date: Mon, 17 Dec 2007 18:09:15 -0800 Subject: [rancid] Adtran devices? Message-ID: Anyone have any luck using rancid with Adtran (very IOS-like) devices? Peter From srau at rauhaus.org Tue Dec 18 17:12:57 2007 From: srau at rauhaus.org (Stafford A. Rau) Date: Tue, 18 Dec 2007 09:12:57 -0800 Subject: [rancid] Re: Adtran devices? In-Reply-To: References: Message-ID: <20071218171257.GG5321@rauhaus.org> * Peter Serwe [071217 19:14]: > Anyone have any luck using rancid with Adtran (very IOS-like) devices? Yep - I forget what model Adtran this is, but Rancid will pull the basic config without any modifications if you call it a Cisco. All the other extras are just "Unrecognized command". !RANCID-CONTENT-TYPE: cisco ! ! ! ! ! !Image: % Unrecognized command ! ! ! ! ! !BootFlash: % Unrecognized command ! !BootFlash: % Unrecognized command ! !BootFlash: % Unrecognized command ! !BootFlash: % Unrecognized command ! !Flash: 4520887 9950860-2A1003.biz !Flash: 4792383 9950860-2A1101.biz !Flash: 2410 startup-config !Flash: 2381 startup-config.bak !Flash: sec-slot2: % Unrecognized command ! !Flash: sec-disk2: % Unrecognized command ! ! !Slot 1: type T1 WAN Not, 1 ports !Slot 1: part Available, serial 1 ! !Modem: % Unrecognized command ! !% Unrecognized command ! !VTP: % Unrecognized command ! hostname "REDACTED" !enable password ! ip subnet-zero ip classless ip domain-name "REDACTED.net" ip name-server 111.111.111.111 222.222.222.222 ip routing ! event-history on etc... --Stafford From dale.shaw+rancid-discuss at gmail.com Wed Dec 19 01:23:50 2007 From: dale.shaw+rancid-discuss at gmail.com (Dale Shaw) Date: Wed, 19 Dec 2007 12:23:50 +1100 Subject: [rancid] RANCID script for Cisco WAE (ACNS, WAAS) Message-ID: <3329cbb40712181723t2f90afa0tf14766c21cc54ff3@mail.gmail.com> Hi all, After many years of knowing of its existence, I recently deployed RANCID for the first time. Rejoice etc. *cue potentially dumb question* Is anyone aware of a script for sucking useful info out of "IOS-like" Cisco WAE devices? We have both ACNS and WAAS software in the network. I did some searching but didn't manage to turn anything up. I can "clogin" to them fine, but there are many commands that don't work. If nothing already exists, could Someone Who Knows make a suggestion about which existing script is best hacked to do the job? cheers, Dale -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20071219/2fc42999/attachment.html From f.pecora at p3networking.com Wed Dec 19 01:46:12 2007 From: f.pecora at p3networking.com (frank Pecora) Date: Tue, 18 Dec 2007 20:46:12 -0500 Subject: [rancid] www.remarketCISCO.com /BUY & SELL CISCO In-Reply-To: <3329cbb40712181723t2f90afa0tf14766c21cc54ff3@mail.gmail.com> References: <3329cbb40712181723t2f90afa0tf14766c21cc54ff3@mail.gmail.com> Message-ID: Good afternoon, Our company has launched a new web platform enabling companies to remarket there network hardware or other IT assets quick and easy. Im sure most of you on this list have searched outlets for used or equipment that needed upgrades- via the internet. @ remarketCISCO.com you have a few options. We encourage you to pick up the phone and call BUT if your too busy; catch us on live chat or login and sent your questions via email. We are a large stocking vendor of New, used and refurbished Cisco Systems. Please take a peek at our site and let us know what we can do to help! Kind Regards, Frank Pecora P3 Systems Inc 1-585-406-1928 Rochester NY 14614 f.pecora at p3networking.com AOL IM: p3pecora www.p3networking.com www.remarketCISCO.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20071218/503f0ecb/attachment.html From randy at psg.com Wed Dec 19 01:45:55 2007 From: randy at psg.com (Randy Bush) Date: Wed, 19 Dec 2007 10:45:55 +0900 Subject: [rancid] Re: www.remarketCISCO.com /BUY & SELL CISCO In-Reply-To: References: <3329cbb40712181723t2f90afa0tf14766c21cc54ff3@mail.gmail.com> Message-ID: <476877D3.6070008@psg.com> no one with a clue would do business with folk so unethical as to spam. what part of foad do you not understand? randy From heas at shrubbery.net Wed Dec 19 01:50:03 2007 From: heas at shrubbery.net (john heasley) Date: Wed, 19 Dec 2007 01:50:03 +0000 Subject: [rancid] Re: www.remarketCISCO.com /BUY & SELL CISCO In-Reply-To: References: <3329cbb40712181723t2f90afa0tf14766c21cc54ff3@mail.gmail.com> Message-ID: <20071219015003.GM11139@shrubbery.net> Tue, Dec 18, 2007 at 08:46:12PM -0500, frank Pecora: > Good afternoon, > > Our company has launched a new web > platform enabling companies to remarket there network hardware or Would YOU do business with someone who doesn't know the difference between there, they're and their or your and you're? > other IT assets quick and easy. Im sure most of you on this list have > searched outlets for used or equipment that needed upgrades- via the > internet. @ remarketCISCO.com you have a few options. We encourage > you to pick up the phone and call BUT if your too busy; catch us on > live chat or login and sent your questions via email. We are a large > stocking vendor of New, used and refurbished Cisco Systems. Please > take a peek at our site and let us know what we can do to help! > > Kind Regards, > > Frank Pecora > P3 Systems Inc > 1-585-406-1928 > Rochester NY 14614 > f.pecora at p3networking.com > AOL IM: p3pecora > www.p3networking.com > www.remarketCISCO.com > > > > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at shrubbery.net > http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss From f.pecora at p3networking.com Wed Dec 19 02:00:30 2007 From: f.pecora at p3networking.com (frank Pecora) Date: Tue, 18 Dec 2007 21:00:30 -0500 Subject: [rancid] Re: www.remarketCISCO.com /BUY & SELL CISCO In-Reply-To: <47687A43.2080308@psg.com> References: <3329cbb40712181723t2f90afa0tf14766c21cc54ff3@mail.gmail.com> <476877D3.6070008@psg.com> <2BA03C88-2816-47DC-AA7F-BC44FC88F93B@p3networking.com> <47687A43.2080308@psg.com> Message-ID: <746E9F41-5277-4D09-A9FF-1EE36C49172D@p3networking.com> Randy, I am shock to see such candor! Look everyone... We have a real gentleman in the forum! On Dec 18, 2007, at 8:56 PM, Randy Bush wrote: >>> what part of foad do you not understand? > > foad means fuck off and die > > randy Frank Pecora P3 Rochester NY 14614 f.pecora at p3networking.com AOL IM: p3pecora www.p3networking.com www.remarketCISCO.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20071218/9e2f8d26/attachment.html From randy at psg.com Wed Dec 19 02:00:17 2007 From: randy at psg.com (Randy Bush) Date: Wed, 19 Dec 2007 11:00:17 +0900 Subject: [rancid] Re: www.remarketCISCO.com /BUY & SELL CISCO In-Reply-To: <746E9F41-5277-4D09-A9FF-1EE36C49172D@p3networking.com> References: <3329cbb40712181723t2f90afa0tf14766c21cc54ff3@mail.gmail.com> <476877D3.6070008@psg.com> <2BA03C88-2816-47DC-AA7F-BC44FC88F93B@p3networking.com> <47687A43.2080308@psg.com> <746E9F41-5277-4D09-A9FF-1EE36C49172D@p3networking.com> Message-ID: <47687B31.5050205@psg.com> next you can look up 'plonk' asshole From jbirdsall at gmail.com Wed Dec 19 02:05:27 2007 From: jbirdsall at gmail.com (Jack G Birdsall) Date: Tue, 18 Dec 2007 20:05:27 -0600 Subject: [rancid] Re: www.remarketCISCO.com /BUY & SELL CISCO In-Reply-To: <47687B31.5050205@psg.com> References: <3329cbb40712181723t2f90afa0tf14766c21cc54ff3@mail.gmail.com> <476877D3.6070008@psg.com> <2BA03C88-2816-47DC-AA7F-BC44FC88F93B@p3networking.com> <47687A43.2080308@psg.com> <746E9F41-5277-4D09-A9FF-1EE36C49172D@p3networking.com> <47687B31.5050205@psg.com> Message-ID: Agreed. Spam of this nature, no matter how benign, should never be presented in a forum such as this. End the senseless flames. On Dec 18, 2007 8:00 PM, Randy Bush wrote: > next you can look up 'plonk' asshole > _______________________________________________ > 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/20071218/c9f812d4/attachment.html From heas at shrubbery.net Wed Dec 19 04:40:17 2007 From: heas at shrubbery.net (john heasley) Date: Wed, 19 Dec 2007 04:40:17 +0000 Subject: [rancid] Re: RANCID script for Cisco WAE (ACNS, WAAS) In-Reply-To: <3329cbb40712181723t2f90afa0tf14766c21cc54ff3@mail.gmail.com> References: <3329cbb40712181723t2f90afa0tf14766c21cc54ff3@mail.gmail.com> Message-ID: <20071219044017.GT11139@shrubbery.net> Wed, Dec 19, 2007 at 12:23:50PM +1100, Dale Shaw: > Hi all, > > After many years of knowing of its existence, I recently deployed RANCID for > the first time. Rejoice etc. > > *cue potentially dumb question* > > Is anyone aware of a script for sucking useful info out of "IOS-like" Cisco > WAE devices? We have both ACNS and WAAS software in the network. > > I did some searching but didn't manage to turn anything up. I can "clogin" > to them fine, but there are many commands that don't work. > > If nothing already exists, could Someone Who Knows make a suggestion about > which existing script is best hacked to > do the job? My guess would be that this mostly closely resembes the agm device. see router.db(5). From justin at justinshore.com Wed Dec 19 14:16:54 2007 From: justin at justinshore.com (Justin Shore) Date: Wed, 19 Dec 2007 08:16:54 -0600 Subject: [rancid] Re: www.remarketCISCO.com /BUY & SELL CISCO In-Reply-To: <746E9F41-5277-4D09-A9FF-1EE36C49172D@p3networking.com> References: <3329cbb40712181723t2f90afa0tf14766c21cc54ff3@mail.gmail.com> <476877D3.6070008@psg.com> <2BA03C88-2816-47DC-AA7F-BC44FC88F93B@p3networking.com> <47687A43.2080308@psg.com> <746E9F41-5277-4D09-A9FF-1EE36C49172D@p3networking.com> Message-ID: <476927D6.3070500@justinshore.com> For what it's worth I concur with Randy's astute assessment. Welcome to my company blacklist, Mr Pecora. Justin frank Pecora wrote: > Randy, I am shock to see such candor! > > Look everyone... We have a real gentleman in the forum! > > > On Dec 18, 2007, at 8:56 PM, Randy Bush wrote: > >>>> what part of foad do you not understand? >> >> foad means fuck off and die >> >> randy > > Frank Pecora > P3 > Rochester NY 14614 > f.pecora at p3networking.com > AOL IM: p3pecora > www.p3networking.com > www.remarketCISCO.com > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at shrubbery.net > http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss From jlewis at lewis.org Wed Dec 19 14:48:53 2007 From: jlewis at lewis.org (Jon Lewis) Date: Wed, 19 Dec 2007 09:48:53 -0500 (EST) Subject: [rancid] Re: www.remarketCISCO.com /BUY & SELL CISCO In-Reply-To: <476927D6.3070500@justinshore.com> References: <3329cbb40712181723t2f90afa0tf14766c21cc54ff3@mail.gmail.com> <476877D3.6070008@psg.com> <2BA03C88-2816-47DC-AA7F-BC44FC88F93B@p3networking.com> <47687A43.2080308@psg.com> <746E9F41-5277-4D09-A9FF-1EE36C49172D@p3networking.com> <476927D6.3070500@justinshore.com> Message-ID: You guys have it all wrong. Email or call the guy (from a disposable address) and ask for a quote on a big order of high dollar gear. Then, when you get that quote "oh, I'm sorry, you spammed a technical mailing list. We don't do business with spammers. Now you can go foad." On Wed, 19 Dec 2007, Justin Shore wrote: > For what it's worth I concur with Randy's astute assessment. Welcome to > my company blacklist, Mr Pecora. > > Justin > > > frank Pecora wrote: >> Randy, I am shock to see such candor! >> >> Look everyone... We have a real gentleman in the forum! >> >> >> On Dec 18, 2007, at 8:56 PM, Randy Bush wrote: >> >>>>> what part of foad do you not understand? >>> >>> foad means fuck off and die >>> >>> randy >> >> Frank Pecora >> P3 >> Rochester NY 14614 >> f.pecora at p3networking.com >> AOL IM: p3pecora >> www.p3networking.com >> www.remarketCISCO.com >> >> >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Rancid-discuss mailing list >> Rancid-discuss at shrubbery.net >> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at shrubbery.net > http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss > ---------------------------------------------------------------------- Jon Lewis | I route Senior Network Engineer | therefore you are Atlantic Net | _________ http://www.lewis.org/~jlewis/pgp for PGP public key_________ From justin at justinshore.com Thu Dec 20 01:24:10 2007 From: justin at justinshore.com (Justin Shore) Date: Wed, 19 Dec 2007 19:24:10 -0600 Subject: [rancid] Setting $OLDTIME per RANCID group or device Message-ID: <4769C43A.6020708@justinshore.com> I have a need to define $OLDTIME (or disabling the feature) per group or individual device. I have a number of unreliable remote sites (owner residences, roving demo kits, etc) that are only up occasionally. I'd like to not get the alerts from RANCID for just those particular device or the RANCID group that the devices belong to. Is there an easy way to do this? If it helps, I poll individual groups with rancid-run rather than simply running rancid-run with no arguments. ie, 0 */1 * * * rancid-run abc 0 */1 * * * rancid-run def 0 */1 * * * rancid-run remote Can I simply define $OLDTIME on the CLI in my crontab on the specific crontab entries that need to be changed and then let the default OLDTIME in the config file take over to all the other entries? Thanks Justin From heas at shrubbery.net Thu Dec 20 01:50:26 2007 From: heas at shrubbery.net (john heasley) Date: Thu, 20 Dec 2007 01:50:26 +0000 Subject: [rancid] Re: Setting $OLDTIME per RANCID group or device In-Reply-To: <4769C43A.6020708@justinshore.com> References: <4769C43A.6020708@justinshore.com> Message-ID: <20071220015026.GI12334@shrubbery.net> Wed, Dec 19, 2007 at 07:24:10PM -0600, Justin Shore: > I have a need to define $OLDTIME (or disabling the feature) per group or > individual device. I have a number of unreliable remote sites (owner > residences, roving demo kits, etc) that are only up occasionally. I'd > like to not get the alerts from RANCID for just those particular device > or the RANCID group that the devices belong to. Is there an easy way to > do this? If it helps, I poll individual groups with rancid-run rather > than simply running rancid-run with no arguments. ie, > > 0 */1 * * * rancid-run abc > 0 */1 * * * rancid-run def > 0 */1 * * * rancid-run remote > > Can I simply define $OLDTIME on the CLI in my crontab on the specific > crontab entries that need to be changed and then let the default OLDTIME > in the config file take over to all the other entries? yes, if you change the definition in rancid.conf, if you use it, to something more like OLDTIME=${OLDTIME:-whatevervalueyouuse} From justin at justinshore.com Thu Dec 20 14:34:24 2007 From: justin at justinshore.com (Justin Shore) Date: Thu, 20 Dec 2007 08:34:24 -0600 Subject: [rancid] Re: Setting $OLDTIME per RANCID group or device In-Reply-To: <20071220015026.GI12334@shrubbery.net> References: <4769C43A.6020708@justinshore.com> <20071220015026.GI12334@shrubbery.net> Message-ID: <476A7D70.8010406@justinshore.com> john heasley wrote: > Wed, Dec 19, 2007 at 07:24:10PM -0600, Justin Shore: >> I have a need to define $OLDTIME (or disabling the feature) per group or >> individual device. I have a number of unreliable remote sites (owner >> residences, roving demo kits, etc) that are only up occasionally. I'd >> like to not get the alerts from RANCID for just those particular device >> or the RANCID group that the devices belong to. Is there an easy way to >> do this? If it helps, I poll individual groups with rancid-run rather >> than simply running rancid-run with no arguments. ie, >> >> 0 */1 * * * rancid-run abc >> 0 */1 * * * rancid-run def >> 0 */1 * * * rancid-run remote >> >> Can I simply define $OLDTIME on the CLI in my crontab on the specific >> crontab entries that need to be changed and then let the default OLDTIME >> in the config file take over to all the other entries? > > yes, if you change the definition in rancid.conf, if you use it, to > something more like > > OLDTIME=${OLDTIME:-whatevervalueyouuse} John, Thanks for the reply. I'm familiar with bash syntax to append to a variable (like PATH) but I can't think of any syntax to replace the value of a variable if the environment value has already been defined, except with a an if statement. Is that what you have above does? So I could modify my rancid.conf to read OLDTIME=${OLDTIME:4}; export OLDTIME That would give me a default value of 4 hours overall for the majority of my gear. Then, in my crontab I can do 0 */1 * * * rancid-run site-a 0 */1 * * * rancid-run site-b 0 */1 * * * export OLDTIME=99999999; rancid-run remote The lengthy time would effectively prevent OLDTIME from running for that one single RANCID group. Am I understanding what you're saying correctly? Thanks Justin From heas at shrubbery.net Thu Dec 20 18:16:44 2007 From: heas at shrubbery.net (john heasley) Date: Thu, 20 Dec 2007 18:16:44 +0000 Subject: [rancid] Re: Setting $OLDTIME per RANCID group or device In-Reply-To: <476A7D70.8010406@justinshore.com> References: <4769C43A.6020708@justinshore.com> <20071220015026.GI12334@shrubbery.net> <476A7D70.8010406@justinshore.com> Message-ID: <20071220181644.GE6743@shrubbery.net> Thu, Dec 20, 2007 at 08:34:24AM -0600, Justin Shore: > Thanks for the reply. I'm familiar with bash syntax to append to a > variable (like PATH) but I can't think of any syntax to replace the > value of a variable if the environment value has already been defined, > except with a an if statement. Is that what you have above does? > > So I could modify my rancid.conf to read > > OLDTIME=${OLDTIME:4}; export OLDTIME Sorry, I typo'd. I meant :=, which should provide the value 4 if the variable is not set. The point is, if you did not set it your environment as you've done below, it will set it. > That would give me a default value of 4 hours overall for the majority > of my gear. Then, in my crontab I can do > > 0 */1 * * * rancid-run site-a > 0 */1 * * * rancid-run site-b > 0 */1 * * * export OLDTIME=99999999; rancid-run remote > > The lengthy time would effectively prevent OLDTIME from running for that > one single RANCID group. Am I understanding what you're saying correctly? > > Thanks > Justin From justin at justinshore.com Thu Dec 20 19:06:14 2007 From: justin at justinshore.com (Justin Shore) Date: Thu, 20 Dec 2007 13:06:14 -0600 Subject: [rancid] Re: Setting $OLDTIME per RANCID group or device In-Reply-To: <20071220181644.GE6743@shrubbery.net> References: <4769C43A.6020708@justinshore.com> <20071220015026.GI12334@shrubbery.net> <476A7D70.8010406@justinshore.com> <20071220181644.GE6743@shrubbery.net> Message-ID: <476ABD26.4050500@justinshore.com> john heasley wrote: > Sorry, I typo'd. I meant :=, which should provide the value 4 if the > variable is not set. The point is, if you did not set it your environment > as you've done below, it will set it. I see. I thought the dash was eroneous so I omitted it. So I now have OLDTIME=${OLDTIME:=4}; export OLDTIME I'll give it a whirl. Thanks for the help. Justin From shane.haslem at eircomni.co.uk Mon Dec 24 07:15:31 2007 From: shane.haslem at eircomni.co.uk (Shane Haslem) Date: Mon, 24 Dec 2007 07:15:31 -0000 Subject: [rancid] Rancid troubleshooting Message-ID: Hi all, I am getting the following: Any ideas? Error: Couldn't login: nics066-ce01-2821 -sh-3.1$ /opt/rancid/bin/clogin nics082-ce01-2821 nics082-ce01-2821 spawn ssh -c 3des -x -l rancidaccess nics082-ce01-2821 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that the RSA host key has just been changed. The fingerprint for the RSA key sent by the remote host is ee:a1:54:7e:16:9d:f7:c9:ac:56:af:ad:7f:40:d7:56. Please contact your system administrator. Add correct host key in /opt/rancid/home/.ssh/known_hosts to get rid of this message. Offending key in /opt/rancid/home/.ssh/known_hosts:12 RSA host key for nics082-ce01-2821 has changed and you have requested strict checking. Host key verification failed. Error: The host key for nics082-ce01-2821 has changed. Update the SSH known_hosts file accordingly. Shane Haslem Eircom NI Alexandra House 283 Upper Newtownards Road Belfast BT4 3JH Phone: (+44) 02890 002135 Mob: (+44) 07791539378 The information contained in this e-mail and any files transmitted with it is confidential and may be subject to legal professional privilege. It is intended solely for the use of the addressee(s). If you are not the intended recipient of this e-mail, please note that any review, dissemination, disclosure, alteration, printing, copying or transmission of this e-mail and/or any file transmitted with it, is prohibited and may be unlawful. If you have received this e-mail by mistake, please promptly inform the sender by reply e-mail and delete the material. Whilst this e-mail message has been swept for the presence of computer viruses, eircom (UK) Limited does not, except as required by law, represent, warrant and/or guarantee that the integrity of this communication has been maintained nor that the communication is free of errors, viruses, interception or interference. eircom (UK) Limited. Private Company Limited by Shares. Registered in England and Wales. Registration Number 03478971. Registered Office - South Quay, Plaza 2, 183 Marsh Wall, London, E14 9SH. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20071224/207e1d78/attachment.html From arnold at nipper.de Mon Dec 24 11:38:00 2007 From: arnold at nipper.de (Arnold Nipper) Date: Mon, 24 Dec 2007 12:38:00 +0100 Subject: [rancid] Re: Rancid troubleshooting In-Reply-To: References: Message-ID: <476F9A18.2060409@nipper.de> On 24.12.2007 08:15 Shane Haslem wrote > Hi all, > > > > I am getting the following: > > > > Any ideas? > Check if nics082-ce01-2821 is really the device it ought to be. If so remove line 12 in /opt/rancid/home/.ssh/known_hosts and try again. > > > > > > > Error: Couldn't login: nics066-ce01-2821 > > -sh-3.1$ /opt/rancid/bin/clogin nics082-ce01-2821 > > nics082-ce01-2821 > > spawn ssh -c 3des -x -l rancidaccess nics082-ce01-2821 > > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > > @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ > > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > > IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! > > Someone could be eavesdropping on you right now (man-in-the-middle attack)! > > It is also possible that the RSA host key has just been changed. > > The fingerprint for the RSA key sent by the remote host is > > ee:a1:54:7e:16:9d:f7:c9:ac:56:af:ad:7f:40:d7:56. > > Please contact your system administrator. > > Add correct host key in /opt/rancid/home/.ssh/known_hosts to get rid of > this message. > > Offending key in /opt/rancid/home/.ssh/known_hosts:12 > > RSA host key for nics082-ce01-2821 has changed and you have requested > strict checking. > > Host key verification failed. > > > > Error: The host key for nics082-ce01-2821 has changed. Update the SSH > known_hosts file accordingly. > -- Arnold Nipper / nIPper consulting, Sandhausen, Germany email: arnold at nipper.de phone: +49 6224 9259 299 mobile: +49 172 2650958 fax: +49 6224 9259 333 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 187 bytes Desc: OpenPGP digital signature Url : http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20071224/8b70a504/attachment.bin