I tried to create SNMP test whish should read some values from APC Smart-UPS. The MIB browser succesfully reads these values both from pc that runs HM service and my, administrating PC. But the service does NOT! I'm using snmp v1. Community names are same.
But HM service responds 'No such name'.
HM service runs on Windows 2008 server as service under LocalSystem account.
SNMP Test not works.
1.3.6.1.4.1.318.1.1.1.2.2.1? upsAdvBatteryCapacity?
I think this is single instance counter, this means you have to add .0 to the end.
1.3.6.1.4.1.318.1.1.1.2.2.1.0
Why MIB Browser works in such case and HostMonitor does not?
MIB Browser uses Windows API which does not work correctly in some cases.
E.g. if you request "1.3.6.1.4.1.232.6.2.6.8.1.4.0.1" while there is no such counter (because incorrect index is specified) and SNMP agent returns nearest valid counter (so it performs SNMP GETNEXT request instead of GET request), MIB Browser will display this value.
Its not a problem for MIB Browser because its actually purpose of the browser - show available counters.
While HostMonitor will check for specific counter only (counter that was speciied in request).
If you are not sure what indexes are present, please use GET NEXT function of MIB BROWSER to receive valid OID and then use this OID for the test.
Regards
Alex
I think this is single instance counter, this means you have to add .0 to the end.
1.3.6.1.4.1.318.1.1.1.2.2.1.0
Why MIB Browser works in such case and HostMonitor does not?
MIB Browser uses Windows API which does not work correctly in some cases.
E.g. if you request "1.3.6.1.4.1.232.6.2.6.8.1.4.0.1" while there is no such counter (because incorrect index is specified) and SNMP agent returns nearest valid counter (so it performs SNMP GETNEXT request instead of GET request), MIB Browser will display this value.
Its not a problem for MIB Browser because its actually purpose of the browser - show available counters.
While HostMonitor will check for specific counter only (counter that was speciied in request).
If you are not sure what indexes are present, please use GET NEXT function of MIB BROWSER to receive valid OID and then use this OID for the test.
Regards
Alex