[rancid] Patch for francid, against rancid-2.3.2a5

John Adams jadams at eline.com
Wed Sep 27 19:46:39 UTC 2006


Foundry code 03.0.01bT3e3 is very chatty about fan status which causes
rancid to log many changes (even when nothing is really changing) WRT fan
speed. Here¹s a short patch to fix flogin to ignore the fan speed changes in
the show chassis output:

*** /usr/local/src/rancid-2.3.2a5/bin/francid   2006-09-27
12:24:07.000000000 -0700
--- /tftpboot/rancid/bin/francid        2006-09-27 12:29:49.000000000 -0700
***************
*** 201,206 ****
--- 201,212 ----
        if (/temperature:/i) {
            $skip = 1;
        }
+ 
+       # jadams at eline.com: Also ignore fan speed changes
+       if (/speed/i) {
+           $skip = 1;
+       }
+ 
        next if $skip;
  
        ProcessHistory("CHASSIS","","","! $_");
[root at argus rancid-2.3.2a5]# 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20060927/827498c6/attachment.html 


More information about the Rancid-discuss mailing list