RE: Timeout for snmpget

"Ambika Tripathy" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi Mike,

	Thanks for your quick reply. Okay I used 5.4.2.1 version also with
the same answer. After starting snmpd from /usr/local/sbin/snmpd, I checked
the ps -A | grep snmp and it was running. When I GDB snmpd, I found it was
taking some different port than 161. 

	Should I specify port 161 for this and how? What else setting /
configuration option should I check.

Br,
APT

-----Original Message-----
From: Mike Ayers [mailto:[email protected]] 
Sent: 2008-11-17 02:08
To: Ambika Tripathy; [email protected]
Subject: RE: Timeout for snmpget

> From: Ambika Tripathy [mailto:[email protected]] 
> Sent: Sunday, November 16, 2008 1:49 AM


> I am using net-snmp-5.0.11.2 version source to test 
> http://www.net-snmp.org/wiki/index.php/TUT:Writing_a_MIB_Modul
> e example.

	If you're doing tutorials, please use a more recent version, if
possible.

> But when trying to execute the snmpget -v 1 -c 
> public localhost 
> NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject.0 it is showing 
> Timeout: No Response from localhost. After that I check 
> SNMPv2-MIB::sysUpTime.0 and the same result appear.

	Did you start the maszter agent?  Are you sure it succeeded?  Unix
users can't start the agent on the default port.


	HTH,

Mike

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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.