Re: snmpwalk error with subagent

Rodrigo Barboza <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CANs8QJYTcRZiCuftYGQDwqrGDiinPDsF76M+2YqZodxp63shhg@mail.gmail.com>
Yes, it was exactly that.
I just added to my snpmd.conf the parameter: "agentXTimeout 5" and it worked
fine! =]
Thanks. Problem solved.

On Fri, Sep 23, 2011 at 1:38 PM, Malathi Panyam <[email protected]>wrote:

> What is the size of the data for this MIB module? I had this issue with
> tables with large number of rows..to start with you may need to provide
> sufficient timeout values for the request and check..****
>
> ** **
>
> *From:* Rodrigo Barboza [mailto:[email protected]]
> *Sent:* Tuesday, September 20, 2011 6:23 AM
> *To:* [email protected]
> *Subject:* snmpwalk error with subagent****
>
> ** **
>
> 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 gives responses untill 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 of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2

_______________________________________________
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.