[AGENT++] SNMP++ snmpget for snmp v3

Jochen Katz katz at agentpp.com
Sun Sep 4 15:03:08 CEST 2005


Hi,

> snmpGet 172.17.0.20  -v3  -snanurag2 -sha -des -uaanurag  -upanurag  -sl3
> 
> (tried sha and md5 as well ) , snmpget works for authnopriv but does not
> work wuth autpriv sec level ( it fails with a time out) the same set of
> authpriv v3 security  paramaters setup in the MGSoftw MIB Broswer ( snmp
> tool ) works successfully and get the data .

a timeout is a strong indication for a problem on the agent side. Even
if the agent is not able to decrypt the pdu, a report has to be sent back.

> On running a sniffer it seems that there is an issue with engine boot
> time being sent to the snmp aganet from snmp++ but it could be some
> other issue as well ?

Why do you think it is a problem with engine boot counter? The console
examples do not store the boot/time values of agents, so each call to
snmpGet will result in a complete engine id and engine time discovery:
first request will result in "unknown engine id report" and the second
(sent with engine boot = engine time = 0) will result in a "not in time
window report". The third request should be answered with the requested
values.

Do you get any logging output from the agent that says why the request
is dropped?

Regards,
  Jochen



More information about the AGENTPP mailing list