Details
-
Vendor Bug
-
Resolution: Fixed
-
Major
-
None
-
Professional Edition
-
None
Description
Hi,
unfortunately the automatic port to sensor mapping does not work for Extreme ERS devices in a stack.
All PoE information is labeled to Unit 1.
Here is a output of my discovery -m sensors in debug mode:
/opt/observium/includes/entities/status.inc.php:529
array(
[status_id] => string(5) "62950"
[status_deleted] => string(1) "0"
[device_id] => string(4) "2519"
[poller_type] => string(4) "snmp"
[status_oid] => string(28) ".1.3.6.1.2.1.105.1.1.1.6.2.7"
[status_mib] => string(18) "POWER-ETHERNET-MIB"
[status_object] => string(26) "pethPsePortDetectionStatus"
[status_index] => string(3) "2.7"
[status_type] => string(26) "pethPsePortDetectionStatus"
[status_descr] => string(32) "Unit 1 Port 7 PoE Status Group 2"
[entPhysicalIndex] => string(1) "7"
[entPhysicalClass] => null
[entPhysicalIndex_measured] => string(1) "7"
[measured_class] => string(4) "port"
[measured_entity] => string(6) "208778"
[measured_entity_label] => string(13) "Unit 1 Port 7"
[status_ignore] => string(1) "0"
[status_disable] => string(1) "0"
[status_value] => string(1) "3"
[status_polled] => string(10) "1756386511"
[status_last_change] => string(10) "1755859930"
[status_event] => string(2) "ok"
[status_map] => null
[status_name] => string(15) "deliveringPower"
)
"Unit 1 Port 7" is showing PoE information (but in the MIB-Object you can see that 2.7 is used.
But in reality Unit 1 Port 7 is offline:
But instead Unit 2 Port 7 is online:
So the label is wrong.
I created a patch and attached it to fix this.
I also included hardcoded temperature values for the chassis itself.
I took this information from the install manual of the ERS4900 series.
Unfortunately for other ERS devices there are other values. Can you just hardcode this values for ERS4900 series?