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
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-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.

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] 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-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] 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] 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-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-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] 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] 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] 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] 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] 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] 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] 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] 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] stopping command from being run

2018-06-28 Thread 'heasley'
Thu, Jun 28, 2018 at 08:48:07AM +0300, Vacheslav: > Well I didn't figure out how to edit the .conf, so I'll just reedit IT on > upgrade :) vi? emacs? ed? sed? its the same format as .base and in the same directory. ___ Rancid-discuss mailing list

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

2018-10-12 Thread heasley
Fri, Oct 12, 2018 at 03:36:20PM +, Piegorsch, Weylin William: > ...with the exception of “if (!$clean_run || !$found_end)”. For some reason > I don’t understand, I keep getting “End of run not found”. I’ve attached .raw > and .new files following an execution of “NOPIPE=YES rancid -d -t

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

2018-10-12 Thread heasley
Fri, Oct 12, 2018 at 03:36:20PM +, Piegorsch, Weylin William: > send -h "exit\r" > > I changed that line to ' send -h "logout\r" ', and now I'm getting a > clean logout. Wlogin from 3.8 seems to fix this from reading through > wlogin.in (I couldn't fudge things to get wlogin-3.8 to

Re: [rancid] error after migrating to new server

2018-10-16 Thread heasley
Tue, Oct 16, 2018 at 03:06:53PM +, Andrew Meyer: > Is this a perl/python or something else command?  I think I found the package > in Amazon Linux. its a command that comes with rancid. my guess is one of - you copied rancid from another machine and missed it - the pre-built package you

Re: [rancid] FortiGate - config fetch ends prematurely - hash-mark in config file

2018-10-18 Thread heasley
Wed, Oct 17, 2018 at 04:36:35AM +, Ni Ne: > Noticed that a full config backup of some of our FortiGates have been failing > due to a hash-mark (#) present in the configuration itself. FortiGates let > you add comments to nearly any objects. The comment field is free-form, best > I can tell,

Re: [rancid] rancid - show password in configs

2018-10-18 Thread heasley
Thu, Oct 18, 2018 at 07:55:19AM +, Ra'ed Habib | TAWASOL: > Hello there, > > We have been using rancid to backup our switches and it has been amazing so > far, but the issue is that anywhere a password or a smtp community it appears > as "", is there anyway to show the actual password in

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

2018-10-18 Thread heasley
Thu, Oct 18, 2018 at 03:17:56AM +, Piegorsch, Weylin William: > Thanks. I just tried, and got the same "end of run not found." Then I > realized I wasn’t merely cutting/pasting from one location to another, but > also the specific logout text test changed; once I updated to what you >

Re: [rancid] router config diffs

2018-10-19 Thread heasley
Fri, Oct 19, 2018 at 05:54:48AM +, Wayne Eisenberg: > I just upgraded from 3.1 to 3.8, and all of a sudden I am getting emails > every time there is a change in the config - 'router config diff' emails. I > must have tweaked something in the previous version so that I wasn't getting > them

Re: [rancid] router config diffs

2018-10-21 Thread heasley
t; > > > I'm also noticing a .cvsignore file in the 'configs' folder in WebSVN. Not > > sure why that is there or if I should care. It wasn't there before the > > upgrade. its also used for svn > > Thanks, > > Wayne > > > > > > -Original Me

Re: [rancid] Rancid not updating

2018-10-17 Thread heasley
Wed, Oct 17, 2018 at 02:40:50PM +, Larry Larsen: > I agree with your analysis on refused, host key and time outs. I was going > to work on them one by one as it went along. Hopefully someone knows > something about CVS. that is addressed in the rancid FAQ.

Re: [rancid] clogin commenting script commands following multiple blanks lines

2018-10-24 Thread heasley
Sat, Sep 29, 2018 at 03:19:00PM -0700, Erik Muller: > So here's an odd thing I just ran across. Running clogin with a script with > multiple blank lines has some very unexpected behaviour. It looks like it's > turning \n\n into \n;, with the net effect of commenting out any command that >

Re: [rancid] clogin commenting script commands following multiple blanks lines

2018-10-24 Thread heasley
Wed, Oct 24, 2018 at 04:43:41PM -0400, Erik Muller: > On 10/24/18 13:28 , heasley wrote: > > Sat, Sep 29, 2018 at 03:19:00PM -0700, Erik Muller: > >> So here's an odd thing I just ran across. Running clogin with a script > >> with multiple blank lines has som

Re: [rancid] clogin commenting script commands following multiple blanks lines

2018-10-24 Thread heasley
Wed, Oct 24, 2018 at 09:19:31PM +, heasley: > I missed that in your example, but noticed it in testing...after I sent that > patch. This is my final patch, i think. I havent committed it yet, as I > want to review it once more. ok; committed. Either the alpha tarball or the

Re: [rancid] Problem rancid 3.7 after cmw / hp 5130 routers 5130 firmware upgrade

2018-10-31 Thread heasley
help. > > > Le mer. 31 oct. 2018 à 08:44, Service Informatique CH DECIZE < > serv.informatique@gmail.com> a écrit : > > > We use cmw device type (before and after upgrade)... > > No modification in the rancid config. Just routers firmware upgrade. > >

Re: [rancid] router config diffs

2018-10-25 Thread heasley
Thu, Oct 25, 2018 at 04:33:45PM -0400, Lee: > On 10/25/18, heasley wrote: > > Thu, Oct 25, 2018 at 04:46:48AM +, Wayne Eisenberg: > >> > I'd go with changing control_rancid. Search for > >> > > >> > # Mail out the diffs (if there are any). > &g

Re: [rancid] clogin commenting script commands following multiple blanks lines

2018-10-25 Thread Heasley
> Am 25.10.2018 um 12:53 schrieb Erik Muller : > >> On 10/24/18 18:32 , heasley wrote: >> Wed, Oct 24, 2018 at 09:19:31PM +, heasley: >>> I missed that in your example, but noticed it in testing...after I sent that >>> patch. This is my final patch,

Re: [rancid] paloalto feedback in current alpha [was: Re: clogin commenting script commands following multiple blanks lines]

2018-11-05 Thread heasley
Fri, Oct 26, 2018 at 06:24:10PM -0400, Erik Muller: > On 10/24/18 18:32 , heasley wrote: > > Wed, Oct 24, 2018 at 09:19:31PM +, heasley: > > ok; committed. Either the alpha tarball or the svn repo. Welcome testers, > > esp for palo alto, of which I have none. > &

Re: [rancid] Ubiquiti edgeswitch (edgemax) script?

2018-11-06 Thread heasley
Tue, Nov 06, 2018 at 06:13:18PM +, Kevin Geil: > Hi, I'm trying to get RANCID to poll my ubiquiti edge switches, and am a bit > perplexed. From what I've found online in other mailing lists, it is > possible to use RANCID to poll these, using the edgemax script. So far, I've > set up the

Re: [rancid] Simple web-frontend for rancid files?

2018-10-10 Thread heasley
Wed, Oct 10, 2018 at 11:30:54AM -0400, Eric W. Bates: > - add a post-commit hook to the repository on RANCiD such that it pushes > to gitlab: that should not be necessary, if the remote is added to the origin. http://www.shrubbery.net/pipermail/rancid-discuss/2018-August/010348.html

Re: [rancid] RANCID and gitweb - preventing the CVS repo path from showing

2018-10-10 Thread heasley
Tue, Oct 02, 2018 at 12:04:01AM +, Aaron Wasserott: > Upgraded my old RANCID software to the latest, and switched from CVS to git. > I also installed gitweb as the WebUI interface for browsing RANCID files. > > One minor annoyance I ran into was not only was every group folder being >

Re: [rancid] Run secondary login / collection script for entries in router.db? Anyone doing something like this?

2018-10-06 Thread heasley
Tue, Oct 02, 2018 at 06:15:20PM +, Ni Ne: > I am curious to see the effort behind having the default configuration backup > contain only the device configuration, and push other things like file > system, interface status, inventory, etc, into a separate file. The main > reason is I want to

Re: [rancid] Need to Add "Show Version" CMD

2018-08-30 Thread heasley
Thu, Aug 30, 2018 at 04:54:52PM +0530, Devesh Singh: > Hello team, > Can you please help/guide me to add "Show Version" CMD in rancid > for Cisco ASA Firewall, while taking the backup. show version is collected by default. ___ Rancid-discuss

Re: [rancid] Backup Extreme switches

2018-08-31 Thread heasley
y sharing that output. > -- > -m > > Lähettäjä: Nick Hilliard > Lähetetty: 28. elokuuta 2018 22:58 > Vastaanottaja: heasley > Kopio: Peltokangas Mikko; rancid-discuss@shrubbery.net > Aihe: Re: [rancid] Backup Extreme switches > > heasley wrote on 28/08/2018 19:54: >

  1   2   >