![](https://secure.gravatar.com/avatar/53456bb07ef54dd04ac4652059ad7d74.jpg?s=120&d=mm&r=g)
On 07/07/2013 08:07 AM, Matthias Cramer wrote:
Hi Benjamin
I'm the one who implementet this. And did it on a XMR and tested on MLX, MLXe, CER2000.
For me it looks linke this:
I find It odd that the interface name does not get added.
I found out what's happening.
Here is an extract of includes/discovery/dbm/brocade-dom.inc.php, when the script is trying to find out the interface name :
$entry['descr'] = snmp_get($device, "ifDescr.".$index,"-Oqv") . " DOM TX Power";
The resulting snmp command built by snmp_get() is :
/usr/bin/snmpget -v2c -c aaaaaaa -Oqv -M /opt/observium/mibs udp:xmr-2:161 ifDescr.1
But this command yields :
ifDescr.1: Unknown Object Identifier (Sub-id not found: (top) -> ifDescr)
Adding " -m IF-MIB" next to "-Oqv" in the $options parameter (the third) of snmp_get() fixed the problem for me. I don't know if this is the way to handle mib loading you guys chose. I saw some "OID caching" but I didn't dig any further.
Oh, and by the way the problem is also present for sensors "Temperature" and "Current". See http://fisheye.observium.org/changelog/Observium?cs=3587
Hope this helps, Benjamin Abadie