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 part

Re: [rancid] Adding devices manually

2020-01-15 Thread Heasley
> Am 15.01.2020 um 07:17 schrieb Wiethoff, Helge : > > Hi, > > is there a way to add configurations of devices manually? > > I have some devices that cannot be queried with the existing rancid- > scripts. This is not necessarily a bad thing either, as changes are > rarely made here. But since

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] git vs svn

2019-12-14 Thread john heasley
Sat, Dec 14, 2019 at 01:20:37PM +, Wayne Eisenberg: > I'm considering changing over to git from svn for my rancid version control. > A brief Google search seems to show that converting from one to the other is > not terribly difficult. (So I don't have to lose my history.) > > For those who

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” comma

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: > > https:

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, I'v

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

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 scri

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 generati

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 com

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 rea

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 to

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 t

Re: [rancid] Rancid issues

2019-09-27 Thread john heasley
Wed, Aug 21, 2019 at 02:44:01PM +, 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: >

Re: [rancid] Rancid upgrade 3.2 to 3.9

2019-09-03 Thread john heasley
Mon, Sep 02, 2019 at 03:45:28PM +, Nati Danan: > Hello > > I am using Rancid for the last 3 years and would like to upgrade it now to > latest version which is 3.9. > Current version is 3.2.99 after upgrade of my colleague a year ago I believe. > my Expect version is 5.44.1.15 if it helps. >

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

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 that

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 fe

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] 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 mach

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 > (/hom

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] 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] Improving Rancid's processing speed when having 1k+ devices

2019-07-25 Thread john heasley
Thu, Jul 25, 2019 at 02:29:37PM +0200, Florin Vlad Olariu: > Well, as per title, is there any way to improve rancid's speed with so many > devices? At the moment I set PAR_COUNT to 300, so it will connect in > parallel to 300 devices at a time, but the reality is that most time does > not seem to b

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] 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 m

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 cla

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

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] Restore a Palo Alto Firewall from a Rancid bacup

2019-07-19 Thread john heasley
e 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 >

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

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 switches

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

2019-07-16 Thread 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, rancid3-3.7 >

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 fo

Re: [rancid] Extreme switch policy backup.

2019-07-12 Thread john heasley
Thanks to Chris' > 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 (

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 polic

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

2019-07-12 Thread john heasley
Fri, Jul 12, 2019 at 06:15:39PM +, Gauthier, Chris: > 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 format the Palo Alto utilities expect > when p

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] 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 the c

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] 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:

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

2019-07-08 Thread john heasley
configuration > 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] 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 fi

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

2019-07-03 Thread john heasley
t; > I think 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: *W

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 an

Re: [rancid] Watchguard xml file

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

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-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] [SPAM?] Cisco NX "chatty" with Power info

2019-06-27 Thread heasley
Thu, Jun 27, 2019 at 12:07:13AM -0400, FF: > ok, > > So upgraded to 3.9 with the same behavior. > > Built a cisco-nxp personality that had an | exclude OK line on it to remove > the wattage line... but suddenly rancid couldn't log in to those units. > Even though clogin would work fine. Went and

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 dev

Re: [rancid] Entries disappear and re appear.

2019-04-17 Thread heasley
you check if you are having malloc failures? > > On Apr 12, 2019, at 1:39 AM, Alex DEKKER wrote: > > > > On 11/04/2019 19:54, heasley wrote: > >> Thu, Apr 11, 2019 at 09:51:20AM -0700, Emille Blanc: > >>> > >>> Overall, our experience with Mikrotiks

Re: [rancid] Entries disappear and re appear.

2019-04-11 Thread heasley
Thu, Apr 11, 2019 at 09:51:20AM -0700, Emille Blanc: > > For the Mikrotik, it shows that the console port name changed to nothing > > and then the next time shows that it came back as serial0. > > Overall, our experience with Mikrotiks have been pretty poor. > They frequently drop their entire co

Re: [rancid] Rancid - Changing Config Backup Directory

2019-04-11 Thread heasley
Thu, Apr 11, 2019 at 01:16:43PM -0400, Doug Hughes: > Any reason you don't just have a regular process that clones your > version control repository? (whether it's svn or cvs or git, it makes no > difference, per se) > > Once you set it up, you just automate the synchronization process. only "clo

Re: [rancid] Entries disappear and re appear.

2019-04-11 Thread heasley
Thu, Apr 11, 2019 at 09:31:05AM -0700, Troy Beisigl: > Hello everyone, > > We have an issue whereby rancid is pulling configs and showing that an entry > has disappeared and then the next config check the entry is back. This is > happening on a Cisco ASA and also on a Mikrotik. > > For the Mik

Re: [rancid] Rancid - Changing Config Backup Directory

2019-04-11 Thread heasley
Thu, Apr 11, 2019 at 02:14:57PM +, Thad Davis: > Hello, > > My company is running Rancid on Ubuntu 16.04. Currently, our server running > Rancid is not backed up. If we lose this server, we lose our saved configs. > Is there a way to change the default save location for config backups to a

Re: [rancid] Fortigate updates Antivirus db IPS db hogging rancid

2019-03-29 Thread heasley
Fri, Mar 29, 2019 at 01:45:26PM +0200, Linux Threads: > Hi Rancid Community, > > I am backing up Fortigate devices with the new Debian Rancid ver. 3.9.1, > > but the updates for antivirus IPS are hogging rancid, I have commented out > "get system status" as below however I am still getting system

[rancid] netscreen login script (nlogin)

2019-03-24 Thread heasley
A user is having trouble collecting a netscreen box from a centos7 host. We've discovered that the following change fixes the problem, but the cause is unclear. So, I'm reluctant to commit this with knowing that it does not break collection for some sample of users. Could other netscreen owners t

Re: [rancid] Extreme 200-series switches

2019-03-24 Thread heasley
Fri, Mar 15, 2019 at 02:01:43PM +0800, James Andrewartha: > On 13/03/19 04:42, heasley wrote: > > Fri, Mar 01, 2019 at 06:29:23PM +0800, James Andrewartha: > >> These switches are Broadcom FASTPATH based, like Ubiquiti EdgeMAX > >> switches, however using the edgemax con

Re: [rancid] [PATCH] Nortel/Avaya BayStack/ERS support

2019-03-24 Thread heasley
+++ /usr/local/libexec/rancid/bslogin 2019-02-20 15:40:04.747945375 -0500 > @@ -1,7 +1,5 @@ > #! /usr/bin/expect -- > ## > -## $Id: clogin.in 3943 2019-01-18 16:18:34Z heas $ > -## > ## rancid 3.9 > ## Copyright (c) 1997-2018 by Henry Kilmer and John Heasley >

Re: [rancid] issues with mail and aliases

2019-03-20 Thread heasley
Wed, Mar 20, 2019 at 08:58:36AM -0500, N. Max Pierson: > Thanks for the replies. On all occasions, I have edited the /etc/aliases > file and ran the newaliases command without any success. - test mail to the alias manually - make sure that you have the correct aliases file - ask the postfix suppor

Re: [rancid] issues with mail and aliases

2019-03-20 Thread heasley
Wed, Mar 20, 2019 at 08:37:16AM -0500, N. Max Pierson: > Hi List, > > I have a new install on Centos 7 (supplied rpm rancid 3.2) and I am having > issues with the regular emails that go out when rancid is run. I have > installed sendmail and couldn't get it to work nor is postfix working. When > I

Re: [rancid] Extreme 200-series switches

2019-03-12 Thread heasley
Fri, Mar 01, 2019 at 06:29:23PM +0800, James Andrewartha: > Hi, > > These switches are Broadcom FASTPATH based, like Ubiquiti EdgeMAX > switches, however using the edgemax config doesn't quite work. One thing > is you need to use quit instead of exit in clogin - it seems to be > detected as an Ext

Re: [rancid] [SPAM?] Cisco NX "chatty" with Power info

2019-03-11 Thread heasley
Fri, Mar 08, 2019 at 07:06:45PM +, Nick Nauwelaerts: > what version of rancid & nx-os are you running? good question. if the answer is 3.9, please show us the complete output of show environment power > i notice you only have 1 column less as me, you seem to miss "actual output". > > > //

Re: [rancid] Fortigate VDOMs

2019-03-11 Thread heasley
Sat, Mar 09, 2019 at 08:29:01AM +0200, Adriaan Le Roux: > I am busy inter grating rancid to backup Huawei devices. > > Please can anyone shed some light as to where the best scripts are for these > devices OLT”s and switches. There is support in rancid already for Hauwei VRP. afaict, when i was

Re: [rancid] Filter/Change filesize thresholds IOS-XE/NXOS

2019-03-04 Thread heasley
t be useful for such things. I think that ought to be per-device type. Should there also be a pre-filter? Sexier would be a context aware filter that retained the changes but filtered the diffs. > Thank you Heasley and everyone that has made this such a great product! > > --Ken >

Re: [rancid] rancid 3.9 aerohive/hiveos support

2019-02-27 Thread heasley
Thu, Feb 21, 2019 at 11:48:34AM +, Nick Nauwelaerts: > hello all, > rancid aerohive/hiveos support has been updated to track rancid 3.9. from now > on i will track rancid releases for this instead of rancid svn. for support > specific to hiveos/aerohive access points please email me directly

Re: [rancid] [PATCH] escape double quotes in command string

2019-02-25 Thread heasley
Mon, Feb 18, 2019 at 06:20:20PM +, Anderson, Charles R: > I'd like to add some custom Junos commands in rancid.types.conf such as: > > wpi-juniper;command;junos::ShowChassisHardware;show lldp neighbors | match > "^Local | ae[0-9]+ " > wpi-juniper;command;junos::ShowChassisHardware;show system

Re: [rancid] [PATCH] junos.pm: filter negative temperatures in ShowChassisEnvironment

2019-02-20 Thread heasley
Wed, Feb 20, 2019 at 10:05:16AM -0800, Emille Blanc: > I'm fairly certain -2 and below does work - but can't find evidence to > support that presently. > I'll fire off a search in my outlook archive to grind away over lunch to > confirm. beause its treating a signed interger as unsighned...and -

Re: [rancid] 3.99.99 and Nokia/Alcatel/Alu/SROS

2019-02-07 Thread Heasley
Am 06.02.2019 um 19:12 schrieb rancid : > > We've a number of SAR-8 SAR-AX SAS-S devices which I'm wanting to > collect configs of. My test device is "TiMOS-B-10.0.R6 both/hops > Nokia SAS-S 24T4SFP+ 7210 Copyright (c) 2000-2018 Nokia" > > I've run into a few minor issues which I've worked aroun

Re: [rancid] Alcatel script, not parsing the commands and/or output well (/partially)

2019-01-30 Thread heasley
Thu, Jan 17, 2019 at 06:44:03PM +, heasley: > Thu, Jan 17, 2019 at 08:07:02AM +0100, Remko Lodder: > > Hi, > > > > I also have “3.99.99” on the system to compare the output. The regular > > version on the system is 3.6 it seems. > > But, the noklogin works

Re: [rancid] Ciena waveserver

2019-01-30 Thread heasley
Sun, Jan 27, 2019 at 06:03:29PM -0800, Azher: > Hi , > > I am using tacacs for authentication and the priompt I am getting > based on certain access level is "$" > > Welcome to the Waveserver OS CLI! > mcc-ws1$ file ls > ^C[rancid@rancid ~]$ > > However it does not take any command and Ctrl C is

Re: [rancid] Upgrading rancid

2019-01-30 Thread heasley
Wed, Jan 30, 2019 at 08:32:25PM +, Pedrosi, Derek G.: > Is there an accepted method for updating RANCID? > I'm running Ubuntu 16.04 (with SVN), and I believe it only supports 3.3, > which I am running. > > Is it best just to install a fresh 19.04 Ubuntu and copy the old repos over > the new

Re: [rancid] Arista Power supply timestamps

2019-01-23 Thread heasley
Wed, Jan 23, 2019 at 02:25:22PM +, Pedrosi, Derek G.: > Hello, > > I am backing up Arista devices using RANCID and works great, version > 3.7. Is there a way to ignore the following timestamped lines for > power supplies ? > > - !Power Supply 1: PWR-460AC-R Ok 122 days, 21:25:53 > > + !P

Re: [rancid] mtrancid +- connection closed? Conf Diff

2019-01-17 Thread heasley
d to the script line in rancid.types.base, then .raw files will be left behind and the rancid-run cron can be altered to collect those files, like so: ; ; D=`date +\%Y-\%m-\%d:\%H`; mkdir -p tmp/$D && cp -p /configs/*.raw tmp/$D and when you next discover the change, we look at the

Re: [rancid] Alcatel script, not parsing the commands and/or output well (/partially)

2019-01-17 Thread heasley
;show card > detail;show debug;show bof;admin display-config index;admin display-config” > > > Do note that it seems that the SROS is on a very different architecture based > then what my Omniswitches use. So it seems incompatible to start with, where > the alu* scripts

Re: [rancid] mtrancid +- connection closed? Conf Diff

2019-01-16 Thread heasley
Tue, Jan 15, 2019 at 03:06:31PM -0800, Jason Wu: > Hello friends, > > Just have a question regarding mtrancid > For some reason I have been getting router config diffs emails which > contain only +- connection close, which doesn't reflect a config change and > is strange. > > This only occurs on

Re: [rancid] Alcatel script, not parsing the commands and/or output well (/partially)

2019-01-16 Thread heasley
Wed, Jan 16, 2019 at 12:02:14PM +0100, Remko Lodder: > Hi all, > > First of all, thank you for Rancid, it’s a great tool to monitor > configuration changes and pushing back changes. > > Having Said that; > > I fetched some alcatel switches which I modified a little to work on various > types .

Re: [rancid] aerohive/hiveos support

2019-01-09 Thread heasley
Wed, Dec 19, 2018 at 09:23:57PM +, Nick Nauwelaerts: > (also included: removal of fortinet/fnrancid references since it's now a > module & a few minor nitpicks) > > support for aerohive/hiveos access points: > > login script ahlogin: > * originally by erik muller: https://github.com/ermuller

[rancid] HiveosRe: 3.9 release?

2019-01-09 Thread heasley
Wed, Jan 09, 2019 at 03:21:39AM +, Nick Nauwelaerts: > understandable. it's been tested on several os revisions & hardware versions > (and for around 150days + on 2 servers), but since they are all managed by > the same hivemanager the configs aren't that diverse. also i'm quite sure not > a

Re: [rancid] 3.9 release?

2019-01-08 Thread heasley
Tue, Jan 08, 2019 at 10:20:11PM +, Nick Nauwelaerts: > no chance then for aerohive support then in the next release? If we see more feedback that it is reliable. I'd seen the one reply, but would like moreso if it is not reliable, it does not become my burden. > http://www.shrubbery.net/

Re: [rancid] 3.9 release?

2019-01-08 Thread heasley
Tue, Jan 08, 2019 at 01:24:42PM -0800, Dan Mahoney (Gushi): > Hey All, > > In looking at the official source repo, I'm seeing a lot of 3.9 changes. > I'm currently on 3.7, since that's what FreeBSD packages. > > I've poked the maintainer for an update to 3.8, but it would be helpful to > know w

Re: [rancid] HP 2620-24-PoEP Switch (J9625A)

2019-01-02 Thread heasley
Mon, Dec 31, 2018 at 10:43:35AM +, FESSARD, Rémi: > Hello, > > Forgot this mail, it was not a firmware upgrade issue but just because my > colleague add "-PoE+" in the hostname. > Without the "+", it works fine now. + isnt a valid hostname character (rfc1123). its also a regex operator. p

Re: [rancid] Ubuntu with Rancid 3.7 - Comware (CMW)

2018-12-19 Thread heasley
Thu, Dec 20, 2018 at 12:25:31AM +, Aaron Sutton: > Hi, > > More information, > > I think the SH: 1: cmwlogin: not found error is due to not running this as > the rancid user. I also get the same error with cisco devices which run > completely run with rancid-run. > > admin@rancidserver:/va

Re: [rancid] Ubuntu with Rancid 3.7 - Comware (CMW)

2018-12-19 Thread heasley
Wed, Dec 19, 2018 at 06:12:56AM +, aaron.sut...@glencore.com.au: > Hi All, > > Seeking some assistance as I'm a RANCID noob. Have had no issues getting > Cisco devices to work, however no luck with HPE switches. > > I have a large environment of HPE switches which run COMEWARE v7. I found th

Re: [rancid] F5 Issue

2018-12-19 Thread heasley
Wed, Dec 19, 2018 at 03:15:57PM +, Piegorsch, Weylin William: > Any idea what I can do to fix this, without upgrading rancid? > weylin > > > [rancid@nsgv-prod-59 ~]$ rancid -V > rancid 3.4.1 > [rancid@nsgv-prod-59 ~]$ > [rancid@nsgv-prod-59 ~]$ > [rancid@nsgv-prod-59 ~]$ > [rancid@nsgv-prod

Re: [rancid] end of run not found

2018-12-17 Thread &#x27;heasley'
Sat, Dec 15, 2018 at 01:05:23PM +, Wayne Eisenberg: > There you go. The dell.pm is looking for > if (/[>#]\s?exit$/) > but these switches don't put the exit statement on a separate line (or maybe > we don't see it because of the ' tr/\015//d;' statement right before the if > statement ). In

Re: [rancid] end of run not found

2018-12-14 Thread &#x27;heasley'
Fri, Dec 14, 2018 at 04:15:41PM +, Wayne Eisenberg: > > > > Thu, Dec 13, 2018 at 07:55:29AM +, Wayne Eisenberg: > > > > > Regarding some PowerConnect N2000/3000/4000 series switches, I am > > > > getting "End of run not found" errors. If I use the smc type that is > > > > recommended in the

Re: [rancid] end of run not found

2018-12-13 Thread &#x27;heasley'
Thu, Dec 13, 2018 at 10:45:36PM +, Wayne Eisenberg: > > -Original Message- > > From: heasley [mailto:h...@shrubbery.net] > > Sent: Thursday, December 13, 2018 12:06 PM > > To: Wayne Eisenberg > > Cc: 'rancid-discuss@shrubbery.net' > &

Re: [rancid] end of run not found

2018-12-13 Thread heasley
Thu, Dec 13, 2018 at 07:55:29AM +, Wayne Eisenberg: > Regarding some PowerConnect N2000/3000/4000 series switches, I am getting > "End of run not found" errors. If I use the smc type that is recommended in > the rancid.types.base file, I have the added pleasure of getting "missed > cmd(s): s

Re: [rancid] problems with PowerConnect switches

2018-12-12 Thread &#x27;heasley'
Wed, Dec 12, 2018 at 06:49:20AM +, Wayne Eisenberg: > > Tue, Dec 11, 2018 at 09:12:00PM +, Wayne Eisenberg: > > > > -Original Message----- > > > > From: 'heasley' [mailto:h...@shrubbery.net] > > > > Sent: Tuesday, December 11,

Re: [rancid] problems with PowerConnect switches

2018-12-11 Thread &#x27;heasley'
Tue, Dec 11, 2018 at 09:12:00PM +, Wayne Eisenberg: > > -Original Message- > > From: 'heasley' [mailto:h...@shrubbery.net] > > Sent: Tuesday, December 11, 2018 1:13 PM > > To: Wayne Eisenberg > > Cc: 'heasley' ; 'rancid-discuss

Re: [rancid] problems with PowerConnect switches

2018-12-11 Thread &#x27;heasley'
Tue, Dec 11, 2018 at 06:51:01AM +, Wayne Eisenberg: > > -Original Message- > > From: heasley [mailto:h...@shrubbery.net] > > Sent: Friday, December 07, 2018 3:06 PM > > To: Wayne Eisenberg > > Cc: 'rancid-discuss@shrubbery.net' > > Su

Re: [rancid] login problem on cisco switch

2018-12-07 Thread heasley
Fri, Dec 07, 2018 at 05:48:57AM -0800, N K Krishnan: > We ran into a similar problem recently with one (of over 200) 3850 stack. > Suggest you run each of the command that rancid runs after the clogin. just a pointer to help with this; rancid -t -C hostname __

Re: [rancid] cisco login prompt changes

2018-12-07 Thread heasley
"Enter local password:" > aaa authentication username-prompt "Enter local username:" > ! > user a secret b > ! > line vty 0 4 > login authentication REMOTE > > > > > -Original Message- > From: Rancid-discuss On Behalf Of > heasl

Re: [rancid] problems with PowerConnect switches

2018-12-07 Thread heasley
Fri, Dec 07, 2018 at 10:18:54AM +, Wayne Eisenberg: > Hi, > > I have a PowerConnect 5448 that I am having trouble with. If I run the steps > manually it's fine, but using rancid-run always fails. > > The router.db file is: > pc5448;powerconnect;up > > The etc/rancid.types.conf section is: >

Re: [rancid] cisco login prompt changes

2018-12-07 Thread heasley
Fri, Dec 07, 2018 at 10:08:50AM +, Wayne Eisenberg: > Hi, > > BTW, I've been seeing on a few cisco devices where the username prompt is now > 'User Name:' or 'User name:' instead of 'user name:'. Should the next rancid > version update the 'set u_prompt' line to something like > set

Re: [rancid] FXOS debugging

2018-11-30 Thread heasley
to test against. running fxlogin against an IOS device works fine. maybe start with making sure that you are using the most recent alpha version of fxlogin. diffs since rancid 3.7 are attached. > Thanks, > > -ryan > > -Original Message- > From: heasley > Sent: Wednesda

  1   2   3   >