snmp proxy support........problem?
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi All,
I am using net-snmp-5.3.0.1.
I have to support proxy-agent. My setup goes as below:
1) linux-host1- (ip= 192.168.31.125)
(a) It has /usr/local/share/snmp/snmpd.conf which contains only one
line
rwuser myser
(b) It has /var/net-snmp/snmpd.conf which contains one line
createUser myuser MD5 "mypassword" DES mypassword
above line is encrypted after enabling snmpd.
If I am not wrong this(192.168.31.125) acts as snmp-agent.
2) linux-host2- (ip= 192.168.31.199)
(a) It has /usr/local/share/snmp/snmpd.conf which contains only one
line
proxy -v 3 -l AuthNoPriv -u myuser 192.168.31.125 system
This(192.168.31.199) acts as proxy-snmp-agent.
3) linux-host2- (ip= 192.168.31.114)
from this system I executing following snmpget command.
[root@NPE net-snmp-5.3.0.1]# snmpget -v 3 -u myuser -l authNoPriv -a
MD5 -A mypassword 192.168.31.199 sysUpTime.0
snmpget: Unknown user name (Sub-id not found: iso -> sysUpTime)
Can any one guide me where I am going wrong?
Thanx in advance
Regards,
Raghavendra. S