Re: [rancid] Notifications on Errors

2019-06-19 Thread john heasley
Wed, Jun 19, 2019 at 12:03:42PM +0100, Craig Hopkins: > Each one has a specific role. They don't duplicate. It is not the errors themselves that are sent to the admin list. it sends notification about devices added/removed (which is duplicated to the diff list in diff form of router.db) and when

Re: [rancid] Rancid running numerous times for each group? Getting ~40 config fetcher email alerts for same group in a night

2019-05-24 Thread john heasley
Fri, May 24, 2019 at 04:17:09PM +, Ni Ne: > Running ranicd 3.8 on CentOS 6.10, using git as the repo type. > > It appears rancid is running numerous times against the same group in a given > night - at least if config fetches fail. > > For instance, I have one group with some problematic

Re: [rancid] Restore a Palo Alto Firewall from a Rancid bacup

2019-07-05 Thread john heasley
Thu, Jul 04, 2019 at 08:23:51AM +, STUART WALTON: > Hi > > Has anyone used a backup from Rancid to restore a Palo Alto Firewall? > > If so how have you done it? (I have the backup but it does not appear to be > in the correct format) > > I have searched the discussion but cannot seem to

Re: [rancid] Palo Alto (Panorama) configuration

2019-07-10 Thread john heasley
Wed, Jul 10, 2019 at 11:53:42AM +1000, annie lee: > Hi All, > > Another question, just added a new PaloAlto to rancid (3.9) but not much > configurations being backup (not even interfaces addresses) > Anything need to be changed/added to backup the entire configuration ? > > 1.1.1.1;palo-alto;up

Re: [rancid] Palo Alto (Panorama) configuration

2019-07-11 Thread john heasley
ystem and > notify sender. > From: Rancid-discuss on behalf of > annie lee > Date: Wednesday, July 10, 2019 at 6:02 PM > To: john heasley > Cc: "rancid-discuss@shrubbery.net" > Subject: Re: [rancid] Palo Alto (Panorama) configuration > > i tried to grab th

Re: [rancid] Palo Alto (Panorama) configuration

2019-07-11 Thread john heasley
Thu, Jul 11, 2019 at 02:37:51PM +, Anderson, Charles R: > You can use "show config merged" to see the local device's config merged with > the templates from Panorama. Does this work with "non-managed" (better term?) configs? And, was this command introduced recently?

Re: [rancid] Extreme switch policy backup.

2019-07-12 Thread john heasley
Tue, Jul 09, 2019 at 09:55:56PM +, Chris Davis: > We've just gotten a few Extreme switches (model X440-G2) and I've gotten them > set up in Rancid. But while I get the configs, I have a few policies as > well. They're kept as .pol files on the switch. Is there a way to include > the

Re: [rancid] Extreme switch policy backup.

2019-07-12 Thread john heasley
hris' > E-mail at least I've been reminded of that. > > It wasn't a hard thing to add. > > On 12/07/2019 20:15, john heasley wrote: > > Tue, Jul 09, 2019 at 09:55:56PM +, Chris Davis: > >> We've just gotten a few Extreme switches (model X440-G2) and I've gotten

Re: [rancid] Unable to figure out "end of run not found"

2019-07-03 Thread john heasley
Wed, Jul 03, 2019 at 11:33:08AM -0600, Kevin Morales: > Thanks Piegorsh, > > I did it.. > > NOPIPE=yes ./rancid -d -t cisco 172.17.1.6 > > but in the two file 172.17.1.6.new and 172.17.1.6.raw don't see anything > about this error. both show the correct command output. correct command output

Re: [rancid] Unable to figure out "end of run not found"

2019-07-03 Thread john heasley
Wed, Jul 03, 2019 at 07:48:09AM -0600, Kevin Morales: > Hello!, > > How I can fix the problem when I run rancid for ZTE Router?. I get this > error: *End of run not found* > > the two file 172.17.1.6.new and 172.17.1.6.raw don't show any error!. > > NOPIPE=yes ./rancid -d -t cisco 172.17.1.6 >

Re: [rancid] Watchguard xml file

2019-07-03 Thread 'john heasley'
(<$INPUT>) { > tr/\015//d; > next if (/^\s*$/); > # end of config - hopefully. > # end-of-config tag. appears to end with "\nPROMPT:~$". > if (/$prompt/) { > $found_end++; > last; > } > --- >

Re: [rancid] Watchguard xml file

2019-07-02 Thread john heasley
Sat, Jun 29, 2019 at 11:46:23AM +, Wayne Eisenberg: > Hi, > > OK, so I can get into the firewall and pull the config with "export config to > console". However, the config file is a very large xml file, this one is > about 2MB in size. However, it seems like it only recorded the first 388KB

Re: [rancid] Unable to figure out "end of run not found"

2019-07-03 Thread john heasley
you said this is a ZTE device, but that you’re using -t cisco. is > > ZTE a cisco device? > > > > weylin > > > > > > > > *From: *Kevin Morales > > *Date: *Wednesday, July 3, 2019 at 3:18 PM > > *To: *john heasley > > *Cc: *Weylin Piego

Re: [rancid] Unable to figure out "end of run not found"

2019-07-08 Thread john heasley
onfiguration > Thanks! > > On Wed, Jul 3, 2019 at 6:10 PM john heasley wrote: > > > Wed, Jul 03, 2019 at 02:53:14PM -0600, Kevin Morales: > > > Yes, my Router is ZTE and I am using CISCO type, because the command is > > the > > > same to see the conf

Re: [rancid] Watchguard xml file

2019-07-08 Thread 'john heasley'
Wed, Jul 03, 2019 at 06:49:20PM +, Wayne Eisenberg: > -Original Message- > From: 'john heasley' > Sent: Wednesday, July 03, 2019 1:41 PM > To: Wayne Eisenberg > Cc: 'john heasley' ; 'rancid-discuss@shrubbery.net' > > Subject: Re: [rancid] Watchguard xml fi

Re: [rancid] RANCID 3.8 and Git - sync to remote repo instead of or in addition to local repo?

2019-08-21 Thread john heasley
Wed, Aug 21, 2019 at 09:10:04PM +, Ni Ne: > Running rancid 3.8 and I would like to (re-)publish the rancid config files > (for devices themselves) to a gitlab server we have internally. > > I am still learning about Git and not very familiar with rancid's interaction > with it. > > Is it

Re: [rancid] Tellabs equipment

2019-08-26 Thread john heasley
Mon, Aug 26, 2019 at 06:57:27PM +, Luke Smith: > I'm new to configuring Rancid, so forgive me if I'm not asking the right > questions. I've turned up a rancid server, I can get Cisco, Adtran, and > Foundry no issues. I'm moving over to my Tellabs now and I've found a > rancid-ssi github

Re: [rancid] Rancid issues

2019-08-21 Thread john heasley
Wed, Aug 21, 2019 at 12:10:35PM +0200, Chris Knipe: > Hi All, > > Rancid setup and everything's fine form what I can tell. I'm getting a > strange error I haven't seen before: > > router.db: > za-ctn-pe01;mikrotik;up > > bash-4.2$ ./bin/rancid -d -t mikrotik za-ctn-pe01 > loadtype: device type

Re: [rancid] Extreme switch policy backup.

2019-08-27 Thread john heasley
Fri, Jul 12, 2019 at 08:05:30PM +, john heasley: > Fri, Jul 12, 2019 at 08:30:28PM +0100, Paul Thornton: > > Hi > > > > We had a patch to 2.3's xrancid which we were running at some stage in > > the past N years that did this already - but can't I find it,

Re: [rancid] Possible bug

2019-07-29 Thread john heasley
Fri, Jul 26, 2019 at 08:24:35AM -0400, Ugo Bellavance: > Hi, > > I think that there might be a problem with the fnlogin script. It may > because I'm attempting to execute it on a Fortiweb system (not Fortigate), > but there is one last ' "send "end\r" ' that shouldn't be there. > > Sample of ssh

Re: [rancid] Adjust Rancid-Run Default Run Location

2019-07-29 Thread john heasley
Fri, Jul 26, 2019 at 09:37:36AM +, Sheeter, Kyle: > Hey guys, > > I have been trying to figure out what happened to my RANCID install after a > linux upgrade, and it looks like it adjusted some parameters that my > predecessor setup when he built the machine. He used a subdirectory >

Re: [rancid] Improving Rancid's processing speed when having 1k+ devices

2019-07-29 Thread john heasley
Fri, Jul 26, 2019 at 02:34:49AM -0700, Florin Vlad Olariu: > On 25 July 2019 at 18:16:48, Scott Granados > (scott.grana...@gmail.com(mailto:scott.grana...@gmail.com)) wrote: > > > I would also recommend running multiple rancid servers maybe scatter them > >geographically so it’s not a single

Re: [rancid] Restore a Palo Alto Firewall from a Rancid bacup

2019-07-20 Thread john heasley
Sat, Jul 20, 2019 at 12:29:19AM +0200, Erik Muller: > On 7/19/19 22:32 , john heasley wrote: > > Mon, Jul 15, 2019 at 10:30:42PM +, Gauthier, Chris: > >> The only way in CLI to do a "show run" type of output in XML format is to > >> execute the followin

Re: [rancid] Dell EMC S5200-ON series switches running OS10

2019-07-18 Thread john heasley
Thu, Jul 18, 2019 at 12:25:30PM +0200, Bjørn Skobba: > Hi, > first of all, I'm new to rancid and the list, so please bear with me :) > > I have a question regarding devices (in this case a S5296F-ON switch) > running OS10 Network Operating System. > > We have quite a few Force10 S-series

Re: [rancid] Getting a lot of noise related to ce_switch.log and ce_switch.log.bak

2019-07-18 Thread john heasley
Wed, Jul 17, 2019 at 12:36:04AM +, heasley: > Wed, Jul 10, 2019 at 01:39:34AM -0700, Dan Mahoney (Gushi): > > On Tue, 11 Sep 2018, heasley wrote: > > > > > Mon, Sep 10, 2018 at 01:45:42AM -0700, Dan Mahoney (Gushi): > > >> Hey all, > > >> > > >> I'm running Rancid built from freebsd packages,

Re: [rancid] Restore a Palo Alto Firewall from a Rancid bacup

2019-07-19 Thread john heasley
n be viewed with 'show config run'. these configs can be dumped as xml or text. only xml can be loaded. Do i have all of this correct? I did not glean much useful info from the palo alto website. thanks > -Original Message- > From: Rancid-discuss on behalf of john > heasley &

Re: [rancid] Rancid with Dell PowerConnect M8024-k

2019-07-23 Thread john heasley
Tue, Jul 23, 2019 at 03:53:39AM +, Dennis Jasch: > Hi, > > I have been Googleing a lot on how to get this to work, but had no luck yet. > > Observium version: 19.7.9977 > Rancid version: 3.9 > Device: Dell PowerConnect M8024-k > > The Observium PHP script to generate the rancid router.db

Re: [rancid] Rancid and the Cisco 5000 Nexus Platform

2019-07-23 Thread john heasley
Tue, Jul 23, 2019 at 01:29:01AM -0700, Florin Vlad Olariu: > I am running version 3.9 [2] and the logs looks like in [1]. I tried > un-commenting the line that states > "#cisco-nx;command;rancid::RunCommand;term no monitor-force" but it doesn't > work anyway. keep that; it prevents logs/etc from

Re: [rancid] Restore a Palo Alto Firewall from a Rancid bacup

2019-07-15 Thread john heasley
Fri, Jul 12, 2019 at 09:18:34PM +0200, Erik Muller: > On 7/12/19 14:15 , Gauthier, Chris wrote: > > Rancid configs for PAN can NOT be used to restore the config, unless you > > cut and paste the configuration. This is because the native config files > > are stored in XML format and that is the

Re: [rancid] Improving Rancid's processing speed when having 1k+ devices

2019-07-25 Thread john heasley
Thu, Jul 25, 2019 at 08:14:28AM -0700, Emille Blanc: > I've seen/heard stories of people pre-empting rancid with an snmp-get of the > config-last-changed / last committed OID, to generate a list of devices to > run against. a building block for that is in the FAQ S3 Q10; using syslog

Re: [rancid] Fortinet private key problem

2019-07-25 Thread john heasley
Thu, Jul 25, 2019 at 02:52:42PM -0400, Ugo Bellavance: > Hi, > > I'm trying to get rancid to work with my Fortinet device. It seems to work > OK, except for the fact that it doesn't collect the whole config. It looks > like it's stuck in the removal of the private key. It stops like this: > >

Re: [rancid] Rancid and the Cisco 5000 Nexus Platform

2019-07-22 Thread john heasley
Mon, Jul 22, 2019 at 08:51:09AM -0700, Florin Vlad Olariu: > Hello, > > I have some cisco Nexus 5k and I'm having some trouble grabbing the "show > run" through rancid. In my setup I commented out most commands in the > "rancid.types.base" file except for the "show run" section. The problem is >

Re: [rancid] Dell EMC OS10 switch

2019-11-04 Thread john heasley
Mon, Nov 04, 2019 at 04:51:23PM +, Howard Jones: > I made a slightly-tweaked version of the Force10 type for our Dell > S3048-ON switches. > > In etc/rancid.types.conf: > > dell10;script;dell10rancid > dell10;login;clogin > > And then these are the differences from f10rancid: > > A few

Re: [rancid] web frontend for git based rancid

2019-11-05 Thread john heasley
Tue, Nov 05, 2019 at 11:34:05AM +, shouldbe q931: > On Wed, Oct 30, 2019 at 11:14 PM Andreas Ott wrote: > > > > Hello, > > > > we have recently uplifted a server from the stoneage to a current version of > > rancid, also now using git as the version control system. > > > > In previous

Re: [rancid] Dell EMC OS10 switch

2019-11-05 Thread john heasley
Tue, Nov 05, 2019 at 09:02:19AM +0100, Bjørn Skobba: > It looks like Dell S3048-ON can use either the “old” Force10 FTOS(OS9) or > Dell’s OS10 (aka (D)NOS10). As you are running the latter, the dnos10 type > John mention should work. It is also based on a modified version of the > f10rancid

Re: [rancid] web frontend for git based rancid

2019-10-30 Thread john heasley
Wed, Oct 30, 2019 at 04:13:57PM -0700, Andreas Ott: > we have recently uplifted a server from the stoneage to a current version of > rancid, also now using git as the version control system. > > In previous generations we used cvsweb (cvs backend) and WebSVN (svn > backend) to provide at least

Re: [rancid] Extreme EXOS switches - what model?

2019-12-03 Thread john heasley
Tue, Dec 03, 2019 at 08:49:12PM +, Adam Thompson: > I’m somewhat confused here; I have some Extreme X620 switches (that’s the > Summit / EX-OS line) that I’m trying to add into RANCID. > However, my v3.9 installation, upon seeing “extreme” in router.db, still > tries to run the “enable”

Re: [rancid] patch suggestion for Cisco Mobile Express

2019-10-14 Thread john heasley
Sun, Oct 13, 2019 at 09:53:21AM +, Piegorsch, Weylin William: > Should an autonomous Aeronet AP have its config in rancid through wlc8? I'd > had success (years ago, on older version of rancid and AeroOS) with type > cisco. If this is a Aeronet AP on a WLC, then wouldn’t simply backing up

Re: [rancid] Aruba - Wireless Controllers

2019-10-29 Thread john heasley
Fri, Oct 25, 2019 at 09:26:44AM -0700, reza: > I’m using Mike32’s Aruba module which was recommended from the Shrubbery FTP,  > https://github.com/miken32/rancid-aruba/.  > > When I run rancid in debug mode against one of my device it failed in “End of > run not found”. I manually logged in with

Re: [rancid] Fwd: Rancid - cmwlogin - HPE switches

2019-10-25 Thread john heasley
Fri, Oct 25, 2019 at 02:27:52PM +0200, Kevin Olbrich: > Hi Henri, > > ok, old releases are a no-go for me, as I have HP devices with recent FW > that would loop (find diff on every refresh) as HP introduced a timestamp > for some commands. > I would like to see CMW work in 3.9+ but I was unable

Re: [rancid] moving rancid to new server

2019-11-18 Thread john heasley
Mon, Nov 18, 2019 at 10:40:22PM +, Wayne Eisenberg: > Hi, > > I need to move my rancid (3.8) setup to a new server. Is it ok to tar/gzip > the entire directory and copy it or just do a bulk copy via scp of the entire > /usr/local/rancid directory from the old to new server (and the

Re: [rancid] Merge OpenGear vendor-provided rancid scripts with official RANCID release for future?

2019-11-26 Thread john heasley
Tue, Nov 26, 2019 at 08:53:02PM +, Ni Ne: > OpenGear has published rancid and login files that work with their console > servers. > > The page describing it is here: > > https://opengear.zendesk.com/hc/en-us/articles/216369543-RANCID-Support > > The direct link to their code is: > >

Re: [rancid] Cisco 3650 IOS-XE active VLAN port state changes

2019-11-25 Thread john heasley
Sat, Nov 23, 2019 at 09:50:06PM +, Piegorsch, Weylin William: > You can also develop a custom type that doesn't call "show vlan". please do this, rather than change ios.pm. This makes it easier for you to upgrade rancid, both of which i prefer because it is easier to support you. > Also,

Re: [rancid] Aruba 2930M

2019-12-22 Thread john heasley
Sat, Dec 21, 2019 at 08:30:39AM +1100, Dale Shaw: > On Thu, 19 Dec 2019 at 1:02 am, Guisepp Rodriguez > > What version of Rancid I need? I use rancid 3.7 and for Aruba 2930M I use > > hlogin, hrancid. This is the output error: > > > > [rancid@rancid rancid]$ ./bin/hrancid -t hp -d xx.xx.xx.xx > >

Re: [rancid] Rancid - keep backup/config files/SVN revisions no older than X days

2020-01-17 Thread john heasley
Fri, Jan 17, 2020 at 09:47:56AM -0800, Dragan Vucanovic: > I'm new to Rancid, just started playing with it. > > Is somehow possible, when newer config file of same device exist, to keep > only newest version, or it's already configured by default ? not really - saving the config history is