You are not logged in.
Hi,
I would like to use SNMP V3 with a archlinux server. I know how to do with a debian server but when I use the same configuration it doensn't work.
I use this command to create a user:
net-snmp-config --create-snmpv3-user -a SHA -A password -x DES -X password username
The /etc/snmp/snmpd.conf file:
rouser username
view all included .1
view system included .iso.org.dod.internet.mgmt.mib-2.system
syslocation machinename
syscontact hostmaster
When I try to run snmpd with /etc/rc.d/snmpd start or use this command "/usr/sbin/snmpd -Lsd -Lf /dev/null -u root -I -smux -p /var/run/snmpd.pid -c /etc/snmp/snmpd.conf"
This command work on debian (but with the user snmp instead of root).
I have this error when I try to test it : snmpget: Timeout (Sub-id not found: (top) -> sysUpTime)
netstat result looks good: udp 0 0 *:snmp *:*
Have you got an idea ?
Thanks
Last edited by auhly (2010-09-09 19:55:53)
Offline
I found the solution thanks to another post (about snmp v1) in the forum.
I didn't know that host.allow file is also use for localhost request.
So I add snmpd: ALL: ALLOW inside.
Hope it will help other people
Last edited by auhly (2010-09-09 20:02:50)
Offline