Enterasys switches have slightly munted POE MIBs, rather than using a port index they use module.port - eg this switch is giving results for port 5.48, 6.1. This results in the POE values going into the wrong array in the port_stats array (eg “5.48” rather than “256”).
POWER-ETHERNET-MIB::pethPsePortPowerPriority.5.48 = INTEGER: low(3)
POWER-ETHERNET-MIB::pethPsePortPowerPriority.6.1 = INTEGER: low(3)
Unfortunately the only way I can see to translate them back to an ifIndex is via the ifName array:
IF-MIB::ifName.256 = STRING: ge.5.48
Dodgy hacks ahoy. Where would I account for this, somewhere around librenms/ports.inc.php at master · librenms/librenms · GitHub I guess?
opened 01:55PM - 27 May 17 UTC
closed 09:04PM - 14 Jul 17 UTC
Device
Needs-Info
DO NOT DELETE THIS INFORMATION.
> Please read this information carefully.
… GitHub issues is for bugs, please do not post issues asking for help or how to do X, Y or Z.
You can use our irc channel ##librenms on freenode to ask questions or our [community site](https://community.librenms.org).
If you have a feature request please post this on our [community site](https://community.librenms.org/c/feature-requests).
Please confirm each of the sections below by putting an `x` in the box like `[x]`.
- [x] Is your install up to date? [Updating your install](http://docs.librenms.org/General/Updating/)
Please do not submit an issue if your install is not up to date within the last 24 hours or on a stable monthly release.
- [x] Please include all of the information between the `====================================` section of `./validate.php` which you can run from the cli.
- [x] Please provide ALL info asked for [here](http://docs.librenms.org/Support/FAQ/#faq20).
- [x] Please provide as much detail as possible.
- [x] Please do NOT post more than 10 lines of debug information here, use a pastebin service or GitHub Gists.
Component | Version
--------- | -------
LibreNMS | 337dd4d02ee52e75d1b959dcfff9438403332b3b
DB Schema | 192
PHP | 5.6.30-0+deb8u1
MySQL | 5.5.55-0+deb8u1-log
RRDTool | 1.4.8
SNMP | NET-SNMP 5.7.2.1
Enterasys switches have slightly munted POE MIBs, rather than using a port index they use module.port - eg this switch is giving results for port 5.48, 6.1. This results in the POE values going into the wrong array in the port_stats array (eg "5.48" rather than "256").
```
POWER-ETHERNET-MIB::pethPsePortPowerPriority.5.48 = INTEGER: low(3)
POWER-ETHERNET-MIB::pethPsePortPowerPriority.6.1 = INTEGER: low(3)
```
Unfortunately the only way I can see to translate them back to an ifIndex is via the ifName array:
`IF-MIB::ifName.256 = STRING: ge.5.48`
Dodgy hacks ahoy. Where would I account for this, somewhere around https://github.com/librenms/librenms/blob/master/includes/polling/ports.inc.php#L250 I guess?