Re: [rancid] proxy-login rancid collection

2020-05-13 Thread heasley
that were contributed on the ML that might suit you for the immediate. > Thanks, > > GTG > > On Wednesday, March 25, 2015 12:14 EDT, heasley wrote: >  Many have asked for this and it will probably be the primary addition to > rancid 3.3, but I do not have a use for it,

Re: [rancid] Dell N3048P, End of run not found. Regex issue?

2021-06-23 Thread heasley
Wed, Jun 23, 2021 at 08:34:25AM +, Henrik Cednert (Filmlance): > Hi there > > trying to get Rancid to work with a Dell N3048P. I'm running into probably > the very same issues as here. > https://shrubbery.net/pipermail/rancid-discuss/2015-June/008426.html > > During troubleshooting I have

Re: [rancid] Re-IPing some switches.

2021-05-27 Thread heasley
Thu, May 27, 2021 at 04:57:51PM +, Chris Davis: > I don’t use git. Just downloaded a million years ago and compiled, and just > keep updating manually. I don’t know much about using git. Aware of it, but > don’t use it at all. yeah, afaik, cvs does not have a mv. you can do it manually;

Re: [rancid] How to create a backup folder for hierarchy?

2021-03-18 Thread heasley
Thu, Mar 18, 2021 at 08:15:47AM -0600, Kevin Morales: > Hi, How can I do a hierarchy folder for backup configurations using Websvn? > for example: > > +ROUTER >+ CISCO > +SW > +FW >+ Juniper > +SW > +FW if you split

[rancid] rancid diff mail destination (was Reporting subsets of Rancid data.)

2021-04-09 Thread heasley
Fri, Apr 09, 2021 at 05:07:33PM +1200, Daniel Kerse: > Speaking of which, how are people maintaining their mailing lists for > Rancid these days? Is majordomo still best of breed here? I looked at it a > while ago but my rancid servers can’t receive email, only send. So I don’t > think that’s

Re: [rancid] Reporting subsets of Rancid data.

2021-04-09 Thread heasley
Thu, Apr 08, 2021 at 12:34:21PM -0400, Dan Anderson: > If you created an additional set of groups, you could do a group per campus > and send the reports/diffs for each group or groups to different e-mail > addresses based on the entries in your /etc/aliases file. That's 100% > supported and

Re: [rancid] FS switches

2021-08-13 Thread heasley
Thu, Aug 12, 2021 at 04:14:21PM +0200, Bjørn Skobba: > However, our Layer2 dude pointed out the os also was a bit cisco-ish, > so I tried the cisco device type (ios module) and that worked fine as > well . To make it more tailored to these switches I fiddled a bit with > stuff I'm not really able

Re: [rancid] Palo Alto XML backups - sort of solved

2021-09-08 Thread heasley
Tue, Sep 07, 2021 at 06:28:39PM +, Adam Thompson: > I remember this being discussed several times here - Palo Alto's PANOS only > emits JSON-formatted config when you run "show config running", which cannot > be used to restore the device from scratch. > > You can (at least as of v9.x)

Re: [rancid] FS switches

2021-08-11 Thread heasley
Wed, Aug 11, 2021 at 01:48:06PM +0200, Bjørn Skobba: > On Sun, Aug 8, 2021 at 5:45 PM heasley wrote: > > > > Sun, Aug 08, 2021 at 02:11:22PM +0200, Bjørn Skobba: > > > On Thu, May 7, 2020 at 10:54 PM Troy Beisigl wrote: > > > > > > > > I was tryi

Re: [rancid] Configuring Rancid

2021-07-28 Thread heasley
Wed, Jul 28, 2021 at 01:49:01PM -0500, Chris Boyd: > I was going to point to the ancient one I wrote for Daemon News, but it’s > long gone apparently. This one looks pretty good. > > https://uberbruco.wordpress.com/2009/07/09/rancid-on-freebsd/ > > Once installed, the configuration is pretty

Re: [rancid] Assistance creating a perl module to use with ZPE Systems NodegridOS Devices

2021-10-15 Thread heasley
Fri, Oct 15, 2021 at 02:59:01PM +, Mick O'Donovan: > rancid@rancid-staging:~/bin$ diff rancid zperancid > 140a141,143 > > # I don't care if it sees "exit" > > $clean_run = 1; > > > > ^^^ It was recommended to me several weeks back to make this change but I > can't for the life of me remember

Re: [rancid] RANCID no longer working with MikroTik RouterOS 6.49 and 7.1rc3 and 7.1rc4

2021-10-15 Thread heasley
Fri, Oct 15, 2021 at 01:39:18PM -0700, Michael Ducharme: > Hello, > > I had a look at your patch and I'm not sure that would fix the issue. Also > show-sensitive only works with v7 and above and throws an error on RouterOS > v6. > > Someone on the MikroTik forums found that there is no longer a

Re: [rancid] RANCID no longer working with MikroTik RouterOS 6.49 and 7.1rc3 and 7.1rc4

2021-10-15 Thread heasley
Mon, Oct 11, 2021 at 06:28:39PM -0700, Michael Ducharme: > Hello, > > I just wanted to let you know - on the MikroTik forum I am seeing reports > that RANCID is no longer working to back up RouterOS versions 6.49 and > 7.1rc3 and 7.1rc4. The commands still run and there were no documented >

Re: [rancid] Restore config on cisco devices

2021-09-28 Thread heasley
Tue, Sep 28, 2021 at 06:58:33AM +, simon ben: > Dear All, > I have rancid running and also installed viewvc and all working great and > backing up switches and routersNow I just had one query about restoring the > backed up config > if there is a router or switch failure and is replaced with

Re: [rancid] Restore config on cisco devices

2021-09-30 Thread heasley
Thu, Sep 30, 2021 at 05:53:51AM +, simon ben: > just wanted to know regarding the alternate way mentioned by you after doing > a minimum config for the cisco switch or router for network connectivity as > guess it would be a better option > Is it possible to restore the config from viewvc

Re: [rancid] change rancid.conf config setting once a week

2021-12-03 Thread heasley
Fri, Dec 03, 2021 at 10:02:56AM -0600, Chris Wopat: > On Fri, Dec 3, 2021 at 9:49 AM heasley wrote: > > > > if a separate group is used, a group-specific rancid.conf can be used > > to over-ride the global config. /pathto//rancid.conf, > > next to the group's router.d

Re: [rancid] h3crancid problem

2021-12-06 Thread heasley
Mon, Dec 06, 2021 at 10:46:39AM +0100, BASSAGET Cédric: > Hello, > I have a problem when trying to rancid h3c switches : > > rancid@jersey:~$ PATH=$PATH:/usr/local/rancid/bin ./bin/rancid -d -t h3c > sw-hp-hits-stack > loadtype: device type h3c > loadtype: found device type h3c at >

Re: [rancid] Rancid and Mikrotik OS 7.1 stable

2022-01-01 Thread heasley
Fri, Dec 31, 2021 at 11:31:50PM +, Tim Warnock: > Is this no longer working on 7.1+? https://github.com/haussli/rancid/issues/31 https://github.com/haussli/rancid/issues/32 This is the commit that I expect will fix the collection:

Re: [rancid] RANCID no longer working with MikroTik RouterOS 6.49 and 7.1rc3 and 7.1rc4

2021-11-11 Thread heasley
Sat, Oct 16, 2021 at 05:35:16PM -0700, Michael Ducharme: > Hello, > > Unfortunately, that does not fix it, and neither does "network" or "dumb". > Something that I might suggest is that you install the free CHR (cloud > hosted router) as a VM rather easily, as long as you have a hypervisor, and >

Re: [rancid] ucs backup

2021-11-02 Thread heasley
Tue, Nov 02, 2021 at 03:56:58PM +0300, Vacheslav: > ### Cisco Fabric Ucs > cisco-ucs;script;rancid -t cisco-ucs > cisco-ucs;login;clogin > cisco-ucs;module;nxos > cisco-ucs;inloop;nxos::inloop > cisco-ucs;command;nxos::ShowVersion;show version > cisco-ucs;command;nxos::WriteTerm;show

Re: [rancid] Rancid in FreeBSD ports break on FreeBSD 13.0

2021-10-31 Thread heasley
Sun, Oct 31, 2021 at 11:36:14PM +0100, Geert Jan de Groot: > Hi, > > Perhaps I should not report this because the current version of Rancid > is 3.1, but the version in FreeBSD pkg is still 2.3.8. Anyway.. > > With the upgrade to FreeBSD 13.0, this old version of Rancid broke. > Root cause

Re: [rancid] Backup Fortygate 100D

2021-12-07 Thread heasley
Tue, Dec 07, 2021 at 05:34:27AM +, simon ben: > Dear All, > Btw appreciate and thanks for the reply from Heasley and UGO  > As I mentioned below I am trying to backup my fortigate 1000D ( sorry for the > typo mistake in my earlier email as 100D) so to test before I edit the

Re: [rancid] h3crancid problem

2021-12-07 Thread heasley
Tue, Dec 07, 2021 at 08:15:34AM +0100, BASSAGET Cédric: > hi Heasley, > I don't understand why you talk about alteon. alteon is a rancid script that is not yet a perl module, like your h3crancid > tried to add that in rancid.types.conf > > # HP Comware h3c;alias;h3crancid h

Re: [rancid] change rancid.conf config setting once a week

2021-12-03 Thread heasley
Fri, Dec 03, 2021 at 08:13:22AM -0600, Chris Wopat: > Is there any way to pass these config settings to this separate cron > entry without modifying rancid.conf? The config file looks to be > setting environment variables but I'm unsure if a local environment > variable would override

Re: [rancid] Cisco IOS - "serial number" file changing in flash ?

2021-12-15 Thread heasley
Wed, Dec 15, 2021 at 09:31:24AM -0500, vom513: > I have a Cisco IOS AP (i.e. older standalone/autonomous). Every once in a > while (I don’t see a time pattern here), RANCID sees a change of a file in > flash. > > The file’s name is the PCB serial number of the AP: > > - !Flash: 8 -rwx

Re: [rancid] Cisco IOS - "serial number" file changing in flash ?

2021-12-15 Thread heasley
Wed, Dec 15, 2021 at 03:12:55PM -0500, vom513: > > I have an 891 w/ an embedded ap802; it does not do this. Maybe you have not > > told us enough, but rancid just reports what it receives. So, the file is > > changing. That could be a cisco bug (such as DE's debugging left in a > > production

Re: [rancid] Trying to backup InfiNet Devices

2022-01-12 Thread heasley
Wed, Jan 12, 2022 at 09:40:08PM +, Daniel Thomas: > In order to get the "./rancid -d -t " to work correctly for me I had > to edit the > following two lines in "rancid.types.conf": > infinet;script;rancid -t infinet > infinet;login;infilogin > So that they read as: >

Re: [rancid] Assistance creating a perl module to use with ZPE Systems NodegridOS Devices

2022-02-16 Thread heasley
run not found > devicename: found_end is false > !sed pba version: none > > Did you (or anyone else) ever get further than this with ZPE backups? If one of you shares the raw file and the code, i can try to help resolve that failure. > On Fri, 15 Oct 2021, Mick O'Donovan wrote: &

Re: [rancid] Rancid and Cisco ASA

2022-02-28 Thread heasley
Mon, Feb 28, 2022 at 11:40:06AM -0800, Troy Beisigl: > Hello everyone, > > I have been seeing this happen every time rancid runs on one ASA only. It is > a Cisco FPR running ASA image 9.14(2)15. Has anyone ran into this and is > there a patch? > > !Flash: disk0: 805306526 drwx 4096

Re: [rancid] Password not accepted after restore from Rancid backup

2022-01-31 Thread heasley
Mon, Jan 31, 2022 at 08:10:25AM +, simon ben: > so i realized that after i had restored the backup i had to create user and > assigned a password for him > So just wanted to know if this the right practice i need to go about or do i > need to follow another way There are 2 ways to handle

Re: [rancid] Backing up HP router issue

2022-01-18 Thread heasley
Tue, Jan 18, 2022 at 08:14:33PM +, simon ben: > Dear All, > I have the below > Rancid ver 3.9 running on Centos 8.4 backing up with no issues Cisco Switches > ,Routers and Forgate Firewall I wanted to backup a new HP router but the > config file is emptyI am able to login into the router

Re: [rancid] Trying to backup InfiNet Devices

2022-01-06 Thread heasley
Thu, Jan 06, 2022 at 10:23:44PM +, Daniel Thomas: > Hi > > > > I have been working on getting RANCID to collect configuration information > from some equipment that is made by InfiNet. So far I have been unable to > locate any similar work performed previously and so made a start on getting

Re: [rancid] Ignore Extreme hivemanager account

2022-01-08 Thread heasley
Wed, Jan 05, 2022 at 09:05:51AM -0600, Karl: > Good morning, > > One of the sites where I run RANCID has Extreme switches and also has > the ExtremeCloud IQ web-based management.  The management platform adds > a user account called hivemanager, and it cycles (or at least > re-encrypts) the

Re: [rancid] Ignore Extreme hivemanager account

2022-01-14 Thread heasley
Thu, Jan 13, 2022 at 02:15:34PM -0600, Karl: > I think that did it.  I have this in the diff now from each one. > > - create account admin hivemanager encrypted > "$x$xx$xxx" > + # create account admin hivemanager > Toll! Thanks for

Re: [rancid] Creating a sub directory under root CVS

2022-04-05 Thread heasley
Tue, Apr 05, 2022 at 08:05:32AM +, simon ben: > Dear All, > I have a the below working perfect with no isuesrancid 3.9 with viewvc repo > version 1.3.0attached my current CVS root > Now Remote-Sites is a new folder I created and i need to create > subdirectories ( or folders ) >  under this

Re: [rancid] Beed to create sub folders in CVS

2022-04-14 Thread Heasley
Thu, Apr 14, 2022 at 07:26:09AM +, simon ben: > Dear All, > I had sent an email earlier on the issue of creating sub folders under the > CVS roothere below is my config file .. rancid.con > LIST_OF_GROUPS="Switches Routers DataCentre Firewall BldgA-Switches >

Re: [rancid] Unable to take backup of extreme switch

2023-08-24 Thread heasley
Thu, Aug 24, 2023 at 01:42:58PM +, Zakir Hossain: > Hi, > I think we are trying wrong login script (fnlogin) for extreme switch but > (xlogin) doesn't work because it is for exos and the VSP 7400 switches > whereas we're trying to back up of the following model switch: > VSP Operating System

Re: [rancid] Rancid configuration - switches The following routers have not been successfully contacted for more than 24 hours.

2023-08-31 Thread heasley
Thu, Aug 31, 2023 at 02:52:43PM +0530, Anwar Durrani: > Hi Ugo, > > Earlier My config file /etc/rancid/rancid.type.base looks like If you wish to alter a rancid device type, you should create your own name that does not conflict with one in rancid.types.base, and place it in rancid.types.conf.

Re: [rancid] Aruba instant OS -- dealing with lack of "end" in show configuration

2023-10-16 Thread heasley
Mon, Oct 16, 2023 at 05:31:40PM +, Elliot Wilen: > HI, all, > > I've been working on a .pm file for our Aruba Instant AP setup (which I'm > defining as arubaos in the types file), using foundry.pm as a starting point, > but whenever I run rancid -d -t arubaos , I get "End of run not >

Re: [rancid] Upgrading Rancid

2023-11-02 Thread heasley
Tue, Oct 31, 2023 at 08:41:39AM +, simon ben: > Dear All, > I did the following to upgrade rancid from rancid 3.9 to 3.13 > downloaded the new tar file and unzip in /home/rancid/tar/rancid-3.13 and i > try to run configure it gives me the below error > ./configure --prefix=/usr/local/rancid

Re: [rancid] Upgrading Rancid

2023-10-30 Thread heasley
Sun, Oct 29, 2023 at 05:48:11AM +, simon ben: > Dear All,I have been running rancid for quite sometime an excellent toll and > I need to upgrade > current version is rancid 3.9need to upgrade to 3.13 > Appreciate your kind help and advice > If any one can share a link explaining  upgrade

Re: [rancid] IOS-XR spurious diffs

2023-09-19 Thread heasley
Thu, Sep 14, 2023 at 12:03:04PM -0500, Daniel Schmidt: > Anybody done a patch to get rid of something like this on ios-xr asr? > > - !Flash: harddisk: -rw-r--r--. 1 8388943 Sep 13 00:25 nvgen_bkup.log > + !Flash: harddisk: -rw-r--r--. 1 8388943 Sep 14 00:15 nvgen_bkup.log this should ready be

Re: [rancid] arcos End of run not found

2022-05-27 Thread heasley
Fri, May 27, 2022 at 01:32:20PM -0700, Randy Bush: > PROMPT MATCH: ran...@r2.sea# > HIT COMMAND:ran...@r2.sea# show version > In ShowVersion: ran...@r2.sea# show version > HIT COMMAND:ran...@r2.sea# show hardware | notab > In ShowVersion: ran...@r2.sea# show hardware | notab looks like

Re: [rancid] Dell N series

2022-07-01 Thread heasley
Fri, Jul 01, 2022 at 11:33:42AM -0700, Scott Larsen: > > How can I insert Dell switch into Rancid? > > I capture my C9010 chassis units and MXL-10/40GbE blade switches by using > model type "force10" in the router.db. afaik most dell are just OEMs, so various modules are used. I've commented

Re: [rancid] Spurious diffs on VyOS

2022-07-06 Thread heasley
Tue, Jul 05, 2022 at 09:52:22AM -0500, Adam Korab: > Working on a problem where spurious diffs are received by > rancid (3.13) when executing against a VyOS VM (v1.3.1-S1). > > Given the order of commands here: > > executing vlogin -t 120 -c"show hardware cpu;show hardware dmi;show hardware >

Re: [rancid] Fortigate 7.x filter_osc additional churn

2022-06-02 Thread heasley
Thu, Jun 02, 2022 at 12:31:37PM -0500, Chris Wopat: > Looking to see if we can get an easy patch added to fortigate.pm to filter > out some more filter_osc stuff. for context, in the past some stuff was > added here: > > https://shrubbery.net/pipermail/rancid-discuss/2017-June/009636.html > > We

Re: [rancid] Cisco ISE/ADE-OS backups

2022-07-21 Thread heasley
Thu, Jul 21, 2022 at 07:27:07PM +, AJ Schroeder: > I'll just get this out of the way, I have inherited a customized version of > RANCID (v2.3.8) that we use to backup a bunch of different devices from all > kinds of manufacturers. From what I can tell the customization that has been > done

Re: [rancid] Getting notified on timestamp changes for IOS-XE devices

2022-05-05 Thread heasley
Thu, May 05, 2022 at 04:37:20PM +1200, Daniel Kerse: > I wonder if this should be the default behaviour rather than the exception. > Does anyone really use rancid to track changes to files on their routers? If what should be the default? I'm not sure that I understand; please explain.

Re: [rancid] Getting notified on timestamp changes for IOS-XE devices

2022-05-05 Thread heasley
Mon, May 02, 2022 at 11:19:00PM -0400, Chuck Anderson: > On Mon, May 02, 2022 at 04:38:31PM -1000, Steve O'Brien wrote: > > I have looked at a bunch of similar questions but still have not figured > > out how to get rancid to ignore the timestamp diff in IOS-XE devices. > > > > - !Flash:

Re: [rancid] Getting notified on timestamp changes for IOS-XE devices

2022-05-05 Thread heasley
Wed, May 04, 2022 at 05:38:54PM -1000, Steve O'Brien: > Anyone? Hints, clues, anything? > > On Mon, May 2, 2022 at 4:38 PM Steve O'Brien wrote: > > > I have looked at a bunch of similar questions but still have not figured > > out how to get rancid to ignore the timestamp diff in IOS-XE

Re: [rancid] rancid.types.conf

2022-08-29 Thread heasley
Sat, Aug 27, 2022 at 06:17:33PM -0700, Randy Bush: > >>> is it sufficient to just rename the alias's target, i.e. > >>> > >>> in `/etc/rancid.types.conf` > >>> > >>> juniper;alias;junosx <<<--- > >>> junosx;script;rancid -t junos > >>> junosx;login;jlogin > >>>

Re: [rancid] arcos repeated diffs of ssh keying

2022-08-29 Thread heasley
Sun, Aug 28, 2022 at 10:16:17AM -0700, Randy Bush: > i am getting repeated diffs of the running config because the ssh > config, which has not changed (nothing has) is fooling rancid that > something has changed. > > this began when i added an ssh key > > > ``` > diff --git

Re: [rancid] arcos repeated diffs of ssh keying

2022-08-29 Thread heasley
Mon, Aug 29, 2022 at 09:05:20AM -0700, Randy Bush: > > Since I monitor this device as well, I too saw this. It appears to > > have not displayed the first line of output, then did, repeat once, > > then settled. > > so an oddity in arcos display? if so, given a clean example, i can > chase with

Re: [rancid] rancid.types.conf

2022-08-27 Thread heasley
Sat, Aug 27, 2022 at 05:48:27PM -0700, Randy Bush: > > is it sufficient to just rename the alias's target, i.e. > > > > in `/etc/rancid.types.conf` > > > > juniper;alias;junosx <<<--- > > junosx;script;rancid -t junos > > junosx;login;jlogin > > junosx;timeout;120 > >

Re: [rancid] Script for notification

2022-10-18 Thread heasley
Tue, Oct 18, 2022 at 11:42:17AM -0300, OlivaFN88: > Hi, I'm new here. > > I'm looking for some way to send a report through script, Telegram in my > case. > > Is it possible? How? You have not indicated what you want to send to telegram. I presume that you do not want to send diffs. So, a

Re: [rancid] Script for notification

2022-10-18 Thread heasley
e example appears to create a user whose mbox is used for delivery, then forwarded to telegram. Presumbly this could easily be modified to just read stdin, if you prefer that. > Thank you. > > Em ter., 18 de out. de 2022 às 12:50, heasley escreveu: > > > Tue, Oct 18, 2022 at

Re: [rancid] rancid suddenly stopped backing up devices

2022-10-10 Thread heasley
Mon, Oct 10, 2022 at 10:08:09AM +, simon ben: > ending: Mon Oct 10 11:42:48 +03 > 2022-- > after making small changes the log file > > starting: Mon Oct 10

Re: [rancid] rancid suddenly stopped backing up devices

2022-10-05 Thread heasley
Wed, Oct 05, 2022 at 03:21:42PM +, Adam Thompson: > OK! Having clogin work proves that RANCID can connect to the host and (I > assume?) authenticate. yes. > No change in the SVN/GIT/whatever-you-use could mean that either RANCID > wasn’t able to retrieve the configuration, wasn’t able to

Re: [rancid] Removal of a Device Group

2022-08-17 Thread heasley
Wed, Aug 17, 2022 at 03:55:36PM +, Piegorsch, Weylin William: > I have three groups that I want to remove from RANCiD (version 3.4) w/ CVS. > I've seen previous posts about *completely* removing groups, but I'd like to > keep the attic. > - one group is depopulated (that is, nothing in

Re: [rancid] End of run not found

2022-11-21 Thread heasley
Fri, Nov 18, 2022 at 09:22:18PM -0800, Randy Bush: > bin/rancid version 3.13.99 calling Getopt::Std::getopts (version 1.12 > [paranoid]), > running under Perl version 5.32.1. > > arrcus arcos after upgrade from 4.3.1 to 5.1.1 > > Trying to get all of the configs. > r2.sea.rg.net: missed

Re: [rancid] Arista Spurious Diffs

2023-01-20 Thread heasley
Fri, Jan 20, 2023 at 02:16:21PM -1000, Steve O'Brien: > I have just started to deploy Arista switches in my mostly Cisco network. > My first one that I added to Rancid is sending diffs every run: > > Index: configs/switch > === >

Re: [rancid] HP procurve backup extra commands

2022-11-01 Thread heasley
Tue, Nov 01, 2022 at 10:26:02AM +, Eckersley, Alex: > Hi, > > I want to get some extra information from HP procurves that we use, like > "show lldp info remote-device" or "show cdp neighbors". > The backup works well but I have no clue where to add these extra commands... > can someone

Re: [rancid] Arista Spurious Diffs EOS 4.29.2

2023-04-04 Thread heasley
Tue, Apr 04, 2023 at 07:16:28AM -1000, Steve O'Brien: > Installed new Arista EOS version and seeing these every run: > > > - ! Image: Uptime: 4 days, 18 hours and 50 minutes > + ! Image: Uptime: 4 days, 19 hours and 50 minutes > ! Image: Total memory: 3982764 kB > - ! Image: Free memory:

Re: [rancid] login script for PaloAlto PA850

2023-04-07 Thread heasley
Thu, Apr 06, 2023 at 12:11:26PM +, Adam Thompson: > Just a reminder that the "set" output cannot always be uploaded directly to a > PA in a disaster scenario, only the XML can be used for that. You can try to > paste in the "set" output through either the serial port or an SSH session >

Re: [rancid] login script for PaloAlto PA850

2023-04-06 Thread heasley
Thu, Apr 06, 2023 at 02:36:35PM +0530, Anwar Durrani: > Thanks heasley for reaching out, yes i have intentionally took off domain > part for security reasons You might have misunderstood. > > > Firewall1.yourdomain.com;paloalto;up > > > > to be pedantic, additiona

Re: [rancid] login script for PaloAlto PA850

2023-04-05 Thread heasley
Wed, Apr 05, 2023 at 07:21:17AM -0400, Chris Weakland: > Palo Alto support has bee. built into Rancid for some time, no need for any additional scripts. The device type is: paloalto indeed; there is also device type paloaltoxml for the xml config. > Your router.db looks incorrect, it should

Re: [rancid] PAR Not Changing Process Counts

2023-07-14 Thread heasley
Thu, Jul 13, 2023 at 03:42:29AM +, Piegorsch, Weylin William: > I worked with Heasley (very) sporadically over the past few years on this. > Short version: control-rancid has around line 122: > > > if [ -z "$ENVFILE" ] ; then > > ENVFILE=&quo

Re: [rancid] .cloginrc pass in cleartext?

2023-05-05 Thread heasley
> At the end of the day, rancid is an automated solution trying to connect to > devices that require authentication. The details need to be stored somewhere > on the system that runs rancid, and if they are available to rancid, they are > available to anyone who can gain rancid's permissions

Re: [rancid] Unable to Login via clogin

2023-05-04 Thread heasley
Thu, May 04, 2023 at 12:53:22PM +, Piegorsch, Weylin William: > Good question, I’m not claiming to be expert on reading the output but I’m > not seeing anything glaring. It’s almost like clogin isn’t using my password > if you privately share your cloginrc with me, I'll help you debug it:

Re: [rancid] adding a "new" type for axos

2023-12-11 Thread heasley
Sun, Dec 10, 2023 at 11:18:53PM -0500, Jon Lewis: > On Sat, 9 Dec 2023, Jon Lewis wrote: > > > --- ios.pm.orig 2020-10-15 11:26:17.0 -0400 > > +++ ios.pm 2023-12-09 22:21:50.408683973 -0500 > > @@ -2787,7 +2794,7 @@ > > # The ContentEngine lacks a definitive "end of config"

Re: [rancid] Problem with Dell S4148F-ON

2023-12-01 Thread heasley
Fri, Dec 01, 2023 at 10:39:29AM +, michael gauthier: > Hello, > > I'm trying to integrate Dell switching S4148F-ON (Dell EMC Networking OS10 > Enterprise) but whatever type I'm choosing I have error. > > With dnos10: > > rancid@vm:~$ NOPIPE=yes rancid -d -t dnos10 switch1 > loadtype:

Re: [rancid] Netgear switches in 2023 (or 2024)

2023-12-08 Thread heasley
idea, so will see if anyone else volunteers. Best if I could access it myself, but if the login script was well tested, then just the complete transcript of the login might be enough. > Linwood > > > > -Original Message- > From: heasley > Sent: Friday

Re: [rancid] Netgear switches in 2023 (or 2024)

2023-12-08 Thread heasley
Wed, Dec 06, 2023 at 08:56:55PM +, Adam Thompson: > I happen to know the answer to that! The M4250 is CLI-manageable and > configurable. The key term in Netgear-ese is "Fully Managed", which means > full CLI, SNMP, as well as WebUI. Doesn't mean they didn't forget to include > some

Re: [rancid] Netgear switches in 2023 (or 2024)

2023-12-08 Thread heasley
Fri, Dec 08, 2023 at 03:34:46PM +, o...@leferguson.com: > I am unclear on terminology, and sure you don't mean just a login, but the > output of a bunch of show commands? Is there a sequence I feed it or > something that might give you what you want? (I can guess and just give the >

Re: [rancid] Netgear switches in 2023 (or 2024)

2023-12-08 Thread heasley
Fri, Dec 08, 2023 at 03:42:42PM +, o...@leferguson.com: > > > Right, so that I can see its behavior, the complete output from: > > loginscript -c 'cmd;cmd;...' hostname > output 2>&1 > > Perfect. And cmd are each show. Let me clear it with my contact there, but I > think that will be

Re: [rancid] Netgear switches in 2023 (or 2024)

2023-12-06 Thread heasley
Wed, Dec 06, 2023 at 06:00:08PM +, o...@leferguson.com: > I have several clients for whom I use rancid and they are all cisco. > > I have one who had a horrible mixture of D-Link, Cisco, Netgear, etc. Over > years I modified, kludged, hacked and re-kludged rancid trying to make it >

Re: [rancid] Harddisk on IOX-XR

2024-01-31 Thread heasley
d. 4) Option 1 + one of options 2 or 3. Opinions? > from Affa Pan > > heasley 於 2024年1月30日 上午7:18 寫道: > > Wed, Jan 17, 2024 at 01:46:44PM -0600, Daniel Schmidt: > This one's driving me nuts. > > -!Flash: harddisk: 22 GB total (93% free) > +!Flash: harddisk: 22 GB

Re: [rancid] Harddisk on IOX-XR

2024-01-29 Thread heasley
Wed, Jan 17, 2024 at 01:46:44PM -0600, Daniel Schmidt: > This one's driving me nuts. > > -!Flash: harddisk: 22 GB total (93% free) > +!Flash: harddisk: 22 GB total (94% free) > ! > !0/RP0-IDPROM - ASR 9900 Fixed Chassis Route Processor > > Slight modification somewhere in here? you mean that

Re: [rancid] look ma, no hardware

2024-05-07 Thread heasley
Tue, May 07, 2024 at 10:05:45AM -0700, Randy Bush: > i have some foo routers, mostly hardware, but two VMs. in the latter, > `show hardware` does not work very well :) > > do i have to clone the router type, or is there a hack to just say 'skip > this section for this router? generally, i've

Re: [rancid] Draft config for IOS-XR 7.x on Cisco NCS

2020-04-09 Thread john heasley
Thu, Apr 09, 2020 at 08:11:15PM +, Bill Owens: > After many years of trouble-free RANCID use, we ran into a snag trying to get > our shiny new Cisco NCS 5000 router into the system. It appears there were > significant CLI changes between 6.x and 7.x, primarily the complete > elimination of

Re: [rancid] no CVS directory created for new groups

2020-04-28 Thread john heasley
Tue, Apr 28, 2020 at 02:05:00PM +, Charles T. Brooks: > If you haven't defined CVSROOT then CVS won't know where to create CVS > objects, n'est-ce pas? > > Until you define it, CVS can't work.  Google your error message. > > CVSROOT is usually set in a bash profile (or whatever login

Re: [rancid] fortigate 100E hourly changes not filtered

2020-04-28 Thread john heasley
Tue, Apr 28, 2020 at 08:24:01PM +, Tim McIntire: > Hi All, > > Having a problem with Rancid 3.9 with Fortigate 100E firewall. Each hour, > the config is updated with new Virus files and it is triggering an > update/email for the change. > > Here is the delta: > > @@ -1,12 +1,12 @@ > >

Re: [rancid] Rancid 3.10 and ASA 9.14 failing?

2020-05-04 Thread john heasley
Mon, May 04, 2020 at 06:23:32PM -0500, Ryan Gelobter: > Maybe there's an option or a patch I'm missing but I've noticed if I have > that on, rancid fails to backup because it messes with the first line it > expects when it logs in. I think this is what you're looking for, also in rancid 3.8:

Re: [rancid] misc questions

2020-05-12 Thread john heasley
Tue, May 12, 2020 at 07:12:41PM +, Wayne Eisenberg: > Hi, > > I'm sure it's there and I'm just not searching properly, but how does rancid > stop the '--More--' prompt on Catalyst switches? I usually see/use 'terminal > length 0' , but I don't find that in the rancid.pm or ios.pm modules.

Re: [rancid] Temp disable a device in rancid

2020-05-08 Thread john heasley
Fri, May 08, 2020 at 05:13:24PM +0100, Craig Hopkins: > In your router.db file mark them as down FWIW, anything other than 'up' is considered 'down'; meaning that you can mark these devies with some other tag, such as "temporarily_disabled". A trailing field may also exist, such as:

Re: [rancid] Backuping a Fortinet devices with vdoms.

2020-03-19 Thread john heasley
Wed, Mar 18, 2020 at 12:46:17PM +0800, James Andrewartha: > Hi, > > On 17/3/20 3:19 am, sebastien.boulia...@cpu.ca wrote: > > Is it possible to know if this issue still exist ? > > > > https://medium.com/@schweikert/backing-up-fortinet-devices-with-rancid-c990f5251ed0 > >   > > Does Rancid

Re: [rancid] Palo Alto (Panorama) configuration

2020-08-13 Thread john heasley
Thu, Aug 13, 2020 at 11:26:35AM +, Abagiu Andreia-Elena: > Instead of show system info, show chassis inventory and show config, I would > be more interested in extracting the running configuration for a single > customer (not for the whole Panorama - all the Firewalls - as per default). >

Re: [rancid] Cisco devices and calculating percent free

2020-11-12 Thread john heasley
Thu, Nov 12, 2020 at 07:19:36AM -0600, Chris Wopat: > I recently updated to v3.13, I do not recall exactly what version I > was on but it was >1 year old, and could've been HEAD based on some > previous debugging of other issues. > > Anyhow, we have many IOS devices that calculate percent free

Re: [rancid] Cisco devices and calculating percent free

2020-11-19 Thread john heasley
Fri, Nov 13, 2020 at 01:03:54PM +, Pan Affa: > I’m expecting the postscript filter because there more and more files in > flash. I need per-device per-tag postscript filter. > > from Affa Pan > > or, i have almost finished an option for a user-defined per-device type > > postscript filter.

Re: [rancid] Cisco devices and calculating percent free

2020-11-19 Thread john heasley
Fri, Nov 13, 2020 at 04:27:02PM +, Emille Blanc: > Our patch around this (pre RANCID v3.10) was not to ignore the disk space, > but rather impose an upper ceiling for our ASR920's. > Eg; > - !Flash: bootflash: 1339412480 bytes total (470 MB free) > + !Flash: bootflash: 1339412480 bytes total

Re: [rancid] Problem after Ubuntu-upgrade

2021-02-09 Thread john heasley
the system. You probably need a clean working copy. cd mv .old svn co `(cd .old; svn info --show-item url)` > But thanks, I think that I look that error from SVN then. > > -mikko > > > ________ > Lähettäjä: john heasley > Lähetetty: 8. he

Re: [rancid] lenovo switches

2021-02-11 Thread john heasley
Wed, Feb 10, 2021 at 10:59:21AM +0100, krashoverr...@free.fr: > Good morning list, > > Has any of you successfully backed-up a Lenovo switch config ? > I'm trying to figure out what's not working, starting from Cisco templates > and adjusting here and there, however it does not work. > Basically