SNMP GET problems

When you post information about some problem, please include the following details: - OS version (e.g. Windows 2000 Professional SP3); HostMonitor version; problem description.
Post Reply
Tropinkin
Posts: 5
Joined: Tue Mar 30, 2010 6:58 am

SNMP GET problems

Post by Tropinkin »

Problems with APC NetBotz device.

Have APC device with 2 temperature sensors.

In MIB browser found:
.iso.org.dod.internet.private.enterprises.netBotzAPC.netBotz.netBotzSensors.netBotzNumericSensors.tempSensorTable.tempSensorEntry.tempSensorValueStr

OID: .1.3.6.1.4.1.5528.100.4.1.1.1.7

Pressing "Get next" button in window I see:
[1.3.6.1.4.1.5528.100.4.1.2.1.2.2804425567] = 24.700000
Pressing again "Get next", receiving:
[1.3.6.1.4.1.5528.100.4.1.1.1.7.2628357572] = 24.200000
It's correct..

First sensor everytime works correct, but when I select OID of second sensor and press "Get Value" I get error "Incorrect OID".

I tried connect many sensors, problem everytime just with last sensor.

For example if connect 4 sensors, problem with getting value just №4

It shows value only when I press "Get Next" on previous sensor.

I tried different other MIB browsers, all works correct. Zabbix monitoring shows correct value too. I tried monitor 2 different NetBotz devices, error appears on both and just with Host-Monitor.

Any ideas?

PS I tried trial Host-Monitor and want to boy it, if this problem will be resolved. Maybe some limitations of trial version?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

No, its not limitation of trial version.
As I understand you have problem with MIB Browser only, HostMonitor returns correct value when you specify correct OID?
Can we access your device for testing? You may send IP address, port and other parameters to support@ks-soft.net

Regards
Alex
Tropinkin
Posts: 5
Joined: Tue Mar 30, 2010 6:58 am

Post by Tropinkin »

No, HM says "No such name".. And then when I press "Browse MIBs" says "Incorrect OID value".
Sorry, device located in bank's network without Internet access.

MIB browser:
Image
returns value only on "GetNext", on "Get" fails.

Device page
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Could you please try the following update: www.ks-soft.net/download/hm855c.zip
Just unzip the files and replace current hostmon.exe and rcc.exe modules.

Please install official release 8.54 before applying this update.
(I think you already using version 8.54?)

If this apdate will work fine with your device, we will modify MIB Browser as well.

Regards
Alex
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Tropinkin,
Language of this forum - English

Regards
Alex
Tropinkin
Posts: 5
Joined: Tue Mar 30, 2010 6:58 am

Post by Tropinkin »

Sorry, still doesn't work.

The same error.

Other MIB tools works fine.

For example query result of MG-SOF MIB Browser:
222: enterprises.5528.100.4.1.1.1.7.1619732064 (octet string) 23.700000 [32.33.2E.37.30.30.30.30.30 (hex) Size = 9]

HM says "SNMP Error: no value retutned"

Maybe I can make some tests to help you find the problem?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

You can help if you provide access to the device...
Ok, we will try to emulate such problem. I will let you know ASAP

Regards
Alex
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

There is new update at the same location: www.ks-soft.net/download/hm855c.zip
Please let us know how it works with SNMP agent.

Regards
Alex
Tropinkin
Posts: 5
Joined: Tue Mar 30, 2010 6:58 am

Post by Tropinkin »

Thanks! It works now.
zorzonika
Posts: 3
Joined: Mon Jan 24, 2011 1:14 am

same problem i have with dell power connect 3024

Post by zorzonika »

- i use a free version of ks hostmonitor, and i have next errors :

http://sel.ro/ks/ks1.JPG
http://sel.ro/ks/ks2.JPG
http://sel.ro/ks/ks3.JPG

- is strange because in mib browser the OID whos working when i push "get value " in hostmonitor is giving " snmp error no such name"
- any ideea ?

thx anticipated
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

same problem i have with dell power connect 3024

Post by KS-Soft Europe »

MIB Browser uses Windows API which does not work correctly in some cases.
E.g. if you request some OID and there is no such counter because correct index is different, SNMP agent returns nearest valid counter (so it performs SNMP GETNEXT request instead of GET request), MIB Browser will return not requested but nearest valid counter.
While HostMonitor will check for specific counter only.
In such case, we recommend to use GET NEXT function of MIB BROWSER to retrieve valid counter.
As I see from your screenshot, GET NEXT function returns values for valid counter: 1.3.6.1.4.1.674.10895.1.11.6.1.10.1
while you are trying to get values for counters that does not exist:
1.3.6.1.4.1.674.10895.1.11.6.1.10.01.0
1.3.6.1.4.1.674.10895.1.11.6.1.10.1.0
zorzonika
Posts: 3
Joined: Mon Jan 24, 2011 1:14 am

is true

Post by zorzonika »

- but when i put OID in camp "Alert when OID" even i put manually 1.3.6.1.4.1.674.10895.1.11.6.1.10.1, it will transform automaticaly 1.3.6.1.4.1.674.10895.1.11.6.1.10.1.0 ( with .0 ) and i dont understand why ... and when i use button " Get value " i get message like in pics number 3 ...
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

I assume you marked "Automatically append the single instance sub-identifier (.0)" option. You may disable it.
Option located on Misc page in HostMonitor Options dialog

Regards
Alex
zorzonika
Posts: 3
Joined: Mon Jan 24, 2011 1:14 am

true again

Post by zorzonika »

- now is work, but this option was marked to resolve another problem with a CTC FRM401, i will test tomorow again and return some ss with the FRM401 error, and hope to be only my imagination ...

thx anticipated
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

You can add ".0" manually to any OID so this option is not really necessary.

Regards
Alex
Post Reply