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

heasley heas at shrubbery.net
Mon Mar 4 20:03:26 UTC 2019


Wed, Feb 27, 2019 at 08:24:12PM +0000, Kenneth Lind:
> We have been long time members of this list and see similar issues mentioned but we would like to be able to fine tune some of the controls related to how diffs are generated in relation to file size changes such as the following:
> 
> NXOS:
> - !Flash: logflash: 7 GB total (89% free)
> + !Flash: logflash: 7 GB total (90% free)
> 
> IOSXE:
> - !Flash: harddisk: 118084341760 bytes total (104 GB free)
> + !Flash: harddisk: 118084341760 bytes total (103 GB free)
> 
> 
> We are on RANCiD latest (v3.9) and everything is working great as always. I would simply like to reduce the chatter emails. We know we can remove the checks altogether but think there is a more elegant solution that would perhaps allow us to not care about the 1GB changes (as big logs sometimes churn on our IOS-XE devices).

you can create your own device type that does not include the dir commands
or one with your own filter function for the dir commands that removes the
usage line.

otherwise, i havent currently an easier way to filter.  I am thinking that
a user-specified post-filter might 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
> 
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss



More information about the Rancid-discuss mailing list