<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><br>
</p>
<p>Yes, this is relatively easy to fix.</p>
<p>for the first I'd add a line in your ShowFlash proc near the
other 'next if' lines like so:</p>
<p>next if / \.?$/;<br>
(that will skip the . and .. entries.)</p>
<p>for the next it'd be in the ShowChassis procedure you could do
something similar, however if you care about the fan status but
not the speed (reasonable), you have to do a little more
processing. There are ways you could do this with more work by
eliminating the speed, but the simple answer might be:</p>
<p>next if / up /;</p>
<p>It's a little bit scattershot, but it will quiet the noise unless
something important comes up with a fan or a power supply. (It's
also easier than testing the alternate)<br>
</p>
<br>
<div class="moz-cite-prefix">On 1/30/2017 5:30 PM,
<a class="moz-txt-link-abbreviated" href="mailto:Vinny.Abello@nttdata.com">Vinny.Abello@nttdata.com</a> wrote:<br>
</div>
<blockquote
cite="mid:FD9B2CB2B33E394FAE3B7466954760578F3C7E06@DFWX10HMPTC05.AMER.DELL.COM"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:Consolas;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:Consolas;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hello all,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’ve got RANCID pointed at various Force10
switches all running some release of OS 9. RANCID continually
sees changes from doing a directory listing. This has been
discussed before here:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><a moz-do-not-send="true"
href="http://www.shrubbery.net/pipermail/rancid-discuss/2013-August/006995.html">http://www.shrubbery.net/pipermail/rancid-discuss/2013-August/006995.html</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">It seemed like this was a new issue with OS
9 and a patch was issued to address it. However, I’m running
RANCID 3.6.2 and can see in f10rancid that it is patched in
this manner, but it seems to have no effect for me. I
continually get diffs every time rancid-run fires.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">An example:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoPlainText">@@ -25,9 +25,9 @@<o:p></o:p></p>
<p class="MsoPlainText"> !Boot Variables: BOOT INTERFACE
GATEWAY IP ADDRESS = variable does not exist<o:p></o:p></p>
<p class="MsoPlainText"> !Boot Variables: Reload Mode =
normal-reload<o:p></o:p></p>
<p class="MsoPlainText"> !<o:p></o:p></p>
<p class="MsoPlainText"> !Flash: flash: 1 drwx 4096
Dec 31 1979 16:00:00 -08:00 .<o:p></o:p></p>
<p class="MsoPlainText">- !Flash: flash: 2 drwx 3584
Jan 30 2017 13:03:18 -08:00 ..<o:p></o:p></p>
<p class="MsoPlainText">+ !Flash: flash: 2 drwx 3584
Jan 30 2017 14:03:26 -08:00 ..<o:p></o:p></p>
<p class="MsoPlainText"> !Flash: flash: 3 drwx 4096
Sep 08 2015 22:11:08 -08:00 TRACE_LOG_DIR<o:p></o:p></p>
<p class="MsoPlainText"> !Flash: flash: 4 drwx 4096
Sep 08 2015 22:11:08 -08:00 CONFD_LOG_DIR<o:p></o:p></p>
<p class="MsoPlainText"> !Flash: flash: 5 drwx 4096
Sep 08 2015 22:11:08 -08:00 CORE_DUMP_DIR<o:p></o:p></p>
<p class="MsoPlainText"> !Flash: flash: 6 d--- 4096
Sep 08 2015 22:11:08 -08:00 ADMIN_DIR<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Additionally, I think it was also mentioned
somewhere on this list, some of the output captured includes
the RPM reading of the fans in the chassis when checking the
power supplies and it is comparing these values which should
be ignored.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Here is an example of that:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoPlainText">@@ -56,9 +56,9 @@<o:p></o:p></p>
<p class="MsoPlainText"> !Chassis: No Of MACs :
3<o:p></o:p></p>
<p class="MsoPlainText"> !Chassis: -- Power Supplies --<o:p></o:p></p>
<p class="MsoPlainText"> !Chassis: Unit Bay Status
Type FanStatus FanSpeed(rpm)<o:p></o:p></p>
<p class="MsoPlainText"> !Chassis: 1 1 up
AC up 10288<o:p></o:p></p>
<p class="MsoPlainText">- !Chassis: 1 2 up
AC up 10256<o:p></o:p></p>
<p class="MsoPlainText">+ !Chassis: 1 2 up
AC up 10288<o:p></o:p></p>
<p class="MsoPlainText"> !Chassis: -- Fan Status --<o:p></o:p></p>
<p class="MsoPlainText"> !Chassis: 1 up<o:p></o:p></p>
<p class="MsoPlainText"> !Chassis: 1 up<o:p></o:p></p>
<p class="MsoPlainText"> !Chassis: 1 up<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Is there something I can change in
f10rancid to have it ignore these two things and can this be
pushed into a future release? I’d be happy to test anything
against a myriad of Force10 gear I have.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">-Vinny<o:p></o:p></p>
</div>
<br clear="all">
______________________________________________________________________<br>
Disclaimer: This email and any attachments are sent in strictest
confidence<br>
for the sole use of the addressee and may contain legally
privileged,<br>
confidential, and proprietary data. If you are not the intended
recipient,<br>
please advise the sender by replying promptly to this email and
then delete<br>
and destroy this email and any attachments without any further
use, copying<br>
or forwarding.<br>
<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>
<div class="moz-signature">-- <br>
<table>
<tbody>
<tr>
<td style="padding-left: 20px" width="90%">Doug Hughes<br>
Keystone NAP<br>
Fairless Hills, PA<br>
1.844.KEYBLOCK (539.2562)</td>
<td style="align: right;padding-right: 20px"><img
src="cid:part2.B80CEFCD.DC61D8A6@keystonenap.com">
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>