[AGENT++] how long can a oid be?

Frank Fock fock at agentpp.com
Sat Jan 22 14:33:03 CET 2005


Hi Jerry,

A SNMP OID can contain up to 128 sub-identifiers.
So in your case, I suspect the bug to be caused by
something else. By analysing the stack trace with
a debugger you should be able to find the real
cause quite easy.

Best regards,
Frank

OELoo Jerry wrote:

> Hi all
> i have meet some problem with the snmp++ and agent++. i have make two
> simple exes-getexe and proxyexe with MSVC,the former send the get
> request,the later receive the request and send the response.
> when i make the oid as "1.3.6.1.2.1.1.1.1.0" or
> "1.3.6.1.2.155.1.1.0",both exes work ok,but when i make it as
> "1.11.1.2.1.1.31.14.3.9" the proxyexe will be access violation....i
> have tested some oid,i found if the oid is longer than some length the
> proxyexe will crash ....
> so why it is ? if there is a length limit for the oid ? thanks in advance
> any hints will be appreciated
>
> _________________________________________________________________
> 享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com
> _______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> http://agentpp.org/mailman/listinfo/agentpp
>





More information about the AGENTPP mailing list