I’m trying to use snmpget and I see an error. I’ve attached the snmpd.conf as
well as the output of snmpget. I’m using linux Centos.
[kraghunat...@kavitasfdev ~]$ snmpget -v 3 -u myuser -l authNoPriv -a MD5 -A
my_password localhost sysUpTime.0
snmpget: Unknown user name (Sub-id not found: (top) -> sysUpTime)
[kraghunat...@kavitasfdev ~]$ snmpget -v3 -m ALL -u myuser -l authNoPriv -a MD5
-A my_password localhost sysUpTime.0
snmpget: Unknown user name (Sub-id not found: (top) -> sysUpTime)
[kraghunat...@kavitasfdev ~]$ snmpget -m ALL -v3 -u myuser -l authNoPriv -a MD5
-A my_password localhost sysUpTime.0
snmpget: Unknown user name (Sub-id not found: (top) -> sysUpTime)
[kraghunat...@kavitasfdev ~]$ snmpget -m ALL -v3 -u myuser -l authNoPriv -a MD5
-A my_password localhost sysUpTime.0
snmpget: Unknown user name (Sub-id not found: (top) -> sysUpTime)
[kraghunat...@kavitasfdev ~]$ snmpget -v 3 -l authNoPriv -A my_password
localhost sysUpTime.0
snmpget: No securityName specified (Sub-id not found: (top) -> sysUpTime)
[kraghunat...@kavitasfdev ~]$ snmpget -m ALL -v3 -u myuser -l authNoPriv -a MD5
-A my_password localhost sysUpTime.0
snmpget: Unknown user name (Sub-id not found: (top) -> sysUpTime)
==========================================================
###########################################################################
#
# snmpd.conf
#
# - created by the snmpconf configuration program
#
###########################################################################
# SECTION: Access Control Setup
#
# This section defines who is allowed to talk to your running
# snmp agent.
# rwuser: a SNMPv3 read-write user
# arguments: user [noauth|auth|priv] [restriction_oid]
rwuser myuser auth system
# rouser: a SNMPv3 read-only user
# arguments: user [noauth|auth|priv] [restriction_oid]
rouser myuser auth system
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users