Re: [rancid] Fortigate OSPF MD5 key again

2017-11-28 Thread heasley
> ProcessHistory("ENC","","","#$1 ENC $4\n"); > next; > } > - # filter ospf md5-keys > - if (/^(\s*set)\smd5-key\s(.)\s(.*)/ && $filter_osc) { > - ProcessHistory(""

Re: [rancid] Support for Ciena

2017-11-22 Thread heasley
Wed, Nov 22, 2017 at 09:43:43PM +, Will Lampen: > I have several different models of ciena switches and wanted to know if there > is some official support of someone has created the scripting to support this > Vendor. ciena waveserver support is in 3.7.

Re: [rancid] Issue with custom ports

2017-12-15 Thread heasley
Fri, Dec 15, 2017 at 03:45:54PM +, Craig Hopkins: > Hi, > > I've tried adding > > add method HOST {ssh:60022} > > to my config, but it's still connecting to HOST on port 22. Is there > something special to this flag? > > Running rancid 3.6.2 which device type? does clogin -m HOST display

Re: [rancid] DELL PowerConnect 70xx Watts Status

2017-12-05 Thread heasley
Mon, Dec 04, 2017 at 01:52:20PM -0500, Gerhard Mourani: > Hello, > > Sorry for the delay, here the output, thanks. > > EliteStack7024#show system > > System Description: Dell Ethernet Switch > System Up Time: 60 days, 06h:26m:08s > System Contact: x...@xxx.xx > System Name: EliteStack7024 >

Re: [rancid] Logging in with ssh keys vs username passwords

2017-12-05 Thread heasley
Tue, Dec 05, 2017 at 10:50:54PM +, Remsik,Robert: > Hello! > > > I've got a couple network devices that support either username/password OR > sshkeys, but not both, for management access. Is there a way to have rancid > use an ssh key in the .clogit file or another way to > > > I'm

Re: [rancid] rancid 3.7 and HP 1910-8G - can't get rancid to work with that router

2017-12-11 Thread heasley
Mon, Dec 11, 2017 at 02:51:27PM +, Eichhorn, Thomas: > Hello, > > I'm new to rancid and don't know, how to solve my problem. Maybe someone can > help me. > > I did setup rancid 3.7. Everything works quite well so far except for some > routers. > > We've got a HP 1910-8G and I can't find a

Re: [rancid] clogin adding 'exit' command?

2018-05-04 Thread heasley
Thu, May 03, 2018 at 06:39:55PM +0100, Howard Jones: > Aha, thanks! That's much neater than my bodge (make an f5login and > remove the conditional for send quit/exit). > > For anyone else, heasley's clogin patch above, plus this new type got me > going: great. i'll commit it if i dont find any

Re: [rancid] Cisco CPU goes crazy

2018-05-04 Thread heasley
Fri, May 04, 2018 at 11:00:02AM -0400, Gerhard Mourani: > How to know which command causes it with rancid ? try each of the commands rancid uses. rancid -t cisco -C ___ Rancid-discuss mailing list Rancid-discuss@shrubbery.net

Re: [rancid] clogin adding 'exit' command?

2018-05-04 Thread heasley
Fri, May 04, 2018 at 07:52:28PM +0100, Howard Jones: > On 3 May 2018 at 18:39, Howard Jones wrote: > > Aha, thanks! That's much neater than my bodge (make an f5login and > > remove the conditional for send quit/exit). > > > > For anyone else, heasley's clogin patch above, plus

Re: [rancid] Cisco CPU goes crazy

2018-05-04 Thread heasley
Fri, May 04, 2018 at 09:51:54AM -0400, Gerhard Mourani: > Hello, > > Rancid version is 3.7 on Linux. > > When Rancid logs on to the Cisco switches listed bellow, the CPU goes crazy > for a few seconds which causes some processes like OSPF to converge. suppose you're hitting a IOS bug.

Re: [rancid] Couple of very general questions.

2018-05-17 Thread heasley
Fri, May 18, 2018 at 09:31:21AM +0800, James Andrewartha: > On 18/05/18 05:53, heasley wrote: > >> The other option we're looking at is Extreme. I see that it is managed by > >> the standard clogin (according to the Rancid docs) and just wondered if > >>

Re: [rancid] Couple of very general questions.

2018-05-17 Thread heasley
Thu, May 17, 2018 at 07:28:28PM +, Chris Davis: > We are looking at jumping off our current switch platform for a number of > annoying reasons and are considering a couple of options for replacement. I > use Rancid pretty heavily and I wondered if I could get some feedback on how > Rancid

Re: [rancid] Rancid and Netgear switches

2018-05-16 Thread heasley
Wed, May 16, 2018 at 05:08:04PM +, o...@leferguson.com: > > Looks a lot like a Ubiquiti EdgeMAX so presumably Ubiquiti and Netgear are > > buying the design from the same place. > > You're in luck: > > # edgemax.pm - Ubiquity ("UBNT") EdgeMAX switch rancid procedures > > > > Real close but

Re: [rancid] Cisco SB: Disable AAA-I-CONNECT: User CLI session for user cisco over ssh

2018-06-11 Thread heasley
Mon, Jun 11, 2018 at 01:15:32PM +0100, Alex DEKKER: > On 11/06/18 12:02, Kevin Olbrich wrote: > > > > *How can I disable "AAA-I-CONNECT: User CLI session for user cisco > > over ssh..."?* > > This periodically is printed when rancid receives the configuration, > > resulting in a new (useless)

Re: [rancid] Support for newer cisco ASA - iOS Version 9.8(2)

2018-06-08 Thread heasley
Thu, Jun 07, 2018 at 11:25:14AM +, Andy D'Arcy Jewell: > Hi all, > > > First time poster here. Apologies if I breach any protocols unintentionally. > > > We have a number of ASAs running "Cisco Adaptive Security Appliance Software > Version 9.8(2)" which were failing to back up with

Re: [rancid] RANCID with ALU/Nokia 7750 SAR TiMOS

2018-06-14 Thread heasley
Mon, Jun 11, 2018 at 08:16:00PM +, IT-Info: > Hi Heasley, > > Is Alpha considered stable? When is its official released planned? Yes, I consider it stable, except for sros-md and vrp device types, which are new and need more testing. Hadn't planned a release, but it is time.

Re: [rancid] RANCID with ALU/Nokia 7750 SAR TiMOS

2018-06-11 Thread heasley
Mon, Jun 11, 2018 at 06:35:15PM +, IT-Info: > Hi Folks, > > Does RANCID support the backing up of ALU/Nokia 7750 devices, or any > ALU/Nokia devices at that? This one in particular is running TiMOS-C-13.0.R4. yes; take the current alpha tarball.

[rancid] Cisco FX-OS / Firepower

2018-05-31 Thread heasley
The alpha version of rancid now has Cisco FX-OS/Firepower support. I am not sure how stable it is ATM, since my access to one is limited and about to cease. And, his is an odd O/S - YMMV. report issues to rancid-discuss@. ___ Rancid-discuss mailing

Re: [rancid] Rancid for Cumulus

2018-06-06 Thread heasley
Wed, Jun 06, 2018 at 07:52:46AM +0200, Tore Anderson: > * Kasper Adel > > > When yoy say its Linux, do you mean that rancid is mot needed? > > > > I’d like to think that rancid can capture configs of multiple files, is > > that not possible today? Is there any other tool that comes to mind? >

Re: [rancid] Upgrade 3.1 ->3.7

2018-06-06 Thread heasley
Wed, Jun 06, 2018 at 07:15:15PM +, Michael T. Voity: > Hello, > > After reading the UPGRADE, this seem pretty straight forward and I should > not have any issues. > > I also have ViewVc 1.1.23. Anyone see any issues? correct; if you use the same config args just install over top.

Re: [rancid] Cloginrc file is not working

2018-05-29 Thread heasley
Tue, May 29, 2018 at 02:06:02AM +, Piegorsch, Weylin William: > I notice your .cloginrc defines “user1” as the login username, but rancid is > trying with username “rancid” - is it possible there might be another > matching definition higher in the .cloginrc file, with different credentials?

Re: [rancid] Router Config diffs

2018-05-31 Thread heasley
Thu, May 31, 2018 at 12:19:25PM +0800, Nanda Kumar Arumugam: > I am receiving a mail for particular customer, is that anything i need to > update in the CVS file. > > > Index: configs/ 1x.1x.1x.1x > > === > > retrieving revision

Re: [rancid] stopping command from being run

2018-06-25 Thread heasley
Mon, Jun 25, 2018 at 02:10:56PM +, Michael T. Voity: > Hello, > > Anyone have an idea that they can point me in a direction? > > Thanks, > > -Mike > > > -- > Michael T. Voity > Network Engineer > University of Vermont > > > From: Rancid-discuss On Behalf Of > Michael T. Voity >

Re: [rancid] stopping command from being run

2018-06-27 Thread heasley
Wed, Jun 27, 2018 at 03:35:59PM +0300, Vacheslav: > Thank you very much for your insight. The 9ks have been bugging me for a > long time with the little of use flash log and now it's gone thanks to you. > But I added the cisco-nx9k to rancid.types.base and did not modify > rancid.types.conf and

Re: [rancid] Problem rancid 3.7 config with cmw routers

2018-06-27 Thread heasley
Wed, Jun 27, 2018 at 01:37:20PM +0200, Service Informatique CH DECIZE: > Hello, > Could someone help us to identify the cause of our rancid problem, and help > us to resolve it ? > Thank you in advance. > Yann. I have told you how to fix it; please re-read the past email. > 2018-06-25 11:32

Re: [rancid] clogin adding 'exit' command?

2018-05-03 Thread heasley
Thu, May 03, 2018 at 05:05:27PM +0100, Howard Jones: > I'm updating an old F5 loadbalancer script to work with BIG-IP 13.1 - > it seems that since the last time I needed to use it, F5 have changed > to starting users in tmsh instead of bash, so the command list needed > to be tweaked. That's all

Re: [rancid] is there scripts for 3com router

2017-12-27 Thread heasley
r installations until sometime 1999 - 2002). But, it can’t hurt to > check, maybe we can restore rancid’s service to some of them at least. > > weylin > > -Original Message- > From: heasley <h...@shrubbery.net> > Date: Monday, October 30, 2017 at 04:32 > To:

Re: [rancid] Nexus 9K support in RANCiD 3.7

2017-12-29 Thread heasley
next if (/BufferMonitor-1HourData/); > - if (/ log\/$/) { > + if (/[_ ]logs?\/$/) { > # change > # 8192Jan 08 14:05:05 2015 log/ > # to > > There's also a problem with a constantly fluctuating memory size value, but I > haven't

Re: [rancid] Nexus 9K support in RANCiD 3.7

2017-12-29 Thread heasley
Fri, Dec 29, 2017 at 11:00:36PM +, Charles T. Brooks: > I like your patch better! You might want to normalize the style in the > previous line while you're in there - "&& next" instead of "next if". I'm > not a perl guru, though. It is not the same as the other lines. this code block

Re: [rancid] ASA-5585 Enable mode

2017-12-31 Thread heasley
Thu, Dec 28, 2017 at 06:42:46PM -0800, Azher: > Hi All, > > Our current Cisco ASA devices "ASA5550" , 8.4(7)30, work fine with RANCID. > > Same config does not work for ASA-5585, 9.8(1). I am not sure why it is > sending "admin" twice and later it sends "enable" at the prompt Any >

Re: [rancid] Prompt detection eats exit, clean run not found

2018-01-05 Thread heasley
Fri, Jan 05, 2018 at 09:40:28AM -0600, Brandon Ewing: > It appears that several modules for rancid rely on non-prompt exits from > specific commands (IE, "end" at the end of WriteTerm) to ensure that the > "exit" string is available for inloop to detect to mark a clean run. > > Devices that do

Re: [rancid] Enterasys Switches help

2018-01-04 Thread heasley
Thu, Jan 04, 2018 at 01:38:15PM -0800, Azher: > Hi Heasley, > > [rancid@rancid ~]$ rivrancid -d -t enterasys cal-7100-1 > executing rivlogin -t 90 -c"system show uptime;system show version;system > show hardware;system show active-config" cal-7100-1 > cal-7100-1: misse

Re: [rancid] Enterasys Switches help

2018-01-05 Thread heasley
how system hardware > > -Azher > > > > On Thu, Jan 4, 2018 at 3:19 PM, heasley <h...@shrubbery.net> wrote: > > > Thu, Jan 04, 2018 at 01:38:15PM -0800, Azher: > > > Hi Heasley, > > > > > > [rancid@rancid ~]$ rivrancid -d -t enterasys cal-7100-1

Re: [rancid] Howto setup Rancid with Git on Debian?

2018-01-11 Thread heasley
Thu, Jan 11, 2018 at 12:37:54PM +, shouldbe q931: > On Thu, Jan 11, 2018 at 11:02 AM, ACS Solutions Network > wrote: > > Hello folks, > > > > > > > > i’ve searched the web, this list, contents in the package etc. but didn’t > > find any up to date information on how to

Re: [rancid] does dancid support chinese switches?

2018-01-26 Thread heasley
Fri, Jan 26, 2018 at 11:03:05AM +0300, Vacheslav: > Health be upon you, > model name: DCS-3650-8C I've never seen one and it is not clear who the manufacturer is. But, it might; try it. Based on the behavior of the CLI, try the device type that most closely resembles the device.

Re: [rancid] Howto setup Rancid with Git on Debian?

2018-01-11 Thread heasley
Thu, Jan 11, 2018 at 03:20:20PM +, Gauthier, Chris: > As for the Git part, rancid uses a local git server that it creates the > folder structure for. Each rancid group is its gets own Git repo. The key > is really the rancid config file. Set RCSSYS=”git” and it will do the heavy >

Re: [rancid] problem with new Aruba/HP 2920

2018-02-02 Thread heasley
Sat, Jan 27, 2018 at 12:15:11PM -0500, Doug Hughes: > Further oddness: > [rancid@services bin]$ ls -l hpuifilter > -rwxr-xr-x 1 rancid rancid 26908 Jan 27 10:53 hpuifilter > [rancid@services bin]$ ls -l ../download/rancid-3.7/bin/hpuifilter > -rwxrwxr-x 1 rancid rancid 27068 Jan 27 10:51 >

Re: [rancid] problem with new Aruba/HP 2920

2018-01-27 Thread heasley
Sat, Jan 27, 2018 at 10:57:56AM -0500, Doug Hughes: > got a new HP/Aruba 2920 to replace an old failed 2910al (POE power > supply failure - very common).. Weird thing is, hlogin doesn't work on > it. I get an EOF right after trying to send enable and it tries to match > the many stupid formatting

Re: [rancid] Juniper switches and firewall

2018-02-05 Thread heasley
Mon, Feb 05, 2018 at 06:43:23PM +, Andrew Meyer: > Touched the file.  Still getting the errors. are you sure the error(s) are the same? share them. > On Monday, February 5, 2018 11:29 AM, heasley <h...@shrubbery.net> wrote: > > > Mon, Feb 05, 2018 at 05:04:31PM

Re: [rancid] Juniper switches and firewall

2018-02-05 Thread heasley
Mon, Feb 05, 2018 at 05:04:31PM +, Nick Hilliard: > this looks like a bug in the freebsd package - rancid.types.conf is not > included. This isn't terminal though. > > You have two options: > > > 1. touch /usr/local/etc/rancid/rancid.types.conf > > 2. wget -O

Re: [rancid] Juniper switches and firewall

2018-02-05 Thread heasley
Mon, Feb 05, 2018 at 08:03:55PM +, Andrew Meyer: > Sorry about that: > > Getting missed routers: round 4. > juniper-srx: missed cmd(s): all commands > juniper-srx: End of run not found > juniper-srx jlogin error: Error: Couldn't login self explanatory > # > ERROR: F5 configuration appears

Re: [rancid] Fortiweb 400C 5.82

2018-02-20 Thread heasley
)"? Gate "* "? gate=yes re=yes expect: set expect_out(0,string) "Fortiweb01 $ " expect: set expect_out(1,string) "Fortiweb01 $ " expect: set expect_out(spawn_id) "exp3" expect: set expect_out(buffer) "Fortiweb01 $ " so, what is timing-out?

Re: [rancid] OTP/2-factor authentication

2018-02-20 Thread heasley
Tue, Feb 20, 2018 at 09:34:32PM +, Wayne Eisenberg: > I did some searching, and I'm pretty sure I already know the answer, but has > anyone had any success with rancid and 2-factor authentication such as OKTA > (time-based OTP)? > > Any workarounds? how would it work? I'm probably being

Re: [rancid] Making variant of cisco ios

2018-02-20 Thread heasley
Tue, Feb 20, 2018 at 05:37:52PM +, Charles T. Brooks: > I have some old cisco ACE devices and have been backing them up with rancid > using the normal "cisco" module. > > I want to add some commands like "show ft group summary" for example, and > have the output of those commands show up in

Re: [rancid] Rancid Login to device with wrong username and password

2018-02-24 Thread heasley
Sat, Feb 24, 2018 at 10:15:33AM +, Sathish Kumar. Ippani: > > Dear All, > > I have recently installed Rancid and I added device. > > But when I testing clogin to a cisco device it is login to device rancid > user, where I have configured deferent username(cisco) to login to cisco >

Re: [rancid] Role Privileges for Nexus 9k

2018-02-22 Thread heasley
Wed, Feb 07, 2018 at 11:05:19AM -0800, Pico Leto: > Hi, > > I seem to be having some troubles backing up my configs for a ASR9k > (C93108TC-EX) running NXOS 7.0.3.I4.4. My current version of rancid is 3.7 > > I thought I created the correct role for rancid to run under however my > debug seems

Re: [rancid] Brocade VDX

2018-02-22 Thread heasley
Tue, Feb 06, 2018 at 08:14:35PM +, Andrew Meyer: > I have 4 Brocade VDX 6740 switches that I am trying to add to RANCiD. Has > anyone gotten these to work? I'm trying to write documentation so I can > repeat this in the future. > > This is what I have found so far. But I'm running this

Re: [rancid] OTP/2-factor authentication

2018-02-21 Thread 'heasley'
t a large > rollout of a change, etc. > > Thanks. ie: management a thought is that an oauth2-like system might work - but thats just another form of password expiration. > -Original Message- > From: heasley [mailto:h...@shrubbery.net] > Sent: Tuesday, February 20, 2018 5:25 PM

Re: [rancid] Enterasys Switches help

2018-01-02 Thread heasley
Thu, Dec 28, 2017 at 06:08:57PM -0800, Azher: > Hi Chris, > > I added following lines in the "rancid.types.base " otherwise there is just > a reference of enterasys to rivrancid. > > enterasys;script;xrancid > enterasys;login;xlogin > enterasys;command;enterasys::ShowVersion;show version >

Re: [rancid] ASA-5585 Enable mode

2018-01-02 Thread heasley
exp_continue } - -re "Last login:" { - exp_continue - } -re "Press the key \[^\r\n]+\[\r\n]+" { exp_continue

Re: [rancid] Coriant Groove platform support

2018-01-02 Thread heasley
Tue, Jan 02, 2018 at 05:09:18PM +0800, Jimmy Lim: > Hi Nick, > > Happy new year! Thanks for your update. I have just built the custom rancid > script for that and it works fine. Let me know whether Coriant support is > going to be incorporated in future release or not. Thanks again. Happy to

Re: [rancid] Rate-limiting connections through one host?

2018-02-26 Thread heasley
Mon, Feb 26, 2018 at 08:55:05PM +, Howard Jones: > On 26/02/2018 18:21, heasley wrote: > > > > reduce the number of concurrent connections in /rancid.conf. > > Thanks! I didn't know /rancid.conf was a thing! it is in 3.something

Re: [rancid] Problem rancid 3.7 config with cmw routers

2018-06-21 Thread heasley
Thu, Jun 21, 2018 at 12:27:37PM +0200, Service Informatique CH DECIZE: > Hello, > > I have made a rancid 3.7 installation on a Ubuntu 18.04 LTS machine. > I have followed the jrbinks indications -> > https://sites.google.com/site/jrbinks/code/rancid/cmwrancid > My tests are ok with a cisco router

Re: [rancid] Fortigate additional tweaks and device filters

2018-08-01 Thread heasley
Sent: Tuesday, July 31, 2018 23:18 > To: rancid-discuss@shrubbery.net > Subject: Re: [rancid] Fortigate additional tweaks and device filters > > > > > On 7/31/2018 5:14 PM, heasley wrote: > > Fri, Jul 27, 2018 at 08:02:28AM -0500, Chris Wopat: > > Hi Heasley a

Re: [rancid] Fortigate additional tweaks and device filters

2018-08-02 Thread heasley
Thu, Aug 02, 2018 at 09:25:30AM -0500, Chris Wopat: > > Wed, Aug 01, 2018 at 08:37:03AM +, Nick Nauwelaerts: > >> hm, > >> i actually like to have those versions in the output. if something breaks > >> my first reaction tends to be: "what changed?", and rancid is usually the > >> first place

Re: [rancid] Unable to Conduct Cisco Wireless Controller Backup

2018-07-26 Thread heasley
Thu, Jul 26, 2018 at 09:20:42PM +, Piegorsch, Weylin William: > I should note that using the NOPIPE=yes thing causes the "controller wlogin > error: Error: Connection closed (ssh): controller" message that I show below. > If I omit the NOPIPE environment variable on the CLI, I get the

Re: [rancid] Unable to Conduct Cisco Wireless Controller Backup

2018-07-27 Thread heasley
ystem Up Time... 97 days 17 hrs 26 mins > 34 secs > System Timezone Location. (GMT -5:00) Eastern > Time (US and Canada) > System Stats Realtime Interval... 5 > System Stats Normal Interval

Re: [rancid] is there scripts for 3com router

2018-07-27 Thread heasley
d smc;login;hlogin and that works properly. you would add a definition similar this to etc/rancid.type.conf for your own v2-like (or v3) script. see the manpage. > [rancid@nsgv-prod-59 ~]$ > > > -Original Message- > From: heasley > Sent: Wednesday, December 27, 2

Re: [rancid] xilogin, stuck on system-view

2018-07-27 Thread heasley
Thu, Jul 26, 2018 at 01:34:06AM +, james Di Trapani: > Hi All, > > > Using latest version of Rancid and xilogin to connect to Huawei AR169's, when > trying to pass the command 'system-view' it appears that xilogin gets stuck > and cannot interpret the prompt changing from '>' to ']', has

Re: [rancid] Juniper CLI prompts out of sync causing frequent changes

2018-07-27 Thread heasley
= > retrieving revision 1.274 > diff -u -4 -r1.274 r-platteville-hub > @@ -1,7 +1,8 @@ > #RANCID-CONTENT-TYPE: juniper > # > # r-platteville-hub> show chassis clocks > + # show chassis environment > # r-platteville-hub> show chassis environment >

Re: [rancid] Juniper CLI prompts out of sync causing frequent changes

2018-07-31 Thread heasley
hassis firmware;show chassis fpc detail' hostname 2> output > --Chris > > > > On Fri, Jul 27, 2018 at 12:00 PM, heasley wrote: > > > Fri, Jul 27, 2018 at 08:18:08AM -0500, Chris Wopat: > > > Hi folks, > > > > > > Last year I commented

Re: [rancid] Fortigate additional tweaks and device filters

2018-07-31 Thread heasley
Fri, Jul 27, 2018 at 08:02:28AM -0500, Chris Wopat: > Hi Heasley and folks, > > Sept 2017 i sent a note in with some proposed tweaks to a Fortigate. to > filter out some additional chattiness, see: > > http://www.shrubbery.net/pipermail/rancid-discuss/2017-September/

Re: [rancid] Fortigate additional tweaks and device filters

2018-08-03 Thread heasley
> > -Original Message- > From: Rancid-discuss [mailto:rancid-discuss-boun...@shrubbery.net] On Behalf > Of heasley > Sent: Friday, August 3, 2018 00:16 > To: Chris Wopat > Cc: rancid-discuss@shrubbery.net > Subject: Re: [rancid] Fortigate additional tweaks and

Re: [rancid] Ciena Waveserver 1.6 - fluctuating power values + other improvement suggestions

2018-08-03 Thread heasley
Fri, Aug 03, 2018 at 11:29:03AM -0500, Chris Wopat: > We recently upgraded some Ciena Waveservers to v1.6, Ciena added power draw > info to the output of "show chassis". That value fluctuates a lot, causing > diffs on most rancid-runs. looking to see the best method to filter it out. > > Attached

Re: [rancid] Help Using git with RANCID

2018-08-16 Thread heasley
Wed, Aug 15, 2018 at 08:17:28PM +, Ryan Melville: > Hi, > > I have tried my darndest to git RANCID working with a remote git server based > on the few web articles and forum threads, but am still missing something. > Assistance would be appreciated. > > rancid.conf > LIST_OF_GROUPS="all"

Re: [rancid] [patch] fluctuating data from cisco-nx

2018-08-18 Thread heasley
Fri, Aug 17, 2018 at 10:16:51PM +0300, Pavel Korovin: > Dear all, > > There are several issues with fluctuating data received from Cisco Nexus > platform (55xx, 77xx): > > * accounting logs filenames are named as accounting_log, > accounting_log.0, etc. These filenames are not filtered out

Re: [rancid] clogin adding 'exit' command?

2018-08-25 Thread heasley
though without ^H), so the cmds_regexp never matches. Changing the > TERM line to "screen-w" in bigip.pm resolves it. > what version are you running? the TERM was changed to vt100-w in rancid 3.3. > > > On 8 May 2018 at 16:20, heasley wrote: > > Tue, May 08, 2018 at 02:3

Re: [rancid] clogin adding 'exit' command?

2018-08-26 Thread heasley
Sun, Aug 26, 2018 at 09:36:54AM +0100, Howard Jones: > On Sat, 25 Aug 2018 at 23:43, heasley wrote: > > > Thu, Aug 23, 2018 at 12:32:38PM +0100, Howard Jones: > > > Reaping a thread, but I think I finally got this fixed now. The > > > bigip.pm overrides TERM wi

Re: [rancid] Rancid vs tac_plus for IOS XR

2018-08-26 Thread heasley
Sun, Aug 26, 2018 at 03:14:37AM +, Piegorsch, Weylin William: > aaa authorization exec default group TACACS_GROUP local > aaa authorization commands default group TACACS_GROUP > > I have this configured in tacacs_plus (among a bunch of other things, but > zero deny statements): > > but I’m

Re: [rancid] clogin adding 'exit' command?

2018-08-28 Thread heasley
Tue, Aug 28, 2018 at 11:21:04AM +0100, Howard Jones: > On 26 August 2018 at 20:47, heasley wrote: > > Sun, Aug 26, 2018 at 09:36:54AM +0100, Howard Jones: > >> On Sat, 25 Aug 2018 at 23:43, heasley wrote: > >> > >> > what version are you running? th

Re: [rancid] Backup Extreme switches

2018-08-28 Thread heasley
Tue, Aug 28, 2018 at 07:07:46PM +0100, Nick Hilliard: > Peltokangas Mikko wrote on 28/08/2018 15:55: > > Hey, I have Extreme switches from x200 and x460-series. Cant get any > > backup from those. > > Is there anyone who fights with same problem? > > make sure the configuration has been saved on

Re: [rancid] clogin adding 'exit' command?

2018-08-28 Thread heasley
Tue, Aug 28, 2018 at 04:58:54PM +0100, Howard Jones: > On 28 August 2018 at 14:48, heasley wrote: > > > > ah, its been changed in the big-ip <= v10.x script, not the >=11.x script. > > Would you test changing this to vt100-w? > > No, vt100-w doesn't work with

Re: [rancid] clogin adding 'exit' command?

2018-08-28 Thread heasley
ers; width. i was hoping that would fix the problem. if you're sure you're using the 3.8 clogin, then apparently it doesnt fix it. > So the plot thickens. > > I'll investigate a bit more tomorrow. > > On 28 August 2018 at 18:37, heasley wrote: > > Tue, Aug 28, 2018 at 04:58:

Re: [rancid] Login to Dell N3048p switch

2018-08-22 Thread heasley
Tue, Aug 21, 2018 at 12:26:23PM -0400, Technology Support: > I got Rancid 3.8 up and running and I am able to get email alerts. It works > well with Cisco switch. > However, our core switches are Dell N3048p. > I tried many combinations in the router.db file like the below > >

Re: [rancid] backing up ubiquiti edgerouter

2018-07-20 Thread heasley
Fri, Jul 20, 2018 at 10:19:38AM +0100, Craig Hopkins: > Hi all, > > Does anybody know the syntax for cloginrc and router.db for edgerouters? > > I've tried various permutations and either: > - it won't log in because there isn't an enable password > - if I set autoenable to 1, it will log in but

Re: [rancid] Username sent after login

2018-07-20 Thread heasley
Wed, Jul 18, 2018 at 06:18:44PM +, Marles, Rob: > Thanks Dan > > I was asking because I had searched and kept seeing articles that were close, > but not quite the same. > > Your hint allowed me to find the post > http://www.shrubbery.net/pipermail/rancid-discuss/2018-June/010255.html > >

Re: [rancid] backing up ubiquiti edgerouter

2018-07-20 Thread heasley
Fri, Jul 20, 2018 at 04:53:09PM +0100, Alex DEKKER: > On 20/07/18 15:22, Craig Hopkins wrote: > > > > > > That's only part of it, though. I still need the right .cloginrc > > commands. If I use ulogin, then: > > > > $ ulogin MYDEVICE > > MYDEVICE > > spawn ssh -x -l ubnt MYDEVICE > > Welcome to

Re: [rancid] Backup nothing: Dell Force10 MXL Switches

2018-07-17 Thread heasley
Tue, Jul 17, 2018 at 04:21:58PM -0400, Chenyu Lee - NOAA Affiliate: > rancid version: 3.7 > > I can run *dllogin* to the switch. > > $ ./dllogin > > spawn ssh -c aes128-ctr -x -l rancid-check > rancid-check@'s password: > FTOS# > FTOS# > > > But it backed up nothing for the two

Re: [rancid] Weird commands on Cisco ASA

2018-08-30 Thread heasley
Thu, Aug 30, 2018 at 08:14:35PM +, Michael T. Voity: > Hello, > > I have a firewall that has not been updated by rancid for a few days. > > Upon investigation I did some testing from the server found this - > > Looks like it is adding the command 'rancid' after it logs in. > > This is my

Re: [rancid] Rancid and Brocade 6510

2018-09-07 Thread heasley
Wed, Sep 05, 2018 at 01:37:23PM +, Vivien FRENOT: > Hello, > > We are deploying Rancid to backup the configuration of our switches, but I'm > having issues with Brocade 6510. I've seen in 'rancid.types.base' a Brocad > entry that may do the job, but, there's no module for it. > > # Brocade

Re: [rancid] Which cypertype should use to connect to Cisco and Fortinet devices ?

2018-03-10 Thread heasley
Sat, Mar 10, 2018 at 04:52:37AM +, Piegorsch, Weylin William: > Have you tried specifying all the cyphertypes your system support? I > manually ran the command ssh -vvv and read the (incredibly > plentiful) output to find what my system was offering; then, I just specified > all of them

Re: [rancid] New Cisco ASA Login Failure

2018-03-06 Thread heasley
Tue, Mar 06, 2018 at 02:36:37PM +, o...@leferguson.com: > I just got hit by this also on a 5506-x. I turned off the login history for > now, but I saw back in January a proposed patch, did that work out? (I > guess I could try it, but it's always nice to know if it worked, and if it >

Re: [rancid] Questions about sub ProcessHistory

2018-04-05 Thread heasley
Thu, Apr 05, 2018 at 08:18:57PM +, Gauthier, Chris: > That helps, but does not completely help me understand what values are > "valid" in the 3rd arg. I couldn't quite figure it out from the code. I > tried. I looked at the man page, different sections of the source, but it's > just not

Re: [rancid] Questions about sub ProcessHistory

2018-04-05 Thread heasley
Thu, Apr 05, 2018 at 05:55:57PM +, Gauthier, Chris: > I’m trying to get my Aruba Instant access points to be backed up by rancid > and I’m using the module developed by miken32, but it really doesn’t support > a lot of the Aruba stuff that I have. I’m trying to add a few extra > functions

Re: [rancid] Questions about sub ProcessHistory

2018-04-05 Thread heasley
> you received this e-mail in error, please delete it from your system and > notify sender. > -Original Message- > From: heasley <h...@shrubbery.net> > Date: Thursday, April 5, 2018 at 1:58 PM > To: "Gauthier, Chris" <cgauth...@comscore.com> > Cc: hea

Re: [rancid] RANCID-Permission denied, please try again.

2018-04-08 Thread heasley
Sun, Apr 08, 2018 at 06:46:26PM +, Sathish Kumar. Ippani: > > Hi All, > > I have recently installed Rancid and added device. But when I try run > ""/usr/local/rancid/bin/clogin"" I am getting Permission denied, please try > again and Error: Check your passwd. > But I am able to ssh same

Re: [rancid] fortigate fnlogin problem (and a workaround)

2018-04-05 Thread heasley
Thu, Apr 05, 2018 at 11:00:30AM +0200, Ak Sn: > Hi > > I had the same error. See the message > http://www.shrubbery.net/pipermail/rancid-discuss/2018-April/010180.html > from heasly > rancid 3.7 and the changed fnlogin file from 3.99 works perfect in my setup! > >

Re: [rancid] Error when trying to back up a JunOS device, SRX100

2018-04-21 Thread Heasley
Sat, Apr 21, 2018 at 10:48:42AM +, Lauri Haveri: > Hello, > > I just wanted to tell that little over one week ago I was able to fix this > error by using an account that had admin-rights. The ones I used previously > were root-account and read-only account. the root account typically

Re: [rancid] Error when trying to back up a JunOS device, SRX100

2018-04-25 Thread Heasley
the following output: "hlogin -t 90 -c '' DEVICENAME. > > Am I doing it wrong? Sorry; thats my fault; hp still uses the rancid 2.x method; so, hrancid -C hostname. > BR, > Lauri > > -Original Message- > From: Heasley <h...@shrubbery.net> > Sent:

[rancid] Hauwei VRP

2018-03-28 Thread heasley
It is incomplete, but we‘ve added support for Hauwei VRP-based devices. It can be found in the current alpha image or the svn repo. Again, incomplete, but welcome feedback from folks. ___ Rancid-discuss mailing list Rancid-discuss@shrubbery.net

[rancid] Cisco FirePower / FX-OS information needed

2018-03-26 Thread heasley
FX-OS is somewhat different from IOS* and ASA. In trying to write a rancid module for it, I'm having trouble find access to one or a complete example of a config. So, if anyone has a Cisco FirePower (FX-OS) devie, not the FirePower s/w module that is supported on some ASAs, that they could allow

Re: [rancid] Fortigate Cluster uptime

2018-03-29 Thread heasley
Wed, Mar 28, 2018 at 02:51:38PM +, Chris Davis: > Just ran into this as well when I upgraded my clusters. I was wondering if > this change has been added to the distribution. Probably be a good time for > me to upgrade Rancid if it has been. > it is in 3.7.

[rancid] fortigate login

2018-04-03 Thread heasley
A user recently reported a problem with fnlogin to a Fortigate device. While they have reported the changes to fnlogin are working for them, I'd welcome confirmation from other users. The problem was primarily in the initial prompt matching.

Re: [rancid] hash key triggers cvs

2018-03-19 Thread heasley
Mon, Mar 19, 2018 at 09:41:06AM +, marktpl 97: > Hi, > > The config I download with rancid 3.6 works just fine. One thing is > bugging me. > > The config contains a line like this : server host 192.168.1.1 key > "b2d85dfa2c6950184c35b6647b5c7a" > The hash changes every time you check the

Re: [rancid] Error when trying to back up a JunOS device, SRX100

2018-03-21 Thread Heasley
> Am 21.03.2018 um 20:43 schrieb Lauri Haveri > : > > Hello all, > > I am setting up a test enviroment on Ubuntu 16.04 before Rancid will go to a > production enviroment. > > Everytime I run Rancid I get the following error: > > “Use of uninitialized

Re: [rancid] Error when trying to back up a JunOS device, SRX100

2018-03-22 Thread heasley
Thu, Mar 22, 2018 at 04:02:43PM +, Lauri Haveri: > Hello again and thanks for the answers! > > My device happens to be SRX100b and version of the Rancid is 3.3. > > I got from “apt-get install rancid cvs” Please install rancid 3/7. It is available here: ftp://ftp.shrubbery.net/pub/ranciD

Re: [rancid] signing key?

2018-03-24 Thread heasley
.7.tar.gz > gpg: Signature made Wed, Mar 7, 2018 7:32:42 PM EST > gpg:using RSA key 0x4B2BDD527A774C09 > gpg: Can't check signature: public key not found > > $ gpg --search-keys h...@shrubbery.net > gpg: searching for "h...@shrubbery.net" from

Re: [rancid] New Cisco ASA Login Failure

2018-03-05 Thread heasley
Mon, Mar 05, 2018 at 02:48:56PM +, Piegorsch, Weylin William: > Hello, > > I have a Cisco ASA 5506X device I just deployed (running 9.8(2)20 version), > that rancid’s not logging into properly. Clogincrc is set to method {telnet > ssh} because there’s a plethora of really really old

Re: [rancid] Sonicwall: clogin sends password after first login?

2018-03-02 Thread heasley
is native now, btw. I think it might need a tweak or two for some devices that I did not have access to. > Sent from my android device. > > -Original Message- > From: Kevin Geil <kg...@orda.org> > To: heasley <h...@shrubbery.net>, "doug.hug...@keystonenap.c

Re: [rancid] How to configure rancid for stacked switches ?

2018-03-01 Thread heasley
Thu, Mar 01, 2018 at 01:09:44PM -0500, doug.hug...@keystonenap.com: > try hrancid -d -t hp > > Then we'd be able to tell a little more about what's going on. and what version of rancid. what model switch. etc. > -Original Message- > From: "DELOISON, Clement" > To:

  1   2   >