From linuxthreads at gmail.com Tue Apr 2 07:42:26 2019 From: linuxthreads at gmail.com (Linux Threads) Date: Tue, 2 Apr 2019 09:42:26 +0200 Subject: [rancid] Fortigate updates Antivirus db IPS db hogging rancid In-Reply-To: <20190329162447.GE92250@shrubbery.net> References: <20190329162447.GE92250@shrubbery.net> Message-ID: HI Rancid Community, Thank you Heasley, that seem to have done the trick, rancid.conf:FILTER_OSC=ALL Regards Juan On Fri, 29 Mar 2019 at 18:24, heasley wrote: > 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 statuses > > > > help would be apprenticed greatly > > > > extract /etc/rancid/rancid.types.base > > > > # > > fortigate-full;script;rancid -t fortigate > > fortigate-full;login;fnlogin > > fortigate-full;timeout;90 > > fortigate-full;module;fortigate > > fortigate-full;inloop;fortigate::inloop > > #fortigate-full;command;fortigate::GetSystem;get system status > > fortigate-full;command;fortigate::GetConf;show full-configuration > > > > eg: output in rancid update > > > > retrieving revision 1.176 > > diff -u -4 -r1.176 fortigate-fw > > @@ -1,9 +1,9 @@ > > #RANCID-CONTENT-TYPE: fortigate > > # > > #Version: FortiGate-100E v6.0.3,build0200,181009 (GA) > > - #Virus-DB: 67.00399(2019-03-29 23:15) > > - #Extended DB: 67.00399(2019-03-29 23:15) > > + #Virus-DB: 67.00401(2019-03-29 01:15) > > + #Extended DB: 67.00401(2019-03-29 01:15) > > these will be filtered with rancid.conf:FILTER_OSC=ALL > > > #IPS-DB: 14.00582(2019-03-28 00:00) > > #IPS-ETDB: 0.00000(2001-01-01 00:00) > > #APP-DB: 14.00582(2019-03-28 00:00) > > #INDUSTRIAL-DB: 6.00741(2015-12-01 02:30) > > > > Regards > > > > Juan > > > _______________________________________________ > > Rancid-discuss mailing list > > Rancid-discuss at shrubbery.net > > http://www.shrubbery.net/mailman/listinfo/rancid-discuss > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tdavis at rakuten.overdrive.com Thu Apr 11 14:14:57 2019 From: tdavis at rakuten.overdrive.com (Thad Davis) Date: Thu, 11 Apr 2019 14:14:57 +0000 Subject: [rancid] Rancid - Changing Config Backup Directory Message-ID: 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 UNC network path to a windows server? If this is possible, can you tell me which file to edit with the new save location? Thad Davis, Systems Administrator I Information Technology Phone: +1 216-573-6886 x 1562 Fax: +1 216-573-6888 tdavis at rakuten.overdrive.com Rakuten OverDrive The Leading Digital Reading Platform for Libraries & Schools World Headquarters | One OverDrive Way | Cleveland, Ohio 44125 USA www.overdrive.com Proud to be a Certified B Corp Confidentiality Notice: This email and any attachments are OverDrive Confidential for the sole use of the intended recipient. Any review, copying, or distribution of this email and attachments by others is strictly prohibited. If you are not the intended recipient, please contact the sender immediately and permanently delete any copies of this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: From troyb at spacelink.com Thu Apr 11 16:31:05 2019 From: troyb at spacelink.com (Troy Beisigl) Date: Thu, 11 Apr 2019 09:31:05 -0700 Subject: [rancid] Entries disappear and re appear. Message-ID: <841A7D21-8B83-41D8-BDD0-6047FA880DF9@spacelink.com> 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 Mikrotik, it shows that the console port name changed to nothing and then the next time shows that it came back as serial0. The name is not actually changing. For the ASA, the entry !BootFlash: BOOT variable = disk0:/asa917-19-k8.bin will show in one config and the next time it shows !BootFlash: BOOT variable = The boot variable is not actually changing, so I have to wonder if this is a bug. We are running rancid version 3.8. Has anyone run into these issues and is there a fix for them? Best, -Troy From heas at shrubbery.net Thu Apr 11 16:31:36 2019 From: heas at shrubbery.net (heasley) Date: Thu, 11 Apr 2019 16:31:36 +0000 Subject: [rancid] Rancid - Changing Config Backup Directory In-Reply-To: References: Message-ID: <20190411163136.GB58744@shrubbery.net> Thu, Apr 11, 2019 at 02:14:57PM +0000, 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 UNC network path to a windows server? If this is possible, can you tell me which file to edit with the new save location? you can use a symlink. or move it and update rancid.conf. but, the SCMs use filesystem locking to ensure that processes do not collide. the onus is yours to ensure that your NFS supports locking properly (I can not advise you about Windows; suggest that such questions are directed to a Windows forum). I would instead recommend that you switch to git and add a secondary remote (see the rancid FAQ). From heas at shrubbery.net Thu Apr 11 16:47:00 2019 From: heas at shrubbery.net (heasley) Date: Thu, 11 Apr 2019 16:47:00 +0000 Subject: [rancid] Entries disappear and re appear. In-Reply-To: <841A7D21-8B83-41D8-BDD0-6047FA880DF9@spacelink.com> References: <841A7D21-8B83-41D8-BDD0-6047FA880DF9@spacelink.com> Message-ID: <20190411164700.GC58744@shrubbery.net> 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 Mikrotik, it shows that the console port name changed to nothing and then the next time shows that it came back as serial0. The name is not actually changing. > > For the ASA, the entry !BootFlash: BOOT variable = disk0:/asa917-19-k8.bin will show in one config and the next time it shows !BootFlash: BOOT variable = > > The boot variable is not actually changing, so I have to wonder if this is a bug. > > We are running rancid version 3.8. > > Has anyone run into these issues and is there a fix for them? the ASA is probably a bug in the ASA. I've seen it on IOSXE. no idea about the microtik; possibly rancid isnt able to disable the pager and thats causing some problem? I'd manually collect the raw output repeatedly in an attempt to catch it occuring. See FAQ S3Q2. From emille at abccommunications.com Thu Apr 11 16:51:20 2019 From: emille at abccommunications.com (Emille Blanc) Date: Thu, 11 Apr 2019 09:51:20 -0700 Subject: [rancid] Entries disappear and re appear. In-Reply-To: <841A7D21-8B83-41D8-BDD0-6047FA880DF9@spacelink.com> References: <841A7D21-8B83-41D8-BDD0-6047FA880DF9@spacelink.com> Message-ID: <4FBAFC2ECF5D6244BA4A26C1C94A1E27152769D026@exchange> > 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. We're still running 3.6.1, and haven't seen any such issues with any of our ASA's (None are running version 9 though). Does it only happen when rancid is run from cron? Or can you reproduce when running rancid manually? > 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 config from the output, or selectively random blocks of config (Interfaces, GPS, firmware and version stats), but we just summed that up as another of Mikrotik's long line of humble quirks. -----Original Message----- From: Rancid-discuss [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Troy Beisigl Sent: Thursday, April 11, 2019 9:31 AM To: rancid-discuss at shrubbery.net Subject: [rancid] Entries disappear and re appear. 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 Mikrotik, it shows that the console port name changed to nothing and then the next time shows that it came back as serial0. The name is not actually changing. For the ASA, the entry !BootFlash: BOOT variable = disk0:/asa917-19-k8.bin will show in one config and the next time it shows !BootFlash: BOOT variable = The boot variable is not actually changing, so I have to wonder if this is a bug. We are running rancid version 3.8. Has anyone run into these issues and is there a fix for them? Best, -Troy _______________________________________________ Rancid-discuss mailing list Rancid-discuss at shrubbery.net http://www.shrubbery.net/mailman/listinfo/rancid-discuss From doug.hughes at keystonenap.com Thu Apr 11 17:16:43 2019 From: doug.hughes at keystonenap.com (Doug Hughes) Date: Thu, 11 Apr 2019 13:16:43 -0400 Subject: [rancid] Rancid - Changing Config Backup Directory In-Reply-To: References: Message-ID: <6f5e0a22-a685-7604-bf26-7ed2103e7715@keystonenap.com> 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. On 4/11/2019 10:14 AM, Thad Davis wrote: > > 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 UNC network path to a windows server? If this is > possible, can you tell me which file to edit with the new save location? > > ? > > *Thad Davis*, /Systems Administrator I/ > > /Information Technology/ > > Phone: +1 216-573-6886 x 1562 > > Fax: +1 216-573-6888 > > tdavis at rakuten.overdrive.com > > *?* > > *Rakuten OverDrive^? */The Leading Digital Reading Platform for > Libraries & Schools?? / > > World Headquarters | One OverDrive Way | Cleveland, Ohio 44125? USA > > www.overdrive.com ??? Proud to be a > Certified B Corp > > ? > > Confidentiality Notice:? This email and any attachments are OverDrive > Confidential for the sole use of the intended recipient.? Any review, > copying, or distribution of this email and attachments by others is > strictly prohibited. If you are not the intended recipient, please > contact the sender immediately and permanently delete any copies of > this email. > > ? > > > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at shrubbery.net > http://www.shrubbery.net/mailman/listinfo/rancid-discuss -- Doug Hughes Keystone NAP Fairless Hills, PA 1.844.KEYBLOCK (439.2562) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pEpkey.asc Type: application/pgp-keys Size: 1774 bytes Desc: not available URL: From heas at shrubbery.net Thu Apr 11 17:34:12 2019 From: heas at shrubbery.net (heasley) Date: Thu, 11 Apr 2019 17:34:12 +0000 Subject: [rancid] Rancid - Changing Config Backup Directory In-Reply-To: <6f5e0a22-a685-7604-bf26-7ed2103e7715@keystonenap.com> References: <6f5e0a22-a685-7604-bf26-7ed2103e7715@keystonenap.com> Message-ID: <20190411173412.GA61209@shrubbery.net> 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 "clone"ing in git retains your history (ie: is complete). which is why i suggested switching. From heas at shrubbery.net Thu Apr 11 18:54:56 2019 From: heas at shrubbery.net (heasley) Date: Thu, 11 Apr 2019 18:54:56 +0000 Subject: [rancid] Entries disappear and re appear. In-Reply-To: <4FBAFC2ECF5D6244BA4A26C1C94A1E27152769D026@exchange> References: <841A7D21-8B83-41D8-BDD0-6047FA880DF9@spacelink.com> <4FBAFC2ECF5D6244BA4A26C1C94A1E27152769D026@exchange> Message-ID: <20190411185456.GA18692@shrubbery.net> 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 config from the output, or selectively random blocks of config (Interfaces, GPS, firmware and version stats), but we just summed that up as another of Mikrotik's long line of humble quirks. > while i've heard similar comments and have none of these boxes myself, its possible that there is a problem with the rancid mikrotik support. if someone wants to give me remote access to one, i can verify/improve the rancid support for it. From rancid at ale.cx Fri Apr 12 08:39:42 2019 From: rancid at ale.cx (Alex DEKKER) Date: Fri, 12 Apr 2019 09:39:42 +0100 Subject: [rancid] Entries disappear and re appear. In-Reply-To: <20190411185456.GA18692@shrubbery.net> References: <841A7D21-8B83-41D8-BDD0-6047FA880DF9@spacelink.com> <4FBAFC2ECF5D6244BA4A26C1C94A1E27152769D026@exchange> <20190411185456.GA18692@shrubbery.net> Message-ID: <863b9cb2-26aa-3236-6502-cb0894bf0292@ale.cx> On 11/04/2019 19:54, heasley wrote: > Thu, Apr 11, 2019 at 09:51:20AM -0700, Emille Blanc: >> >> Overall, our experience with Mikrotiks have been pretty poor. >> They frequently drop their entire config from the output, or selectively random blocks of config (Interfaces, GPS, firmware and version stats), but we just summed that up as another of Mikrotik's long line of humble quirks. >> I've never had any problems of this nature with Mikrotik devices, although I only have about 5 of them on RANCID. > while i've heard similar comments and have none of these boxes myself, its > possible that there is a problem with the rancid mikrotik support. if > someone wants to give me remote access to one, i can verify/improve the > rancid support for it. You can spin up a virtual one for free. It will be limited to 1Mbps but that is adequate for testing the RANCID module, I'm sure. https://wiki.mikrotik.com/wiki/Manual:CHR alexd From Charles.Brooks at hbcs.org Fri Apr 12 13:13:21 2019 From: Charles.Brooks at hbcs.org (Charles T. Brooks) Date: Fri, 12 Apr 2019 13:13:21 +0000 Subject: [rancid] Rancid - Changing Config Backup Directory In-Reply-To: References: Message-ID: Use git. You won't regret it. The command syntax will seem abstruse at first, because it is, but that's par for the course for version control software. They all have profoundly stupid and clumsy command interfaces. Git can automatically propagate (i.e. backup) to any number of other systems. Google "git hooks" and you should be able to figure out something suited to your particular situation. --Charlie ________________________________ From: Rancid-discuss [rancid-discuss-bounces at shrubbery.net] on behalf of Thad Davis [tdavis at rakuten.overdrive.com] Sent: Thursday, April 11, 2019 10:14 AM To: rancid-discuss at shrubbery.net Subject: [rancid] Rancid - Changing Config Backup Directory 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 UNC network path to a windows server? If this is possible, can you tell me which file to edit with the new save location? Thad Davis, Systems Administrator I Information Technology Phone: +1 216-573-6886 x 1562 Fax: +1 216-573-6888 tdavis at rakuten.overdrive.com Rakuten OverDrive The Leading Digital Reading Platform for Libraries & Schools World Headquarters | One OverDrive Way | Cleveland, Ohio 44125 USA www.overdrive.com Proud to be a Certified B Corp Confidentiality Notice: This email and any attachments are OverDrive Confidential for the sole use of the intended recipient. Any review, copying, or distribution of this email and attachments by others is strictly prohibited. If you are not the intended recipient, please contact the sender immediately and permanently delete any copies of this email. ------------------ CONFIDENTIALITY NOTICE --------------- This message, including any attachments, is for the sole use of the intended recipient(s) and may contain privileged confidential information protected by law. Any unauthorized review, use, disclosure or distribution of this message is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of this message. ------------------ CONFIDENTIALITY NOTICE --------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From troyb at spacelink.com Fri Apr 12 15:35:07 2019 From: troyb at spacelink.com (Troy Beisigl) Date: Fri, 12 Apr 2019 08:35:07 -0700 Subject: [rancid] Entries disappear and re appear. In-Reply-To: <863b9cb2-26aa-3236-6502-cb0894bf0292@ale.cx> References: <841A7D21-8B83-41D8-BDD0-6047FA880DF9@spacelink.com> <4FBAFC2ECF5D6244BA4A26C1C94A1E27152769D026@exchange> <20190411185456.GA18692@shrubbery.net> <863b9cb2-26aa-3236-6502-cb0894bf0292@ale.cx> Message-ID: <27B60ED7-BB36-42D8-9543-29D9E4A61846@spacelink.com> Thanks. We are seeing it happen randomly across 17 RB3011UiAS-RM. It only happens every day or 2 and only happens to 1 or 2 units each time. The version of Rancid we are running was a fresh install on a new machine about 30 days ago, so wondering if it is something not setup correctly or if it is a bug with the plugins. Best, -Troy > 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 have been pretty poor. >>> They frequently drop their entire config from the output, or selectively random blocks of config (Interfaces, GPS, firmware and version stats), but we just summed that up as another of Mikrotik's long line of humble quirks. >>> > I've never had any problems of this nature with Mikrotik devices, although I only have about 5 of them on RANCID. > >> while i've heard similar comments and have none of these boxes myself, its >> possible that there is a problem with the rancid mikrotik support. if >> someone wants to give me remote access to one, i can verify/improve the >> rancid support for it. > > You can spin up a virtual one for free. It will be limited to 1Mbps but that is adequate for testing the RANCID module, I'm sure. > > https://wiki.mikrotik.com/wiki/Manual:CHR > > alexd > > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at shrubbery.net > http://www.shrubbery.net/mailman/listinfo/rancid-discuss From troyb at spacelink.com Fri Apr 12 15:40:30 2019 From: troyb at spacelink.com (Troy Beisigl) Date: Fri, 12 Apr 2019 08:40:30 -0700 Subject: [rancid] Entries disappear and re appear. In-Reply-To: <20190411164700.GC58744@shrubbery.net> References: <841A7D21-8B83-41D8-BDD0-6047FA880DF9@spacelink.com> <20190411164700.GC58744@shrubbery.net> Message-ID: <5853A925-085A-4279-BDAA-ACB21407D71D@spacelink.com> A strange thing has happened after removing the ASA host from rancid and adding it under the name it should have been identified as, the issue has stopped. It has been 24 hours with 12 rancid runs and no issues on the ASA. So I am not sure how changing the name of the device would impact that, but it would see that this might be resolved for now. Still the random issue with the Mikrotiks though. -Troy > On Apr 11, 2019, at 9:47 AM, heasley wrote: > > 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 Mikrotik, it shows that the console port name changed to nothing and then the next time shows that it came back as serial0. The name is not actually changing. >> >> For the ASA, the entry !BootFlash: BOOT variable = disk0:/asa917-19-k8.bin will show in one config and the next time it shows !BootFlash: BOOT variable = >> >> The boot variable is not actually changing, so I have to wonder if this is a bug. >> >> We are running rancid version 3.8. >> >> Has anyone run into these issues and is there a fix for them? > > the ASA is probably a bug in the ASA. I've seen it on IOSXE. > > no idea about the microtik; possibly rancid isnt able to disable the > pager and thats causing some problem? > > I'd manually collect the raw output repeatedly in an attempt to catch it > occuring. See FAQ S3Q2. From m_zouhairy at skno.by Mon Apr 15 08:17:59 2019 From: m_zouhairy at skno.by (Vacheslav Zouhairy) Date: Mon, 15 Apr 2019 11:17:59 +0300 Subject: [rancid] Entries disappear and re appear. In-Reply-To: <5853A925-085A-4279-BDAA-ACB21407D71D@spacelink.com> References: <841A7D21-8B83-41D8-BDD0-6047FA880DF9@spacelink.com> <20190411164700.GC58744@shrubbery.net> <5853A925-085A-4279-BDAA-ACB21407D71D@spacelink.com> Message-ID: <35a510daaf7ded94a9fac4eafe178e8a59dc9f7e.camel@skno.by> are you using dns, ptr, or hosts file? >On Fri, 2019-04-12 at 08:40 -0700, Troy Beisigl wrote: > A strange thing has happened after removing the ASA host from rancid > and adding it under the name it should have been identified as, the > issue has stopped. It has been 24 hours with 12 rancid runs and no > issues on the ASA. So I am not sure how changing the name of the > device would impact that, but it would see that this might be > resolved for now. > > Still the random issue with the Mikrotiks though. > > -Troy > > > On Apr 11, 2019, at 9:47 AM, heasley wrote: > > > > 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 Mikrotik, it shows that the console port name changed to > > > nothing and then the next time shows that it came back as > > > serial0. The name is not actually changing. > > > > > > For the ASA, the entry !BootFlash: BOOT variable = disk0:/asa917- > > > 19-k8.bin will show in one config and the next time it shows > > > !BootFlash: BOOT variable = > > > > > > The boot variable is not actually changing, so I have to wonder > > > if this is a bug. > > > > > > We are running rancid version 3.8. > > > > > > Has anyone run into these issues and is there a fix for them? > > > > the ASA is probably a bug in the ASA. I've seen it on IOSXE. > > > > no idea about the microtik; possibly rancid isnt able to disable > > the > > pager and thats causing some problem? > > > > I'd manually collect the raw output repeatedly in an attempt to > > catch it > > occuring. See FAQ S3Q2. > > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at shrubbery.net > http://www.shrubbery.net/mailman/listinfo/rancid-discuss From cgauthier at comscore.com Tue Apr 16 14:02:56 2019 From: cgauthier at comscore.com (Gauthier, Chris) Date: Tue, 16 Apr 2019 14:02:56 +0000 Subject: [rancid] Rancid - Changing Config Backup Directory In-Reply-To: <20190411173412.GA61209@shrubbery.net> References: <6f5e0a22-a685-7604-bf26-7ed2103e7715@keystonenap.com> <20190411173412.GA61209@shrubbery.net> Message-ID: We setup rancid and, more specifically Git, to automatically push the local repo commit by rancid to the remote repo. This eliminates having to mount filesystems and gives you a nice backup. Plus, if the remote repo has a GUI, you can have "pretty" access to your backups. --Chris ? Chris Gauthier Senior Network Engineer | Comscore t +1 (503) 331-2704 | cgauthier at comscore.com comscore.com ???This e-mail (including any attachments) may contain information that is private, confidential, or protected by attorney-client or other privilege. If you received this e-mail in error, please delete it from your system and notify sender. -----Original Message----- From: Rancid-discuss on behalf of heasley Date: Thursday, April 11, 2019 at 10:34 AM To: Doug Hughes Cc: "rancid-discuss at shrubbery.net" Subject: Re: [rancid] Rancid - Changing Config Backup Directory 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 "clone"ing in git retains your history (ie: is complete). which is why i suggested switching. _______________________________________________ Rancid-discuss mailing list Rancid-discuss at shrubbery.net https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fwww.shrubbery.net%2fmailman%2flistinfo%2francid-discuss&c=E,1,QNZM_M0-PNNFhDRUF27PmPUeWohe0xKxI1k8LqqOYPhPlUc7TqZXE26CxwPyE2Jpu27DyhjCLoXAvRWSi0CYjKihQIzwo3S2zxk35fM0Ln4XbnkJPPOP0ZY,&typo=1 -------------- next part -------------- An HTML attachment was scrubbed... URL: From shouldbeq931 at gmail.com Tue Apr 16 16:26:22 2019 From: shouldbeq931 at gmail.com (shouldbe q931) Date: Tue, 16 Apr 2019 17:26:22 +0100 Subject: [rancid] Rancid - Changing Config Backup Directory In-Reply-To: References: <6f5e0a22-a685-7604-bf26-7ed2103e7715@keystonenap.com> <20190411173412.GA61209@shrubbery.net> Message-ID: On Tue, Apr 16, 2019 at 3:03 PM Gauthier, Chris wrote: > We setup rancid and, more specifically Git, to automatically push the > local repo commit by rancid to the remote repo. This eliminates having to > mount filesystems and gives you a nice backup. Plus, if the remote repo has > a GUI, you can have "pretty" access to your backups. > > --Chris > > > ? > Chris Gauthier Senior Network Engineer | Comscore > t +1 *(503) 331-2704* <(503)%20331-2704> | > *cgauthier at comscore.com* > *comscore.com* > This e-mail (including any attachments) may contain information that is > private, confidential, or protected by attorney-client or other privilege. > If you received this e-mail in error, please delete it from your system and > notify sender. > -----Original Message----- > From: Rancid-discuss on behalf of > heasley > Date: Thursday, April 11, 2019 at 10:34 AM > To: Doug Hughes > Cc: "rancid-discuss at shrubbery.net" > Subject: Re: [rancid] Rancid - Changing Config Backup Directory > > 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 "clone"ing in git retains your history (ie: is complete). which is > why i suggested switching. > Git with a hook is the tidiest, but if there is an existing CVS repo, then rsync with --cvs-exclude etc could be an option. Cheers Arne -------------- next part -------------- An HTML attachment was scrubbed... URL: From heas at shrubbery.net Wed Apr 17 22:00:14 2019 From: heas at shrubbery.net (heasley) Date: Wed, 17 Apr 2019 22:00:14 +0000 Subject: [rancid] Entries disappear and re appear. In-Reply-To: <27B60ED7-BB36-42D8-9543-29D9E4A61846@spacelink.com> References: <841A7D21-8B83-41D8-BDD0-6047FA880DF9@spacelink.com> <4FBAFC2ECF5D6244BA4A26C1C94A1E27152769D026@exchange> <20190411185456.GA18692@shrubbery.net> <863b9cb2-26aa-3236-6502-cb0894bf0292@ale.cx> <27B60ED7-BB36-42D8-9543-29D9E4A61846@spacelink.com> Message-ID: <20190417220014.GO63156@shrubbery.net> Fri, Apr 12, 2019 at 08:35:07AM -0700, Troy Beisigl: > Thanks. We are seeing it happen randomly across 17 RB3011UiAS-RM. It only happens every day or 2 and only happens to 1 or 2 units each time. The version of Rancid we are running was a fresh install on a new machine about 30 days ago, so wondering if it is something not setup correctly or if it is a bug with the plugins. > > Best, > > -Troy Discussing this with another user (who can reveal themselves if they wish) that had experienced this, it was discovered their devices suffer from memory shortages. When malloc failures occur, parts of the configuration may disappear and reappear. Furthermore, it seems that there is no error or indication that the missing configuration was due to such a failure vs. a real configuration change, and therefore no way for rancid to recognize it. Can 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 have been pretty poor. > >>> They frequently drop their entire config from the output, or selectively random blocks of config (Interfaces, GPS, firmware and version stats), but we just summed that up as another of Mikrotik's long line of humble quirks. > >>> > > I've never had any problems of this nature with Mikrotik devices, although I only have about 5 of them on RANCID. > > > >> while i've heard similar comments and have none of these boxes myself, its > >> possible that there is a problem with the rancid mikrotik support. if > >> someone wants to give me remote access to one, i can verify/improve the > >> rancid support for it. > > > > You can spin up a virtual one for free. It will be limited to 1Mbps but that is adequate for testing the RANCID module, I'm sure. > > > > https://wiki.mikrotik.com/wiki/Manual:CHR > > > > alexd > > > > _______________________________________________ > > Rancid-discuss mailing list > > Rancid-discuss at shrubbery.net > > http://www.shrubbery.net/mailman/listinfo/rancid-discuss > > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at shrubbery.net > http://www.shrubbery.net/mailman/listinfo/rancid-discuss From weylin at bu.edu Thu Apr 18 11:15:14 2019 From: weylin at bu.edu (Piegorsch, Weylin William) Date: Thu, 18 Apr 2019 11:15:14 +0000 Subject: [rancid] PAR Not Changing Process Counts Message-ID: Hello, I have PAR_COUNT set to 100 (and uncommented, and ?export?ed) in ~rancid/etc/rancid.conf. However, I notice that there?s never more than 5 devices being archived at any given time. My system load is low, and this server is dedicated exclusively to rancid, so it?s unclear to me why I wouldn?t be able to do more at once, or how to troubleshoot? I?m on rancid 3.4.1. weylin -------------- next part -------------- An HTML attachment was scrubbed... URL: From troyb at spacelink.com Tue Apr 23 08:58:49 2019 From: troyb at spacelink.com (Troy Beisigl) Date: Tue, 23 Apr 2019 01:58:49 -0700 Subject: [rancid] Entries disappear and re appear. In-Reply-To: <20190417220014.GO63156@shrubbery.net> References: <841A7D21-8B83-41D8-BDD0-6047FA880DF9@spacelink.com> <4FBAFC2ECF5D6244BA4A26C1C94A1E27152769D026@exchange> <20190411185456.GA18692@shrubbery.net> <863b9cb2-26aa-3236-6502-cb0894bf0292@ale.cx> <27B60ED7-BB36-42D8-9543-29D9E4A61846@spacelink.com> <20190417220014.GO63156@shrubbery.net> Message-ID: <5FEC9DDF-F2A6-4671-8B2E-02717E886607@spacelink.com> Thanks. I don?t believe there were any memory issues but I will check the logs and see what they reveal. Best, -Troy > On Apr 17, 2019, at 3:00 PM, heasley wrote: > > Fri, Apr 12, 2019 at 08:35:07AM -0700, Troy Beisigl: >> Thanks. We are seeing it happen randomly across 17 RB3011UiAS-RM. It only happens every day or 2 and only happens to 1 or 2 units each time. The version of Rancid we are running was a fresh install on a new machine about 30 days ago, so wondering if it is something not setup correctly or if it is a bug with the plugins. >> >> Best, >> >> -Troy > > Discussing this with another user (who can reveal themselves if they wish) > that had experienced this, it was discovered their devices suffer from memory > shortages. When malloc failures occur, parts of the configuration may > disappear and reappear. Furthermore, it seems that there is no error or > indication that the missing configuration was due to such a failure vs. a > real configuration change, and therefore no way for rancid to recognize it. > > Can 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 have been pretty poor. >>>>> They frequently drop their entire config from the output, or selectively random blocks of config (Interfaces, GPS, firmware and version stats), but we just summed that up as another of Mikrotik's long line of humble quirks. >>>>> >>> I've never had any problems of this nature with Mikrotik devices, although I only have about 5 of them on RANCID. >>> >>>> while i've heard similar comments and have none of these boxes myself, its >>>> possible that there is a problem with the rancid mikrotik support. if >>>> someone wants to give me remote access to one, i can verify/improve the >>>> rancid support for it. >>> >>> You can spin up a virtual one for free. It will be limited to 1Mbps but that is adequate for testing the RANCID module, I'm sure. >>> >>> https://wiki.mikrotik.com/wiki/Manual:CHR >>> >>> alexd >>> >>> _______________________________________________ >>> Rancid-discuss mailing list >>> Rancid-discuss at shrubbery.net >>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss >> >> _______________________________________________ >> Rancid-discuss mailing list >> Rancid-discuss at shrubbery.net >> http://www.shrubbery.net/mailman/listinfo/rancid-discuss From GabrieleP at seznam.cz Tue Apr 23 14:32:11 2019 From: GabrieleP at seznam.cz (Gabriele Picone) Date: Tue, 23 Apr 2019 16:32:11 +0200 (CEST) Subject: [rancid] Mikrotik mtlogin failure Message-ID: Hello, I?m trying to use Rancid with Mikrotik router, but when I run rancid or try mtlogin, I?m only getting error message "mtlogin error: Error: Check your passwd". Here is log from my last attempt and configuration of the cloginrc and router.db router.db myrouter;mikrotik;up; cloginrc add password myrouter password add user myrouter rancid add method myrouter ssh add noenable myrouter 1 log Trying to get all of the configs. myrouter: missed cmd(s): all commands myrouter: End of run not found myrouter mtlogin error: Error: Check your passwd for myrouter # ===================================== Getting missed routers: round 1. myrouter: missed cmd(s): all commands myrouter: End of run not found myrouter mtlogin error: Error: Check your passwd for myrouter # ===================================== Getting missed routers: round 2. myrouter: missed cmd(s): all commands myrouter: End of run not found myrouter mtlogin error: Error: Check your passwd for myrouter # ===================================== Getting missed routers: round 3. myrouter: missed cmd(s): all commands myrouter: End of run not found myrouter mtlogin error: Error: Check your passwd for myrouter # ===================================== Getting missed routers: round 4. myrouter: missed cmd(s): all commands myrouter: End of run not found myrouter mtlogin error: Error: Check your passwd for myrouter # Please help!!! ty, Gabos. -------------- next part -------------- An HTML attachment was scrubbed... URL: From emille at abccommunications.com Tue Apr 23 17:47:29 2019 From: emille at abccommunications.com (Emille Blanc) Date: Tue, 23 Apr 2019 10:47:29 -0700 Subject: [rancid] Mikrotik mtlogin failure In-Reply-To: References: Message-ID: <4FBAFC2ECF5D6244BA4A26C1C94A1E271527953AD8@exchange> "cloginrc" or ".cloginrc"? Note the dot. Where does mtlogin fail? Does it just spit out "Error - no password...." ? From: Rancid-discuss [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Gabriele Picone Sent: Tuesday, April 23, 2019 7:32 AM To: rancid-discuss at shrubbery.net Subject: [rancid] Mikrotik mtlogin failure Hello, I?m trying to use Rancid with Mikrotik router, but when I run rancid or try mtlogin, I?m only getting error message "mtlogin error: Error: Check your passwd". Here is log from my last attempt and configuration of the cloginrc and router.db router.db myrouter;mikrotik;up; cloginrc add password myrouter password add user myrouter rancid add method myrouter ssh add noenable myrouter 1 log Trying to get all of the configs. myrouter: missed cmd(s): all commands myrouter: End of run not found myrouter mtlogin error: Error: Check your passwd for myrouter # ===================================== Getting missed routers: round 1. myrouter: missed cmd(s): all commands myrouter: End of run not found myrouter mtlogin error: Error: Check your passwd for myrouter # ===================================== Getting missed routers: round 2. myrouter: missed cmd(s): all commands myrouter: End of run not found myrouter mtlogin error: Error: Check your passwd for myrouter # ===================================== Getting missed routers: round 3. myrouter: missed cmd(s): all commands myrouter: End of run not found myrouter mtlogin error: Error: Check your passwd for myrouter # ===================================== Getting missed routers: round 4. myrouter: missed cmd(s): all commands myrouter: End of run not found myrouter mtlogin error: Error: Check your passwd for myrouter # Please help!!! ty, Gabos. -------------- next part -------------- An HTML attachment was scrubbed... URL: