Re: Regarding Configuration of snmp agent

Thomas Anders <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Ravi S M wrote:
> I compiled and installed the NET-SNMP (5.3.1). when I run the command
> 
> 	/usr/local/sbin/snmpd -f -L
> 
> Am getting the following error message
> 
> 	/usr/local/share/snmp/snmpd.conf: line 49: Error: bad security
> level (noauthnopriv, authnopriv, authpriv)
> net-snmp: 1 error(s) in config file(s)
> [init_smux] bind failed: Permission denied
> Error opening specified endpoint "udp:161"
> Server Exiting with code 1
> 
> My snmpd.conf access control section looks like this.
[...]
> rwuser  ravis  1.3.6.1.4.1.3317.1.3.1 <-------*--------->this place
> gives problem
> 
> # rouser: a SNMPv3 read-only user
> #   arguments:  user [noauth|auth|priv] [restriction_oid]
> 
> rouser  kshitij auth 1.3.6.1.4.1.3317.1.3.1
> 
> I guess I have done some messup in configuring snmpd.conf

- use "rwuser ravis auth 1.3.6.1.4.1.3317.1.3.1"
- make sure there's no other process running on udp port 161, otherwise
start as "/usr/local/sbin/snmpd -f -Le udp:8161" (i.e. on a different port)


+Thomas

-- 
Thomas Anders (thomas.anders at blue-cable.de)

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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.