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

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 10/02/07, Johnny Ljunggren <[email protected]> wrote:
> Dave Shield wrote:
> > Can you try turning on packet dumps in the subagent
> > and issue a GET request for one of the offending instances.
>
> I wasn't quite sure how to do it, but I've got debug output from my master
> agent, and an ethereal dump.

Unfortunately, this output only includes a dump of the SNMP
request/response, and doesn't show the AgentX exchange.

I'm not sure whether you're using the "normal" Net-SNMP agent
running as a subagent, or the simpler subagent-specific framework.

The main Net-SNMP agent takes the flag '-d' to turn on packet dumps.
The subagent framework doesn't recognise this, so you'd need to
add the statement:

            netsnmp_ds_set_boolean(NETSNMP_DS_LIBRARY_ID,
                                   NETSNMP_DS_LIB_DUMP_PACKET, 1);

and recompile.

Let the subagent run through the registration and settle down.
Then issue a single GET request for the offending OID, and let
me have a copy of the AgentX packet dumps.

Dave

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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.