<div dir="ltr">Thank you to Mark & Doug for their suggestions which resolved my issue. The solution is to add the following line to the nxrancid file under "sh environment" subroutine:<div><br></div><div><span style="color: rgb(128, 0, 0); font-family: Arial, sans-serif;">next if (/^Fan Zone Speed:/);</span><br></div><div><span style="color: rgb(128, 0, 0); font-family: Arial, sans-serif;"><br></span></div><div><span style="font-family: Arial, sans-serif;"><font color="#000000">The final config for the subroutine should look like this:</font></span></div><div><div><br></div><div><p class="MsoNormal" style="margin-bottom: 0px; font-family: arial, sans-serif; line-height: normal;"><span style="font-size: 10pt; font-family: Arial, sans-serif; color: maroon;"># This routine parses "show environment"<u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom: 0px; font-family: arial, sans-serif; line-height: normal;"><span style="font-size: 10pt; font-family: Arial, sans-serif; color: maroon;">sub ShowEnv {<u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom: 0px; font-family: arial, sans-serif; line-height: normal;"><span style="font-size: 10pt; font-family: Arial, sans-serif; color: maroon;"> print STDERR " In ShowEnv: $_" if ($debug);<u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom: 0px; font-family: arial, sans-serif; line-height: normal;"><span style="font-size: 10pt; font-family: Arial, sans-serif; color: maroon;"><u></u> <u></u></span></p><p class="MsoNormal" style="margin-bottom: 0px; font-family: arial, sans-serif; line-height: normal;"><span style="font-size: 10pt; font-family: Arial, sans-serif; color: maroon;"> while (<INPUT>) {<u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom: 0px; font-family: arial, sans-serif; line-height: normal;"><span style="font-size: 10pt; font-family: Arial, sans-serif; color: maroon;"> tr/\015//d;<u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom: 0px; font-family: arial, sans-serif; line-height: normal;"><span style="font-size: 10pt; font-family: Arial, sans-serif; color: maroon;"> last if (/^$prompt/);<u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom: 0px; font-family: arial, sans-serif; line-height: normal;"><span style="font-size: 10pt; font-family: Arial, sans-serif; color: maroon;"> next if (/^(\s*|\s*$cmd\s*)$/);<u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom: 0px; font-family: arial, sans-serif; line-height: normal;"><span style="font-size: 10pt; font-family: Arial, sans-serif; color: maroon;"> next if (/^\s*\^\s*$/);<u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom: 0px; font-family: arial, sans-serif; line-height: normal;"><span style="font-size: 10pt; font-family: Arial, sans-serif; color: maroon;"> next if (/^Fan Zone Speed:/);<u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom: 0px; font-family: arial, sans-serif; line-height: normal;"><span style="font-size: 10pt; font-family: Arial, sans-serif; color: maroon;"> return(1) if /Line has invalid autocommand /;<u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom: 0px; font-family: arial, sans-serif; line-height: normal;"><span style="font-size: 10pt; font-family: Arial, sans-serif; color: maroon;"> return(1) if /(Invalid input detected|Type help or )/;<u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom: 0px; font-family: arial, sans-serif; line-height: normal;"><span style="font-size: 10pt; font-family: Arial, sans-serif; color: maroon;"> return(1) if (/\% Invalid command at /);<u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom: 0px; font-family: arial, sans-serif; line-height: normal;"><span style="font-size: 10pt; font-family: Arial, sans-serif; color: maroon;"> return(-1) if (/\% Permission denied/);<u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom: 0px; font-family: arial, sans-serif; line-height: normal;"><span style="font-size: 10pt; font-family: Arial, sans-serif; color: maroon;"> return(-1) if (/command authorization failed/i);<u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom: 0px; font-family: arial, sans-serif; line-height: normal;"><span style="font-size: 10pt; font-family: Arial, sans-serif; color: maroon;"><u></u> <u></u></span></p><p class="MsoNormal" style="margin-bottom: 0px; font-family: arial, sans-serif; line-height: normal;"><span style="font-size: 10pt; font-family: Arial, sans-serif; color: maroon;"> s/ +$//; # Drop trailing ' '<u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom: 0px; font-family: arial, sans-serif; line-height: normal;"><span style="font-size: 10pt; font-family: Arial, sans-serif; color: maroon;"> ProcessHistory("COMMENTS","","<wbr>","!Env: $_");<u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom: 0px; font-family: arial, sans-serif; line-height: normal;"><span style="font-size: 10pt; font-family: Arial, sans-serif; color: maroon;"> }<u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom: 0px; font-family: arial, sans-serif; line-height: normal;"><span style="font-size: 10pt; font-family: Arial, sans-serif; color: maroon;"> ProcessHistory("COMMENTS","","<wbr>","!\n");<u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom: 0px; font-family: arial, sans-serif; line-height: normal;"><span style="font-size: 10pt; font-family: Arial, sans-serif; color: maroon;"> return(0);<u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom: 0px; font-family: arial, sans-serif; line-height: normal;"><span style="font-size: 10pt; font-family: Arial, sans-serif; color: maroon;">}<u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom: 0px; font-family: arial, sans-serif; line-height: normal;"><span style="font-size: 10pt; font-family: Arial, sans-serif; color: maroon;"><u></u> </span></p><br>On Friday, December 13, 2013 3:36:53 PM UTC-5, Dino Panagiotopoulos wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">Hi Everyone,<div><br></div><div>Since upgrading to NX-OS 6.1(4), fan module speed changes are written to the startup config which in turn is creating a diff for each time the fan speed changes. As you could imagine, this is causing a lot of false positive emails to be sent each time Rancid and CVS run. Please see the example below:</div><div><br></div><div><p><span>retrieving revision 1.1356</span><br><span>diff -U 4 -r1.1356 10.111.100.151<br></span><span>@@ -77,9 +77,9 @@<br></span><span> !Env:
Fan4(fab_fan2) N7K-C7010-FAN-F 1.1
Ok<br></span><span> !Env:
Fan_in_PS1 -- -- Ok<br></span><span> !Env:
Fan_in_PS2 -- -- Ok<br></span><span> !Env:
Fan_in_PS3 -- -- Ok<br></span><span>- !Env: Fan Zone Speed: Zone 1: 0x70 Zone 2:
0x50<br></span><span>+ !Env: Fan Zone Speed: Zone 1: 0x60 Zone 2:
0x48<br></span><span> !Env:
Fan Air Filter : Present<br></span></p><p><span style="line-height:normal"><font size="2">This will flip back and forth with each fan change. Has anyone on 6.X NX-OS code experienced anything like this? We are on RANCID 2.3.4 and if this not resolved in the newest release, is it possible to just remove 'sh env' from the <a href="http://nxrancid.in" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fnxrancid.in\46sa\75D\46sntz\0751\46usg\75AFQjCNE9zq-cjtjLUSMdmae5tmsjJT48pg';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fnxrancid.in\46sa\75D\46sntz\0751\46usg\75AFQjCNE9zq-cjtjLUSMdmae5tmsjJT48pg';return true;">nxrancid.in</a> file? </font></span></p><p><font size="2">Thanks,<br>Dino Panagiotopoulos</font></p></div></div></blockquote></div></div></div>