RE: SNMPv3 Help - Problems with user accounts. Trying to snmpwalk

Daniel Stewart <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>

*Stopped n started the agent using 'sudo service snmpd start/start'



I can the snmpd -f -Le -Dread_config -Dusm, seemed to run fine although the last couple lines are as below -

read_config:  config dir: /var/net-snmp
read_config: /var/net-snmp/snmp.conf: No such file or directory
read_config: /var/net-snmp/snmp.local.conf: No such file or directory
Error opening specified endpoint ""
Server Exiting with code 1

------


After the (snmpget -v 3 -u myuser -l authNoPriv -a MD5 -A my_password localhost sysUpTime.0)  command i now get;

snmpget: Unknown user name (Sub-id not found: (top) -> sysUpTime)

Daniel


----------------------------------------
> Date: Wed, 2 Apr 2008 19:48:01 +0100
> From: [email protected]
> To: [email protected]
> Subject: Re: SNMPv3 Help - Problems with user accounts. Trying to snmpwalk
> CC: [email protected]
> 
> On 02/04/2008, Daniel Stewart  wrote:
>>  Yes both lines exist in the below mentioned files;
>>
>>  createUser myuser MD5 "my_password" DES  (ar/net-snmp/snmpd.conf:)
>> and
>>   rwuser myuser   (/usr/local/share/snmp/snmpd.conf:)
> 
> Hmmmm....
> 
> Can you try the following:
> 
>   -  shut the agent down
>   -  restart it using
>            snmpd -f -Le -Dread_config -Dusm
>   -  run the same "snmpget" command
> 
> What does the agent display?
> 
> Dave
> 
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> 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
> 

_________________________________________________________________
Welcome to the next generation of Windows Live
http://www.windowslive.co.uk/get-live
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
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.