Re: Problem using net-snmp as subagent (Error in packet)

"Johnny Ljunggren" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello again

> I'll bring it up with the Agentpp developers to see if they should deal
> with this differently. At least it seems like they should.

Just a follow up with the answer from Frank Fock:

a 0.0 OID should be encoded like:
02 00 00 00
00 00 00 00
00 00 00 00

and not
00 00 00 00

which is actually a zero length OID which
must not be returned by a SNMP agent.
Consequently, it should not be allowed for
an AgentX subagent to return a zero length
OID. Nevertheless, the AgentX++ master agent
should be able to handle this. At the moment,
I think there is no workaround implemented
to map a zero length OID to 0.0 for NET-SNMP
subagents. Instead a AgentX protocol error
is thrown, which could lead to a subagent
disconnect (if not sure if it actually does).

-- 
Johnny Ljunggren, Navtek AS


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.