On Tue, 2006-01-24 at 13:43 -0800, Li Juen Hwang wrote:
>     I am using net-snmp-5.2.1 to buid an snmp agent.


> When i (either as root or normal user)  tried
>    "snmpget -v 2c -c public localhost darDeviceType.0",
>     i got "Timeout: No Response from localhost."

Can you retrieve *anything* from the agent?

Try:

     snmpget ....  sysName.0
     snmpget ....  ifNumber.0
     snmpgetnext ...  ifTable
     snmpget ....  versionIdent.0
 
That should indicate whether the problem is general
access control, or specific to your new MIB.

If you can't retrieve any of these values, then please
see the FAQ entries about access control.
If you can see 'sysName', but none of the others,
then see the FAQ entry:
    I can see the system group, but nothing else.  Why?

If you can see all of these (but not your new MIB),
then see the checklist in the FAQ entry:

   I've added my code to this template and it still
       doesn't work.  Why not?

Dave


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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

Reply via email to