Results 1 to 1 of 1
Hi,
I've installed net-snmp-5.4.2 on CentOS 4.4. I've done the required configuration for Snmp v1 and v2c. It is working fine whenever I give commands using them.
[root@anandan ~]# snmpget ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-25-2011 #1Just Joined!
- Join Date
- Mar 2009
- Posts
- 2
Net-Snmp snmpv3 support on CentOS 4.4
Hi,
I've installed net-snmp-5.4.2 on CentOS 4.4. I've done the required configuration for Snmp v1 and v2c. It is working fine whenever I give commands using them.
[root@anandan ~]# snmpget -v1 -cpublic localhost sysUpTime.0
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (140105) 0:23:21.05
[root@anandan ~]# snmpget -v2c -cpublic localhost sysUpTime.0
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (141110) 0:23:31.10
Then I wanted to see how snmpv3 commands working. I stopped the snmpd.
Added a user as shown below:
[root@anandan ~]# net-snmp-config --create-snmpv3-user -a "my_password" myuser
adding the following line to /var/net-snmp/snmpd.conf:
createUser myuser MD5 "my_password" DES
adding the following line to /usr/local/share/snmp/snmpd.conf:
rwuser myuser
But when I issue snmpv3 commands, I get errors:
[root@anandan ~]# snmpget -v3 -u myuser -l authPriv -a MD5 -A my_password localhost sysUpTime.0
snmpget: USM generic error (Sub-id not found: (top) -> sysUpTime)
[root@anandan ~]# snmpwalk -v3 -u myuser -l authPriv -a MD5 -A my_password localhost system
snmpwalk: USM generic error (Sub-id not found: (top) -> system)
From web-sites also I could not get what is wrong. Help is required.


Reply With Quote
