Strange results with SNMP
-
Hey Guys, I've recently been trying out SNMP data source talking to a generic UPS with ethernet/SNMP support.
I can do a SNMP Walk and get the following value for example:snmpwalk -mALL -v1 -cpublic 10.10.0.98 UPS-MIB::upsInputVoltage.0 = INTEGER: 244 RMS Volts
I can see the same result when getting it directly with a MIB Browser...
When I put that OID into Mango's SNMP Host Checking I don't get the same result, I either get Null or 0 as a result.
I've been told we may have to 'get' the whole tree as one get then strip out what we want, is that something anyone here is familiar with having to do?
I'm far from an SNMP expert, but I haven't had this sort of issue before.Hope I can get to the bottom of it ;)
Cheers
Dan -
If it makes any difference, or helps.. here's the full tree we're using in the MIB Browser..
-
Ok further to this, I seem to get ok results for some values, however some values will only report if I use the snmp bulk get.
Does Mango support a bulk get command within it's SNMP module?Cheers
Dan -
OK Looks like I've got it working, I ended up putting .1 on the end of the browsed OID's here..
Now it works. -
Glad you got it figured out!