SNMP Get returns error after upgrading to 6.82/6.84

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
thomasschmeidl
Posts: 166
Joined: Sat Apr 15, 2006 2:14 pm
Location: Germany, Bavaria

SNMP Get returns error after upgrading to 6.82/6.84

Post by thomasschmeidl »

HM running as service on W2003

I just upgraded from 6.74 to 6.82 / 6.84.

Automatically append the single instance sub-identifier (".0") is OFF

Now SNMP get tests show strange behaviour:

All SNMP tests return: "SNMP error: no value returned"

The SNMP profile seems to be correct, as changing the profile causes "Timeout"

MIB-Browser, however, is able to retrieve correct SNMP value



Q1: Solution?
Q2: Is it possible to downgrade, if there is no solution?

Thanks

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

Post by KS-Soft »

SNMP test was redesigned in version 6.78, it does not use Windows API anymore and supports SNMP v1, v2c, v3. Sometimes your SNMP tests may need some tune up, however it should work even better then before.

What exactly counter do you check? Are you sure its correct and does not need .0 at the end? Windows may slightly correct some counters before request, that why old version of HostMonitor could work with incorrect counters. Now you should specify 100% correct counter

Regards
Alex
thomasschmeidl
Posts: 166
Joined: Sat Apr 15, 2006 2:14 pm
Location: Germany, Bavaria

Post by thomasschmeidl »

What exactly counter do you check?
We check several OIDs of a "Super Goose" environmental monitor (temp, humid ...)
Are you sure its correct and does not need .0 at the end?
Yes, but I tried it with the .0. too.
I identified the OIDs with MIB-Browser and MIB-Browser is able to retrieve the values using "GET"
Now you should specify 100% correct counter
How to obtain 100% correct OID if not with MIB Browser?

Regards

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

Post by KS-Soft »

MIB Browser uses Windows API.
May I see the counter? Could you send MIB file to support@ks-soft.net? May we access your device for testing? What version of SNMP protocol is supported by environmental monitor?

Regards
Alex
thomasschmeidl
Posts: 166
Joined: Sat Apr 15, 2006 2:14 pm
Location: Germany, Bavaria

Post by thomasschmeidl »

May I see the counter?
I will send you the informations via mail
Could you send MIB file to support@ks-soft.net?
downloadable at http://www.weathergoose.com/mib-itw.zip
May we access your device for testing?
I will make the device accessible. IP-adress will be sent by mail
What version of SNMP protocol is supported by environmental monitor?
V2

Thomas
thomasschmeidl
Posts: 166
Joined: Sat Apr 15, 2006 2:14 pm
Location: Germany, Bavaria

Post by thomasschmeidl »

I sent you the necessary informations via mail and put the device on the other side of our FW.

Could you please drop me a line, weather you received the informations and weather the device is accesssible.

Thanx

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

Post by KS-Soft Europe »

thomasschmeidl wrote:ICould you please drop me a line, weather you received the informations and weather the device is accesssible.
We got the files and device is accessible. Thank you.

We let you know ASAP regarding our investigation.

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

Post by KS-Soft »

You are using wrong OID.
If HostMonitor requests OID 1.3.6.1.4.1.17373.2.2.1.5, device responds with OID 1.3.6.1.4.1.17373.2.2.1.5.1. This is multi-instance counter (item of the table) so you need to add index.
If you request correct ID 1.3.6.1.4.1.17373.2.2.1.5.1, everything works fine.

Regards
Alex
thomasschmeidl
Posts: 166
Joined: Sat Apr 15, 2006 2:14 pm
Location: Germany, Bavaria

Post by thomasschmeidl »

Thank you very much for the support.

Now that you mention it, I realize that I had to check weather it is a multi instance-counter (although there can be only one instance in this device). :oops:

I was somehow mislead by the fact that MIB-browser returned a value with GET and displayed
  Value:
  [1.3.6.1.4.1.17373.2.2.1.5]=20

Maybe it is helpful to change that behaviour.

Regards

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

Post by KS-Soft »

You are welcome :)

MIB Browser still uses Windows API and does not check what exactly counter is returned by device, it checks returned value only. Its fine for most of devices because device should return specified counter on GET request or return error when counter does not exists. Looks like IT-WATCHDOGS processes GET requests similar to GET NEXT requests...

Anyway, we will redesign MIB Browser in future, it will not use Windows API and will support SNMP v3

Regards
Alex
Post Reply