Dbm sensors and interface names
Hi, I'm watching the dBm sensors on a Brocade host, and I notice that on /health/metric=dbm/ and /device/device=X/tab=health/metric=dbm/ there is no sign of the port related to the values being displayed.
See screenshots :
http://i.imgur.com/UO0L74k.png
http://i.imgur.com/39AnD2i.png
Is this brocade specific ? If you need to try a patch, I'm available.
Regards, Benjamin
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.
Regards
Matthias
On 04/07/13 17:22, Benjamin Abadie wrote:
Hi, I'm watching the dBm sensors on a Brocade host, and I notice that on /health/metric=dbm/ and /device/device=X/tab=health/metric=dbm/ there is no sign of the port related to the values being displayed.
See screenshots :
http://i.imgur.com/UO0L74k.png
http://i.imgur.com/39AnD2i.png
Is this brocade specific ? If you need to try a patch, I'm available.
Regards, Benjamin _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
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
On 07/10/2013 02:16 PM, Benjamin Abadie wrote:
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
Hi, Could someone please fix this ? I don't think I have the adamproof coding skills to do it myself. :)
Benjamin
PS : bug is still present on a fresh install BTW.
participants (2)
-
Benjamin Abadie
-
Matthias Cramer