<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Try running the diff on the cli and check whitespace? Diff is a
pretty base-level thing, so it's not rancid that's tripping but
something in the actual config which makes it see a difference, but
it's something that doesn't show up on-screen.<br>
<br>
If it is whitespace then there might be an error in the rancid
script that parses lines and adds a space, or there might be
something in the router that leaves whitespace where it shouldn't.
Either way, it should be correctable by having the rancid script
remove the offending stuff.<br>
<br>
<br>
<div class="moz-cite-prefix">On 2/9/2015 4:47 AM, Chard, Alex
(RET-SYD) wrote:<br>
</div>
<blockquote
cite="mid:BY2PR08MB096231208136C992484E424E1270@BY2PR08MB096.namprd08.prod.outlook.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style>
<!--
@font-face
{font-family:"Cambria Math"}
@font-face
{font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif}
a:link, span.MsoHyperlink
{color:#0563C1;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:#954F72;
text-decoration:underline}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif}
span.EmailStyle17
{font-family:"Calibri",sans-serif;
color:windowtext}
span.PlainTextChar
{font-family:"Calibri",sans-serif}
.MsoChpDefault
{font-family:"Calibri",sans-serif}
@page WordSection1
{margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.WordSection1
{}
-->
</style>
<div class="WordSection1">
<p class="MsoNormal">Hi All,</p>
<p class="MsoNormal">I know I have seen this discussed a few
times on here but I haven’t been able to find the resolution
in the archives.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I am running Rancid 3 (not sure how to
check exact version).</p>
<p class="MsoNormal">I have fortigates backed up in Rancid. They
periodically drop/add commands from the config, and then
revert back at the next backup.</p>
<p class="MsoNormal">This means I end up with config diffs like
the following:</p>
<p class="MsoPlainText"><b> </b></p>
<p class="MsoPlainText" style="text-indent:36.0pt"><b>retrieving
revision 1.11</b></p>
<p class="MsoPlainText" style="margin-left:36.0pt"><b>diff -U 4
-r1.11 rausyd-lan-fw02s.corp.regn.net @@ -59530,8 +59530,9
@@</b></p>
<p class="MsoPlainText" style="margin-left:36.0pt"><b>
set dataset "traffic.Top10.IM.Users.Volume"</b></p>
<p class="MsoPlainText" style="margin-left:36.0pt"><b>
set category traffic</b></p>
<p class="MsoPlainText" style="margin-left:36.0pt"><b>
set favorite no</b></p>
<p class="MsoPlainText" style="margin-left:36.0pt"><b>
set graph-type bar</b></p>
<p class="MsoPlainText" style="margin-left:36.0pt"><b>+ exit</b></p>
<p class="MsoPlainText" style="margin-left:36.0pt"><b>
set style auto</b></p>
<p class="MsoPlainText" style="margin-left:36.0pt"><b>
set dimension 3D</b></p>
<p class="MsoPlainText" style="margin-left:36.0pt"><b>
config x-series</b></p>
<p class="MsoPlainText" style="margin-left:36.0pt"><b>
set caption ''</b></p>
<p class="MsoNormal">followed by:</p>
<p class="MsoPlainText" style="margin-left:36.0pt"><b>retrieving
revision 1.12</b></p>
<p class="MsoPlainText" style="margin-left:36.0pt"><b>diff -U 4
-r1.12 rausyd-lan-fw02s.corp.regn.net @@ -59530,9 +59530,8
@@</b></p>
<p class="MsoPlainText" style="margin-left:36.0pt"><b>
set dataset "traffic.Top10.IM.Users.Volume"</b></p>
<p class="MsoPlainText" style="margin-left:36.0pt"><b>
set category traffic</b></p>
<p class="MsoPlainText" style="margin-left:36.0pt"><b>
set favorite no</b></p>
<p class="MsoPlainText" style="margin-left:36.0pt"><b>
set graph-type bar</b></p>
<p class="MsoPlainText" style="margin-left:36.0pt"><b>- exit</b></p>
<p class="MsoPlainText" style="margin-left:36.0pt"><b>
set style auto</b></p>
<p class="MsoPlainText" style="margin-left:36.0pt"><b>
set dimension 3D</b></p>
<p class="MsoPlainText" style="margin-left:36.0pt"><b>
config x-series</b></p>
<p class="MsoPlainText" style="margin-left:36.0pt"><b>
set caption ''</b></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I do have the pager turned off, so that’s
not the issue.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">And a partly related question, is there a
way to have rancid download a config file by SCP rather than
execute commands to retrieve it?</p>
<p class="MsoNormal">It seems to me this might be more
successful – and also an easy way to grab config from devices
that aren’t supported.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks,</p>
<p class="MsoNormal">Alex<span style="color:#7F7F7F"> </span><span
style=""></span></p>
<p class="MsoNormal"> </p>
</div>
This e-mail is for the use of the intended recipient(s) only. If
you have received this e-mail in error, please notify the sender
immediately and then delete it. If you are not the intended
recipient, you must not use, disclose or distribute this e-mail
without the author's permission. We have taken precautions to
minimise the risk of transmitting software viruses, but we advise
you to carry out your own virus checks on any attachment to this
e-mail. We cannot accept liability for any loss or damage caused
by software viruses.
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Rancid-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a>
<a class="moz-txt-link-freetext" href="http://www.shrubbery.net/mailman/listinfo/rancid-discuss">http://www.shrubbery.net/mailman/listinfo/rancid-discuss</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Direcpath, LLC
817 West Peachtree St. NW - Suite 750 | Atlanta, GA 30308
2935B Amwiler Rd. | Atlanta,GA 30360
T 866-430-7284 | F 404.961.7060
<a class="moz-txt-link-abbreviated" href="mailto:rdrake@direcpath.com">rdrake@direcpath.com</a> | <a class="moz-txt-link-abbreviated" href="http://www.direcpath.com">www.direcpath.com</a></pre>
</body>
</html>