retrieving revision 1.1356
diff -U 4 -r1.1356 10.111.100.151
@@ -77,9 +77,9 @@
!Env:
Fan4(fab_fan2) N7K-C7010-FAN-F 1.1
Ok
!Env:
Fan_in_PS1 -- -- Ok
!Env:
Fan_in_PS2 -- -- Ok
!Env:
Fan_in_PS3 -- -- Ok
- !Env: Fan Zone Speed: Zone 1: 0x70 Zone 2:
0x50
+ !Env: Fan Zone Speed: Zone 1: 0x60 Zone 2:
0x48
!Env:
Fan Air Filter : Present
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 nxrancid.in file?
Thanks,
Dino Panagiotopoulos
# This routine parses "show environment"
sub ShowEnv {
print STDERR " In ShowEnv: $_" if ($debug);
while (<INPUT>) {
tr/\015//d;
last if (/^$prompt/);
next if (/^(\s*|\s*$cmd\s*)$/);
next if (/^\s*\^\s*$/);
next if (/^Fan Zone Speed:/);
return(1) if /Line has invalid autocommand /;
return(1) if /(Invalid input detected|Type help or )/;
return(1) if (/\% Invalid command at /);
return(-1) if (/\% Permission denied/);
return(-1) if (/command authorization failed/i);
s/ +$//; # Drop trailing ' '
ProcessHistory("COMMENTS","","","!Env: $_");
}
ProcessHistory("COMMENTS","","","!\n");
return(0);