[rancid] [patch] f5rancid - ignore fans/configsync times

Ben O'Hara bohara at ripe.net
Fri Dec 11 11:36:19 UTC 2009


Hi,

We have a pair of f5 BigIPs which we backup configs with rancid.

Noticed the latest f5 firmware changed the output for fan modules and when used in a failover pair was including config sync times (we sync our configs automatically so rancid saw a diff of only the time)

Heres is a patch to fix this behaviour, can this get commited?

 diff -u f5rancid.old f5rancid.new 
--- f5rancid.old        2009-12-07 13:13:39.000000000 +0100
+++ f5rancid.new        2009-12-11 11:52:18.000000000 +0100
@@ -206,7 +206,7 @@
            ProcessHistory("SHOWDB","","","#\n#database:\n");
        }
        /UCS.LoadTime/ && next;
-       /Configsync.LocalConfigTime/ && next;
+       /Configsync.*Time/ && next;
        /LTM.ConfigTime/ && next;
 
        if (/^(snmp\..*\.community\..* =) (.+)/i) {
@@ -291,6 +291,7 @@
        return(-1) if (/command authorization failed/i);
 
        /fan speed/i && next;
+       /rpm/i && next;
        /chassis temperature/i && next;
        /degC/ && next;
        s/^\|//;

Cheers

Ben


-- 
Ben O'Hara                        RIPE Network Coordination Center
Systems Engineer                         Singel 258, Amsterdam, NL
http://www.ripe.net                                +31 20 535 4444
PGP Fingerprint: 080A 52FF BF0A A7FB F176 E7DB 513D 9A3D E968 7DBC









More information about the Rancid-discuss mailing list