<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Consolas}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black}
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;
        color:black}
pre
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black}
span.PlainTextChar
        {font-family:Consolas;
        color:black}
p.msochpdefault, li.msochpdefault, div.msochpdefault
        {margin-right:0cm;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;
        color:black}
span.emailstyle17
        {font-family:"Calibri",sans-serif;
        color:windowtext}
span.plaintextchar0
        {font-family:"Calibri",sans-serif}
span.HTMLPreformattedChar
        {font-family:Consolas;
        color:black}
span.EmailStyle24
        {font-family:"Calibri",sans-serif;
        color:#1F497D}
.MsoChpDefault
        {font-size:10.0pt}
@page WordSection1
        {margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.WordSection1
        {}
-->
</style>
</head>
<body bgcolor="white" lang="EN-AU" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Hi Robert,</span></p>
<p class="MsoNormal"><span style="color:#1F497D">From the diff, it looks to me like it is seeing a change in the config. (The ‘exit’ command in this case).</span></p>
<p class="MsoNormal"><span style="color:#1F497D">But the config on the device did not change. I see this moderately frequently – it ranges from every few days to several times a day.</span></p>
<p class="MsoNormal"><span style="color:#1F497D">It does not happen on all devices.</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">Thanks,</span></p>
<p class="MsoNormal"><span style="color:#1F497D">Alex</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="color:windowtext">From:</span></b><span lang="EN-US" style="color:windowtext"> Rancid-discuss [mailto:rancid-discuss-bounces@shrubbery.net]
<b>On Behalf Of </b>Robert Drake<br>
<b>Sent:</b> Monday, 9 February 2015 9:46 PM<br>
<b>To:</b> rancid-discuss@shrubbery.net<br>
<b>Subject:</b> Re: [rancid] Fortigate diffs when nothing actually changed</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal" style="margin-bottom:12.0pt">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>
<span style="font-size:12.0pt"></span></p>
<div>
<p class="MsoNormal">On 2/9/2015 4:47 AM, Chard, Alex (RET-SYD) wrote:</p>
</div>
<blockquote style="margin-top:5.0pt; margin-bottom:5.0pt">
<div>
<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></p>
<p class="MsoNormal"> </p>
</div>
<p class="MsoNormal"><span style="font-size:12.0pt; font-family:"Times New Roman",serif">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>
<br>
<br>
</span></p>
<pre>_______________________________________________</pre>
<pre>Rancid-discuss mailing list</pre>
<pre><a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a></pre>
<pre><a href="http://www.shrubbery.net/mailman/listinfo/rancid-discuss">http://www.shrubbery.net/mailman/listinfo/rancid-discuss</a></pre>
</blockquote>
<p class="MsoNormal"><span style="font-size:12.0pt; font-family:"Times New Roman",serif"><br>
<br>
</span></p>
<pre>-- </pre>
<pre>Direcpath, LLC</pre>
<pre>817 West Peachtree St. NW - Suite 750 | Atlanta, GA 30308</pre>
<pre>2935B Amwiler Rd. | Atlanta,GA 30360</pre>
<pre>T 866-430-7284  | F 404.961.7060</pre>
<pre><a href="mailto:rdrake@direcpath.com">rdrake@direcpath.com</a> | <a href="http://www.direcpath.com">www.direcpath.com</a></pre>
</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.
</body>
</html>