[AGENT++] Problem getting correct info using the snmpGet example with v3

Jochen Katz katz at agentpp.com
Sun Apr 1 17:40:33 CEST 2007


Hi,

> I am trying to use the snmpGet sample application to talk to an agent via
> V3. I have wrapped the application in a script  snmpget.sh as follows:
> 
> ./snmpGet 172.23.120.101 $1 -v3 -P161 -r1 -t100 -snAdmin1 -sl3 -sm3
> -ceTW3320568 -authMD5 -privDES -uatellabs1$ -uptellabs1$

first I thought that the $ within the auth/priv passwords could be a
problem, but it works with my bash.

> No matter which OID I supply to the parameter ($1 above), I always get the
> following values:
> 
> Oid = 1.3.6.1.2.1.11.32.0
> Value = 13

This is the oidSnmpProxyDrops.

> I have verified talking to the Agent using similar parameters via the
> MGSOFT MIB browser.

Did you set a context name in Mgsoft browser?

Regards,
  Jochen



More information about the AGENTPP mailing list