snmp

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
Harland Adelaars
Posts: 12
Joined: Thu Dec 28, 2006 9:48 am

snmp

Post by Harland Adelaars »

Hello,

I'm new to HostMonitor and i want to use the SNMP test, when i use the MIBBrowser i find a OID that i want to monitor.

OID : .1.3.6.1.4.1.7933.2.1.5.1.1.2

SNMP is running on device, the community is default (public)

I Configured HM with the ip of the device, put down the OID and community, when i try to get value, the following error comes:

Cannot retrieve data. Unknow variable (OID), if you are requesting single instance couter, add ".0" to the OID. Otherwise make sure you have specified couter and index.

I don't get back any value, i tried the add .0 at the end than the following error happens:

Cannot retrieve data. Unknown variable (OID)

Please help!

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

Post by KS-Soft Europe »

"Unknown variable (OID)" - it is answer from mgmtapi.dll
What Windows do you use? Service Pack?

Regards,
Max
JuergenF
Posts: 331
Joined: Sun Jan 26, 2003 6:00 pm
Location: Germany, North Rhine-Westphalia

Post by JuergenF »

Dear Harland,

I can't find that OID on my system, therefore I can only give some hints.

If that OID points to an array i.e. like Interface Counters you have to add the Interface number.

Maybe you can try to add .1 or .2 and see what happens.
But: If that works, you need to understand what exactly you get when adding .1 or .2 and you have to decide what you want to monitor.

Example for a normal PC network cards:
OID: .1.3.6.1.2.1.2.2.1.8
points to "The current operational state of the interface."
When you use this OID and try to get value you receive that error.
When you add .1 (.1.3.6.1.2.1.2.2.1.8.1) you receive a value.
But what does that tell you - nothing.
You have to find out what .1 means. In my case it is the Loopback Interface. .2 is the LAN Interface and .3 the WLAN Interface.

So what I want to tell you:
Even if adding .1 works, be careful and think about, what value you are receiving

Regards

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

Post by KS-Soft Europe »

Does option "Automatically append the single instance sub-identifier (".0"). " enabled in Options > Miscellaneous tab > "SNMP Get test related option" section? Could you enable/disable it and try again?

Regards,
Max
Harland Adelaars
Posts: 12
Joined: Thu Dec 28, 2006 9:48 am

Post by Harland Adelaars »

Adding the interface nummer .1 works, thanks for the help!
Post Reply