RE: Regarding Configuration of snmp agent

"Ravi S M" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <1BC030D8DE6BC042B3F33EE14CA2B8FA03DEEF53@SINPUNEX002.TechMahindra.com>
Hi Thomas

Thanks

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

	---Its working fine now

Am integrating free radius with net-snmp.

When I run the free radius server I  am getting following message with
"Broken Pipe"

Module: Instantiated radutmp (radutmp)
 main: smux_password = "verysecret"
 main: snmp_write_access = no
inside oid_compare
inside smux_connect
SMUX connect try 1
inside smux_oid_dump
SMUX open oid: 1.3.6.1.4.1.3317.1.3.1
SMUX open progname: radiusd
SMUX open password: verysecret
inside smux_oid_dump
SMUX register oid: 1.3.6.1.2.1.67.1.1.1.1
SMUX register priority: -1
SMUX register operation: 1
inside smux_oid_dump
SMUX register oid: 1.3.6.1.2.1.67.2.1.1.1
SMUX register priority: -1
SMUX register operation: 1
Broken Pipe

And the snmpd.log shows as follows

Am getting connection refused as under

[smux_accept] accepted fd 10 from 127.0.0.1:53312
refused smux peer: oid SNMPv2-SMI::enterprises.3317.1.3.1, descr radiusd
[smux_accept] accepted fd 10 from 127.0.0.1:53313
refused smux peer: oid SNMPv2-SMI::enterprises.3317.1.3.1, descr radiusd
[smux_accept] accepted fd 10 from 127.0.0.1:53315
refused smux peer: oid SNMPv2-SMI::enterprises.3317.1.3.1, descr radiusd

could you please help me in this regard? where I am going wrong??

Regards

Ravi







-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
Thomas Anders
Sent: Tuesday, September 19, 2006 6:07 PM
To: Ravi S M
Cc: [email protected]
Subject: Re: Regarding Configuration of snmp agent

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=DEVDE
V
_______________________________________________
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

============================================================================================================================

Tech Mahindra, formerly Mahindra-British Telecom.

Disclaimer:

This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.

============================================================================================================================

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