Hi All,
I'm having a hard time wrapping my head around using the Universal Device Poller and extracting some information from an IBM DataPower XI50 appliance. I'm performing a snmpwalk on the appliance for a particular OID which returns an entry containing the name, temperature, thresholds, and status of multiple sensors (CPU, memory, etc). I've attached an snmpwalk with and without MIB translations for this particular issue.
When creating the custom poller, I can get it to successfully test the OID and return the values for the host I'm using to test against. The problem comes when it wants to select the label. If I tell it to "Use labels from a table column", and select the same device I successfully tested on the previous screen, I get a little error message "This does not appear to be a valid column OID. Stopping test", at which point it does not let me proceed. I think the problem is how the OID is constructed in the returned table. For example, the information for "Temperature CPU1" has it's name in 1.3.6.1.4.1.14685.3.1.141.1.1.84.101.109.112.101.114.97.116.117.114.101.32.67.80.85.49. Everything after 1.3.6.1.4.1.14685.3.1.141.1.1 is the decimal code for the letters in the name. 84=T, 101=e, 109=m, etc. I think this is causing the Universal Device Poller application to get confused over what to do because it should really be stopping at 1.3.6.1.4.1.14685.3.1.141.1.1, which in the MIB defines dpStatusTemperatureSensorsName.
I've tried telling it to go for the temperature values, but then end up with the same issue, I have no way to define what the values are tied to by name (ie, CPU or memory temperatures) because it throws the same error message.
Anybody got any ideas on how to get around this?
Edit: In addition to pulling the values out, how do you get it to react to a different field for the status? For example, the CPU1 temperature is at "31C", the dpStatusTemperatureSensorsReadingStatus is ok(4). If it exceeds a certain value, the dpStatusTemperatureSensorsReadingStatus changes, so we'd want that item to be marked as in a different status.
Attachments are:
- walk_temps.txt is an snmpwalk without importing the MIBs.
- walk_temps_mibs.txt is an snmpwalk with MIBs imported.
- drConfigMIB.txt is the root MIB for the DataPower appliance.
- drStatusMIB.txt is the MIB for appliance status.