RE: Timeout for snmpget

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

Thanks for your help. The snmpd.conf was not in proper path and hence I
faced the problem. After putting the snmpd.conf /usr/local/share/snmp it is
working fine.

Br,
APT

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

> From: Ambika Tripathy [mailto:[email protected]] 
> Sent: Sunday, November 16, 2008 3:20 PM

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

	Gdb?!  That's a bit extreme.  Note that snmpd may open ports other
than the SNMP listening port.

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

	Look in /usr/local/etc/snmpd.conf.  If yuou're just getting started,
`man snmpconf` for a good way to avoid getting clogged with details while
learning.  If you don't want to run as root, make all port numbers >1024
(preferably >8000) and put unix domain sockets (you would only use this for
AgentX) in your own filesystem, but if you can build to /usr/local, you've
got root priv, don'cha?


	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.