On Thu, 2005-07-14 at 18:42 +0800, 有一撮小毛終於快要畢業ㄌ~ wrote:
> What the command I typed is 
>  
>  "snmpget -c public localhost system.sysDescr.0"
>  
> However, it always shows me "snmpget: No securityName specified".

You need to specify the version of SNMP that you wish to use.
Either
   snmpget -v 1  -c public localhost system.sysDescr.0
or
   snmpget -v 2c -c public localhost system.sysDescr.0


The Net-SNMP suite defaults to SNMPv3, which uses a completely
different administration framework (including "security names"
and not based on community strings at all).



>  My snmpd.conf setting is as follow:

> rocommunity  public
> rwcommunity  public2
> com2sec paranoid  default         public2

Note that if you're using 'rocommunity' or 'rwcommunity' statements,
then you don't need a "com2sec" line at all.

*Either* use r[ow]community *or* use com2sec/group/view/access.
Do not try to mix the two.

Dave




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to