Introduction

This is just another post relating to a previous post. The location of the changes required is different in this latest version of RANCID.

https://ip-life.net/rancid-suppress-output-from-diffs/

If you have configuration you need to remove, it will no longer be in the /usr/local/rancid/bin/rancid file or whatever you path is. There is actually some new files which are referenced in the README which can be extracted from the source tarball.

Resolution

Here’s what I did to rectify the problem this time round.

  1. Determine the command that was actually outputting the information on my ASA. In this case it was the commands ‘show version’
  2. SSH on to the RANCID server and find the following file: /usr/local/rancid/etc/rancid.types.base (Your path may be different depending on install OS e.g. /var/lib/rancid/etc/rancid.types.base)
  3. Open the file in a text editor as root ‘vim /var/lib/rancid/bin/rancid‘
  4. Find the section containing the files requiring removal and comment out those required commands

Now the README file clearly states this file will be replaced in future updates of RANCID so you need to remember you have actually made this change otherwise if you upgrade you’ll get the annoying issue all over again!

RANCID 3.x Supress Output from Diffs
Tagged on:             

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.

Optimization WordPress Plugins & Solutions by W3 EDGE