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.
- Determine the command that was actually outputting the information on my ASA. In this case it was the commands ‘show version’
- 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)
- Open the file in a text editor as root ‘vim /var/lib/rancid/bin/rancid‘
- 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!