[rancid] Extra spaces being randomly added - and seen as config changes
Kerry Cox
kerry.cox at wjbradley.com
Fri Jan 4 22:54:20 UTC 2013
My issue is that every hour, the configs from my Cisco ASAs are reporting as alternating between having content in the BootFlash: setting and then having no content.
I have changed the setting in rancid.conf to be NOPIPE = YES and also NO, with no change.
I have also run "rancid -d 10.10.0.1" against the firewalls from the command line and seen zero issues. Everything checks out.
I have run rancid by itself against the firewall and saved the raw output and then done a diff against over 10 files. The output is always the same, no change.
So, I guess it is my cron job that is causing the variations?
# Run config differ hourly at 5 minutes past the hour
5 * * * * /usr/local/rancid/bin/rancid-run
Is there another setting I am missing that could be causing the BootFlash: BOOT variable to change?
Thanks for all the input. I guess I'll set my cron to once a day rather than once an hour so I don't get so many false alerts.
Kerry
-----Original Message-----
From: rancid-discuss-bounces at shrubbery.net [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Alex DEKKER
Sent: Friday, January 04, 2013 3:39 PM
To: rancid-discuss at shrubbery.net
Subject: Re: [rancid] Extra spaces being randomly added - and seen as config changes
On 04/01/13 15:39, Kerry Cox wrote:
> - !BootFlash: BOOT variable =
> disk0:/asa911-k8.bin;disk0:/asa901-k8.bin
> + !BootFlash: BOOT variable =
> -----Original Message-----
> From:rancid-discuss-bounces at shrubbery.net
> [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Aaron
> Wasserott
> Sent: Friday, January 04, 2013 3:31 AM Here is an example from a
> ScreenOS device:
>
> set ike gateway "xcolo" address 123.45.67.89 Main outgoing-interface
> "bgroup0" preshare "wLE/x18INtTxJ6sT42CM5FxvOphJ/3%YZg==" sec-level
> standard
> + #set ike gateway "xcolo" address 123.45.67.89 Main
> + outgoing-interface "bgroup0" preshare<removed> sec-level standard
Did you add the <removed> or do you have RANCID set to strip certain keys and passwords from configs? If the latter, then I would say that your [Aaron's] issue is not related to Kerry's.
alexd
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss at shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
**Electronic Privacy Notice** This e-mail and any attachments contain
information that is or may be covered by electronic communication
privacy laws, and is also confidential and proprietary in nature.
If you are not the intended recipient, please be advised that you are
legally prohibited from retaining, using, copying, distributing or otherwise
disclosing this information in any manner. Instead, please reply to the
sender that you have received this communication in error and then
immediately delete it. Thank you for your cooperation.
More information about the Rancid-discuss
mailing list