I'm implementing an AgentX subagent using the mib2c mfd.
Several of my tables have columns that are of OID type.
If I set the
rowreq_ctx->data.fooOID[0] = 0;
rowreq_ctx->data.fooOID[1] = 0;
rowreq_ctx->data.fooOID_len = 2;
Which I assume is how I set a zeroDotZero OID value.
I get from the snmpd an error that looks like this:
Connection from UDP: [127.0.0.1]:33653
netsnmp_assert pss->s_snmp_errno != (-11) failed snmp_api.c:3119 snmp_build()
send response: Error building ASN.1 representation (build objid: bad second
subidentifier)
-- SNMPv2-SMI::mumblemumblemumble
Am I doing it wrong, or have I hit a bug in the AgentX code?
--
Mark Atwood When you do things right, people won't be sure
[EMAIL PROTECTED] you've done anything at all.
http://mark.atwood.name/ http://fallenpegasus.livejournal.com/
-------------------------------------------------------------------------
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-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders