Hi Immad,

Consider the host you are trying to "walk". Do you know for sure that
an SNMP agent is running on test.net-snmp.org ? Do you know for sure
that the community string is "demopublic"?
I would test towards another host, on your local network.

(FYI, I get the same timeout when running your snmpwalk command to that host.)

Best regards,
Joel Hansell

On Wed, Dec 15, 2010 at 6:18 PM, Immad Mir <[email protected]> wrote:
> Hi all
>
> I am trying to get the test application (from
> http://www.net-snmp.org/wiki/index.php/TUT:Simple_Application#Net-SNMP_Command_Line_Applications)
> to work. I have compiled the sourcecode without making any changes to it.
> When I try to run it, I get the following timeout error
>
> colinux# ./snmpdemoapp
> No log handling enabled - turning on stderr logging
> snmpdemoapp: Timeout
>
> I then tried snmp walks and got the same error.
>
> colinux# snmpwalk -v 2c -c demopublic test.net-snmp.org sysDescr
> Timeout: No Response from test.net-snmp.org
>
> colinux# snmpwalk -v 2c -c demopublic test.net-snmp.org sysDescr.0
> Timeout: No Response from test.net-snmp.org
>
> Where should I start debugging from ? Can someone point me in the right
> direction please. I cannot see any netsnmp log files probably because the
> way library was installed.
>
> ..text from 'configure' is copied below
>
> checking Location to write logfile...
>
> *** Logfile location:
>
>         Enter the default location for the snmpd agent to dump
> information & errors to.  If not defined (enter the keyword "none"
> at the prompt below) the agent will use stdout and stderr instead.
> (Note: This value can be over-ridden using command line options.)
>   Providing the --with-logfile="path" parameter to ./configure
> will avoid this prompt.
>
> Location to write logfile (/var/log/snmpd.log):
> setting Location to write logfile to...  /var/log/snmpd.log
> checking Location to write persistent information...
>
> Many thanks
> Immad.
>
> ------------------------------------------------------------------------------
> Lotusphere 2011
> Register now for Lotusphere 2011 and learn how
> to connect the dots, take your collaborative environment
> to the next level, and enter the era of Social Business.
> http://p.sf.net/sfu/lotusphere-d2d
> _______________________________________________
> 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
>
>

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
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