On Feb 11, 2008 4:20 PM, Dave Shield <[EMAIL PROTECTED]> wrote:

> On 11/02/2008, Pranesh Kulkarni <[EMAIL PROTECTED]> wrote:
> >   I am running ... my subagent as
> >    # ./simpleTable  -f -L -x "tcp:localhost:7058"
>
> >    The subagent does connect to the master agent.
>
> Does it successfully register the table with the master agent

                      NET-SNMP version 5.4.1 AgentX subagent connected ,


>
>
> >    But  if I am doing the snmpwalk , I am getting,
> >      # snmpwalk -v 2c  -c public localhost simple-MIB::simpleTable
> >          Timeout: No Response from localhost
>
> What if you query a single value from the master agent:
>
>    snmpget -v 2c -c public localhost sysUpTime.0

                   Timeout: No Response from localhost.
>
>
>
> Does that work or timeout?
>         Timeout: No Response from localhost.
>
>
> >     If I run the subagent as the master agent,
> >         #./simpleTable -f -L -DsimpleTable -M localhost:1161
> >      I am getting the values.
>
>
> Is this an SNMP (sub)agent, or a master agent?
> How was it compiled?  In particular, what code did you
> use as the main agent driving code.



                        Its a subagent
                   Generated code using mib for dummies option
                  mib2c -c mib2c.mfd.conf  simple-MIB::simpleTable

                  Then added the user code , and when I run as,
                   #./simpleTable -f -L -DsimpleTable -M localhost:1161
                          giving the values ....


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

Reply via email to