Can you please send me an example of file snmp.conf?
I 've done as you said, but after all I get 

/usr/local/etc/snmp/snmp.conf: line 16: Warning: Unknown token: rwuser.
/usr/local/etc/snmp/snmp.conf: line 21: Warning: Unknown token: rouser.
/usr/local/etc/snmp/snmp.conf: line 26: Warning: Unknown token: rocommunity.

I really do not know what is happening here.. I just want to use snmp without any 
restrictions. For all users...
  
thank you, 
BR 

> Od: Dave Shield <[EMAIL PROTECTED]>
> Datum: 1.07 11:06
> Za: [EMAIL PROTECTED]
> CC: [EMAIL PROTECTED]
> Zadeva: Re: snmpget
> 
> 
> > 5)  [EMAIL PROTECTED]:conf]# snmpd -f -L -d
> > Warning: no access control information configured.
> >   It's unlikely this agent can serve any useful purpose in this state.
> 
> Well that should be something of a warning sign!   :-)
> 
> 
> 
> > rocommunity  rocommunity
> > rocommunity  public
> > rwcommunity  rwcommunity
> > rwcommunity  public
> 
> No no no!!!!
> You do *NOT* want to use the same community for both "rw" and "ro" settings.
> Use a *different* community string for setting read-write access.
> 
> Having said which, this wouldn't affect GET requests.
> So we're back to the problem indicated in step 5)
> The agent is clearly not finding this particular file.
> 
> Try the following:
> 
>     /usr/local/sbin/snmpd -f -L -Dread_config
> 
> That will display a list of the places that the agent is looking for
> the snmpd.conf file.   My guess is that /etc/snmp/conf won't be one
> of them.
> 
> Move or copy the file /etc/snmp/conf/snmpd.conf to one of the locations
> listed there (ideally having fixed the rocommunity/rwcommunity clash)
> and run:
> 
>       /etc/rc3.d/S78net-snmp stop
>       /etc/rc3.d/S78net-snmp start
> 
> Then try your snmpget request again.
> 
> 
> 
> Dave
> 
> 



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
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

Reply via email to