You are not logged in.

#1 2010-09-09 19:48:10

auhly
Member
Registered: 2010-09-09
Posts: 2

[SOLVED] SNMP V3 timeout problem

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

#2 2010-09-09 19:55:29

auhly
Member
Registered: 2010-09-09
Posts: 2

Re: [SOLVED] SNMP V3 timeout problem

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 smile

Last edited by auhly (2010-09-09 20:02:50)

Offline

Board footer

Powered by FluxBB