ricardobarquero
IS-IT--Management
- Nov 27, 2008
- 1
Hi, im installing net-snmp in a ubuntu server but i cant seem to get it work. I have problems with my authentication in v3, this is what im doing:
1.
edit my /etc/snmp/snmpd.conf
and writte in it just:
rw user auth
2. stop the daemon
3. create the user with:
net-snmp-config --create-snmpv3-user -a "password" user
4. start the daemon
DONE, no if I try
snmpget -v 3 -u user -l authNoPriv -a MD5 -A password localhost sysUpTime.0
It will work!
OK, but if i go to another computer and do form example
snmpget -v 3 -u user -l authNoPriv -a MD5 -A password 192.168.0.194 sysUpTime.0
it doesnt!!!
where 192.168.0.194 is the ip address of the comp where i just installed net-snmp
Someone please help me, im going crazy with this problem.
1.
edit my /etc/snmp/snmpd.conf
and writte in it just:
rw user auth
2. stop the daemon
3. create the user with:
net-snmp-config --create-snmpv3-user -a "password" user
4. start the daemon
DONE, no if I try
snmpget -v 3 -u user -l authNoPriv -a MD5 -A password localhost sysUpTime.0
It will work!
OK, but if i go to another computer and do form example
snmpget -v 3 -u user -l authNoPriv -a MD5 -A password 192.168.0.194 sysUpTime.0
it doesnt!!!
where 192.168.0.194 is the ip address of the comp where i just installed net-snmp
Someone please help me, im going crazy with this problem.