[rancid] Filtering out flash dir and time change events
Doug Hughes
doug.hughes at keystonenap.com
Thu Jul 27 14:53:12 UTC 2017
I don't recall where !Time comes from exactly (search in lib/rancid/ios.pm)
But Flash comes from etc/rancid.types.base:
cisco;command;ios::ShowFlash;show flash
You could either comment out that line and then remember to do the same
when you upgrade, or you could make a rancid.types.conf and override the
entire cisco;command;ios block
On 7/27/2017 10:40 AM, Walker, Alan wrote:
>
> Hi All,
>
>
>
> I’ve been using Rancid for a while now and it seems to work pretty
> well but one thing I’m seeing on certain new Cisco devices such as
> ISR’s, Nexus, etc are displaying changes for the flash directory
> changing in size and the time of the device changing. These events
> come up like this:
>
>
>
> - !Flash: bootflash: 7113240576 bytes total (6335688704 bytes free)
>
> + !Flash: bootflash: 7113240576 bytes total (6335643648 bytes free)
>
>
>
> - !Time: Thu Jul 27 07:12:05 2017
>
> + !Time: Thu Jul 27 08:12:10 2017
>
>
>
> Is there anyway to filter out these types of changes so that I only
> see more substantial changes?
>
>
>
> Thanks.
>
>
>
>
>
> Corcentric <http://www.corcentric.com>
> Alan Walker | Network Engineer
> 457 Haddonfield Road, Suite 220 | Cherry Hill, NJ 08002
> O (856) 406-3746 | F
> awalker at corcentric.com<mailto:awalker at corcentric.com>|
> www.corcentric.com <http://www.corcentric.com>
>
>
>
>
>
> _______________________________________________
> 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 (539.2562)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20170727/e4ae780a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image6e048f.PNG
Type: image/png
Size: 1484 bytes
Desc: not available
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20170727/e4ae780a/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: keystone-nap.png
Type: image/png
Size: 3476 bytes
Desc: not available
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20170727/e4ae780a/attachment-0001.png>
More information about the Rancid-discuss
mailing list