[rancid] temperature changes cause diffs to be sent out

Austin James austin.james at redmond.k12.or.us
Fri Oct 6 22:43:47 UTC 2006


We implemented our own fix for this... This is an excerpt from the
francid routine... I forget which command, I think it was the Show
Chassis command...  The code is between the asterisk lines below...  I
added the lines that begin with the plus (+). This works great..

Austin


--- /usr/local/rancid/bin/francid.bak   Mon Oct  2 08:13:12 2006

+++ /usr/local/rancid/bin/francid       Mon Oct  2 08:16:17 2006

@@ -185,6 +185,8 @@


**************************************

        last if (/^$prompt/);

        next if (/ from /);

        next if (/current temperature/i);

+       next if (/Slot .+ Temperature/);

+       next if (/CARDS THERMAL PLANE.+deg-C/);

 

        if (/^---/) { # next section reached

            $skip = 0;

*****************************************



More information about the Rancid-discuss mailing list