Discussion:
[rancid] Foundry (Brocade) environmental details
Michael Newton
2015-02-17 18:11:42 UTC
Permalink
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.

(Worth mentioning that one of the advantages of setting up on a site like
Github, as recently discussed on the list, is a bug tracker for things like
this!)

Mike
Frank Bulk
2015-02-18 06:44:12 UTC
Permalink
Just add a few lines to that script to skip those lines.



Frank



From: Rancid-discuss [mailto:rancid-discuss-***@shrubbery.net] On Behalf
Of Michael Newton
Sent: Tuesday, February 17, 2015 12:12 PM
To: rancid-***@shrubbery.net
Subject: [rancid] Foundry (Brocade) environmental details



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.



(Worth mentioning that one of the advantages of setting up on a site like
Github, as recently discussed on the list, is a bug tracker for things like
this!)



Mike
Michael Newton
2015-02-18 06:47:24 UTC
Permalink
Yes, that's what I did. It should be added to the Perl module though.

Mike

Sent using OWA for iPhone
________________________________
From: Frank Bulk <***@iname.com>
Sent: February 17, 2015 10:44:12 PM
To: Michael Newton; rancid-***@shrubbery.net
Subject: RE: Foundry (Brocade) environmental details

Just add a few lines to that script to skip those lines.

Frank

From: Rancid-discuss [mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Michael Newton
Sent: Tuesday, February 17, 2015 12:12 PM
To: rancid-***@shrubbery.net
Subject: [rancid] Foundry (Brocade) environmental details

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.

(Worth mentioning that one of the advantages of setting up on a site like Github, as recently discussed on the list, is a bug tracker for things like this!)

Mike
Jethro R Binks
2015-02-18 14:37:26 UTC
Permalink
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 (/(POWERS|TEMPERATURE READINGS)/) {
$skip = 1;
}
if (/fan controlled temperature:/i ||
/fan speed switching temperature thresholds/i) {
$skip = 1;
}
if (/THERMAL PLANE/) {
$skip = 1;
}
if (/temperature:/i) {
$skip = 1;
}
if (/Pressure:/) {
$skip = 1;
}
if (/Altitude:/) {
$skip = 1;
}
s/(Fan \d+ \S+), speed .*/$1/;
if (/speed/i) {
$skip = 1;
}
next if $skip;
...

If you're running rancid v3, you'll find similar in foundry.pm.

What model do you see these on? Could you share most/all of "show
chassis", out of curiosity?

(It seems odd to me that Altitude is changing by 10m ... Are these on a
ship or something?!)

Jethro.

. . . . . . . . . . . . . . . . . . . . . . . . .
Jethro R Binks, Network Manager,
Information Services Directorate, University Of Strathclyde, Glasgow, UK

The University of Strathclyde is a charitable body, registered in
Scotland, number SC015263.
Dave Ewart
2015-02-18 15:06:46 UTC
Permalink
On Wednesday, 18.02.2015 at 14:37 +0000, Jethro R Binks wrote:

> 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
>
> [...]
>
> (It seems odd to me that Altitude is changing by 10m ... Are these on a
> ship or something?!)

... and the altitude readings suggest 122m and 133m *below sea level*!
The pressure readings do seem to be approx. Atmospheric Pressure, though
;-)

Dave.

--
Dave Ewart
***@ceu.ox.ac.uk
Computing Manager, Cancer Epidemiology Unit
University of Oxford
N 51.7516, W 1.2152
heasley
2015-02-18 17:42:40 UTC
Permalink
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.
Josten, Michael
2015-02-19 07:42:17 UTC
Permalink
The changing altitude is a result of the poor implementation brocade did with those sensors.
My guess is, they used a chip that measures pressure and then they derive the altitude from that
data instead of using a proper altometer. We also get this chatter from an ICX 7750 device.



-----Ursprüngliche Nachricht-----
Von: Rancid-discuss [mailto:rancid-discuss-***@shrubbery.net] Im Auftrag von heasley
Gesendet: Mittwoch, 18. Februar 2015 18:43
An: Jethro R Binks
Cc: rancid-***@shrubbery.net
Betreff: Re: [rancid] Foundry (Brocade) environmental details

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.
heasley
2015-02-19 15:45:38 UTC
Permalink
Thu, Feb 19, 2015 at 08:42:17AM +0100, Josten, Michael:
> The changing altitude is a result of the poor implementation brocade did with those sensors.

why implement it at all?

> My guess is, they used a chip that measures pressure and then they derive the altitude from that
> data instead of using a proper altometer. We also get this chatter from an ICX 7750 device.

are you using the foundry device type for this device?
Josten, Michael
2015-02-19 18:48:37 UTC
Permalink
I don't understand your question, sorry. The ICX 7750 is a switch from brocade / foundry. I configured it as a foundry device in the router.db
it that was the thing you want to know.
________________________________________
Von: heasley [***@shrubbery.net]
Gesendet: Donnerstag, 19. Februar 2015 16:45
An: Josten, Michael
Cc: rancid-***@shrubbery.net
Betreff: Re: [rancid] Foundry (Brocade) environmental details

Thu, Feb 19, 2015 at 08:42:17AM +0100, Josten, Michael:
> The changing altitude is a result of the poor implementation brocade did with those sensors.

why implement it at all?

> My guess is, they used a chip that measures pressure and then they derive the altitude from that
> data instead of using a proper altometer. We also get this chatter from an ICX 7750 device.

are you using the foundry device type for this device?
heasley
2015-02-19 18:58:14 UTC
Permalink
Thu, Feb 19, 2015 at 07:48:37PM +0100, Josten, Michael:
> I don't understand your question, sorry. The ICX 7750 is a switch from brocade / foundry. I configured it as a foundry device in the router.db
> it that was the thing you want to know.

exactly. I didn't know if it worked as type foundry; so I didn't know if the
filter needed to also be applied elsewhere.
Loading...