Hi,

Our development architecture is as follows.
Net-snmp with only SNMPV2 support is installed in the following path.
/usr/loca/XCompany/net-snmp (/lib, /bin, /man, /sbin, /share)
Its configuration file exists in /usr/local/XCompany/cfg/snmpd.conf

and the environment path settings for the SNMPV2 net-snmp is as follows.

LD_LIBRARY_PATH=/usr/sbin:/usr/local/XCompany/net-snmp/lib
SNMPCONFPATH=/usr/local/XCompany/XChat/cfg/snmp
SNMP_HOME=/usr/local/XCompany/net-snmp

We installed one more copy of net-snmp which support SNMPv3 in the default
directory i.e
/usr/sbin/
/usr/local/share
/var/net-snmp

But no environment path setting is done for this v3 snmpd installation.

The main motto of our project is that the SNMPv3 agent should act as proxy
for the SNMPV2 agent when somebody tries to query the version 2 snmpd.

We created a v3 user name with the command
net-snmp-config --create-snmpv3-usr -a "my_password" myuser

and its output is 

"adding the following linet to /var/net-snmp/snmpd.conf:
   createUser myuser MD5 "my_password" DES
adding the following line to /usr/share/snmp/snmpd.conf:
   rwuser myuser "

Then I started my snmpd with the following command
"/usr/sbin/snmpd -L -f -c /usr/share/snmp/snmpd.conf"

and its output is

"NET-SMP version 5.2.1.1"


But when we execute a command like 
"snmpget -v 3 -u myuser -l authNoPriv -a MD5 -A my_password localhost
system.sysUpTime.0"
in a different terminal in the same machine, I get error as follows
"snmpget: Unknown user name"

What are the other settings I have to do to make this to work? 
Please help me.

Regards,
Rav


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
  • Question regardin... Ravi, Rajagopal Shanmugam (Rajagopal Shanmugam)** CTR **

Reply via email to