Re: snmpwalk --no response when issued to sub-agent through master-agent

"Pranesh Kulkarni" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Tue, Feb 12, 2008 at 3:15 PM, Dave Shield <[email protected]>
wrote:

>    [ First - *please* don't mail me privately, without copying
>     any responses to the mailing list.  I don't have the time
>     or inclination to offer private, unpaid, SNMP consultancy.
>     Keep discussions to the list, where others can both learn
>     and offer advice.  Thanks.   ]
>
> On 11/02/2008, Pranesh Kulkarni <[email protected]> wrote:
> > > > > Does it successfully register the table with the master agent
>
> >   I checked like this
> >                    # netstat  -an | grep 7058
> >                          tcp        0      0 127.0.0.1:7058
> > 0.0.0.0:*                   LISTEN
> >                          tcp        0      0 127.0.0.1:32971
> > 127.0.0.1:7058              ESTABLISHED
> >                           tcp        0      0 127.0.0.1:7058
> > 127.0.0.1:32971             ESTABLISHED
> >
> >                I think its getting registered ....
>
> That simply confirms that the subagent is connected.
> It doesn't say anything about what MIB information the
> subagent has registered.
>
>
> > If this is not a right way to check, whether is is registered or not ..
> > Please suggest me , how to check.
>
>
> Try walking the nsModuleTable, and see whether you can see
> anything that looks like your subagent or the table OIDs that
> it should be registering.
>
> Alternatively, run the master agent using -Dagentx/master
> and see what it reports when you start the subagent.


when I run as


# /usr/local/sbin/snmpd -Dagentx/master -x tcp:7058
No log handling enabled - turning on stderr logging
registered debug token agentx/master, 1
 Turning on AgentX master support.
agentx/master: initializing...
agentx/master: initializing...   DONE
NET-SNMP version 5.4.1
agentx/master: unexpected callback op 4
agentx/master: handle pdu (req=0x36ec03ba,trans=0x0,sess=0x0)
agentx/master: open 0x6aed50
agentx/master: opened 0x6af0f0 = 8 with flags = a0
agentx/master: send response, stat 0 (req=0x36ec03ba,trans=0x0,sess=0x0)
agentx/master: handle pdu (req=0x36ec03bb,trans=0x0,sess=0x8)
agentx/master: in register_agentx_list
agentx/master: registered ok
agentx/master: send response, stat 0 (req=0x36ec03bb,trans=0x0,sess=0x8)
agentx/master: handle pdu (req=0x36ec03bc,trans=0x0,sess=0x8)
agentx/master: send response, stat 0 (req=0x36ec03bc,trans=0x0,sess=0x8)
agentx/master: handle pdu (req=0x36ec03bd,trans=0x0,sess=0x8)


I think its getting registered .

Thanks,
Pranesh

>
>
> Dave
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

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