Hello guys.
I implemented a snmp agent using netsnmp and it works fine.
I decided to implement a agentx subagent that answers to other MIB modules.
If I try a snmpget it works fine.
But if I try a snmpwalk in a node, it answers me to a random point and then
gives me "Error in packet".



SNMPv2-SMI::enterprises.22344.1.2.1.1.2.1 = Gauge32: 0
SNMPv2-SMI::enterprises.22344.1.2.1.2.3 = Gauge32: 11928
SNMPv2-SMI::enterprises.22344.1.2.1.2.4 = Gauge32: 8131
SNMPv2-SMI::enterprises.22344.1.2.1.2.5 = INTEGER: 4
SNMPv2-SMI::enterprises.22344.1.2.1.2.6 = INTEGER: 1316466600
SNMPv2-SMI::enterprises.22344.1.2.1.2.7 = Gauge32: 2
SNMPv2-SMI::enterprises.22344.1.2.1.2.8 = Gauge32: 5100
SNMPv2-SMI::enterprises.22344.1.2.1.2.9 = INTEGER: 0
SNMPv2-SMI::enterprises.22344.1.2.1.2.10 = INTEGER: 0
SNMPv2-SMI::enterprises.22344.1.2.1.2.11 = INTEGER: 0
SNMPv2-SMI::enterprises.22344.1.2.1.2.12 = Gauge32: 6828
SNMPv2-SMI::enterprises.22344.1.2.1.4.1.1 = Gauge32: 384
SNMPv2-SMI::enterprises.22344.1.2.1.4.1.2 = Gauge32: 1
SNMPv2-SMI::enterprises.22344.1.2.1.4.1.3 = Gauge32: 0
SNMPv2-SMI::enterprises.22344.1.2.1.4.1.4 = INTEGER: 2
SNMPv2-SMI::enterprises.22344.1.2.1.4.1.5 = INTEGER: 2
Error in packet.
Reason: (genError) A general failure occured
Failed object: SNMPv2-SMI::enterprises.22344.1.2.1.4.1.5

SNMPv2-SMI::enterprises.22344.1.2.1.1.2.1 = Gauge32: 0
SNMPv2-SMI::enterprises.22344.1.2.1.2.3 = Gauge32: 11928
SNMPv2-SMI::enterprises.22344.1.2.1.2.4 = Gauge32: 8131
SNMPv2-SMI::enterprises.22344.1.2.1.2.5 = INTEGER: 4
SNMPv2-SMI::enterprises.22344.1.2.1.2.6 = INTEGER: 1316466600
SNMPv2-SMI::enterprises.22344.1.2.1.2.7 = Gauge32: 2
SNMPv2-SMI::enterprises.22344.1.2.1.2.8 = Gauge32: 5100
SNMPv2-SMI::enterprises.22344.1.2.1.2.9 = INTEGER: 0
SNMPv2-SMI::enterprises.22344.1.2.1.2.10 = INTEGER: 0
SNMPv2-SMI::enterprises.22344.1.2.1.2.11 = INTEGER: 0
Error in packet.
Reason: (genError) A general failure occured
Failed object: SNMPv2-SMI::enterprises.22344.1.2.1.2.11

But something very wierd happens. If I strace my master agent, I don't get
this error. It works fine.
I searched for a week in google and I couldn't find a solution.
Does anyone have an idea of what it could be?
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
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

Reply via email to