[rancid] Foundry (Brocade) environmental details

heasley heas at shrubbery.net
Wed Feb 18 17:42:40 UTC 2015


Wed, Feb 18, 2015 at 02:37:26PM +0000, Jethro R Binks:
> On Tue, 17 Feb 2015, Michael Newton wrote:
> 
> > Just set up a couple of Brocade switches and am now getting a lot of noise
> > from RANCID when the weather changes in Seattle.
> > 
> > - ! Pressure:      102.1kPa
> > - ! Altitude:      -133m
> > + ! Pressure:      102.0kPa
> > + ! Altitude:      -122m
> > 
> > 
> > This appears to be part of the ³show chassis² output.
> 
> Taking this into account, the sub ShowChassis subroutine in my francid 
> looks like (I'm not sure how close this would be to what you have):
> 
> If you're running rancid v3, you'll find similar in foundry.pm.

Index: foundry.pm.in
===================================================================
--- foundry.pm.in	(revision 3035)
+++ foundry.pm.in	(working copy)
@@ -174,7 +174,7 @@
 	if (/THERMAL PLANE/) {
 	    $skip = 1;
 	}
-	if (/temperature:/i) {
+	if (/(pressure|altitude|temperature):/i) {
 	    $skip = 1;
 	}
 	s/(Fan \d+ \S+), speed .*/$1/;

> (It seems odd to me that Altitude is changing by 10m ...

or why one would care about either.


More information about the Rancid-discuss mailing list