After i configure SNMP on AIX, community string test is passed but resources on server can not be scanned.
I configure the snmpd.conf and snmpdv3.conf as follow:
snmpd.conf:
logging | file=/usr/tmp/snmpd.log enabled | ||
logging | size=100000 | level=0 |
community my_community
#community | private 127.0.0.1 255.255.255.255 readWrite |
#community | system 127.0.0.1 255.255.255.255 readWrite 1.17.2 |
view | 1.17.2 | system enterprises view |
#view | 1 | system enterprises view |
trap | sisii | 127.0.0.1 1.2.3 fe # loopback |
#snmpd | maxpacket=1024 querytimeout=120 smuxtimeout=60 |
smux | 1.3.6.1.4.1.2.3.1.2.1.2 | gated_password # gated |
smux | 1.3.6.1.4.1.2.3.1.2.2.1.1.2 dpid_password | #dpid |
smux | 1.3.6.1.4.1.2.3.1.2.1.3 | xmtopas_pw # xmtopas |
snmpd | smuxtimeout=200 #muxatmd | |
smux | 1.3.6.1.4.1.2.3.1.2.3.1.1 | muxatmd_password #muxatmd |
snmpdv3.conf:
VACM_GROUP group1 SNMPv1 my_community -
VACM_VIEW defaultView internet - included -
#VACM_VIEW defaultView 1.3.6.1.4.1.2.2.1.1.1.0 - included -
#VACM_VIEW defaultView 1.3.6.1.4.1.2.6.191.1.6 - included -
#VACM_VIEW defaultView 1.3.6.1.4.1.2.6.159 - included -
#VACM_VIEW defaultView 1 - included -
# exclude snmpv3 related MIBs from the default view
VACM_VIEW defaultView snmpModules - excluded -
VACM_VIEW defaultView 1.3.6.1.6.3.1.1.4 - included -
VACM_VIEW defaultView 1.3.6.1.6.3.1.1.5 - included -
# exclude aixmibd managed MIBs from the default view
VACM_VIEW defaultView 1.3.6.1.4.1.2.6.191 - excluded -
VACM_ACCESS group1 - - noAuthNoPriv SNMPv1 defaultView - defaultView -
NOTIFY notify1 traptag trap -
TARGET_ADDRESS Target1 UDP 127.0.0.1 traptag trapparms1 - - -
TARGET_PARAMETERS trapparms1 SNMPv1 SNMPv1 public noAuthNoPriv -
DEFAULT_SECURITY no-access - -
logging file=/usr/tmp/snmpdv3.log enabled
logging size=100000 level=0
smux 1.3.6.1.4.1.2.3.1.2.1.2 gated_password # gated
smux 1.3.6.1.4.1.2.3.1.2.3.1.1 muxatmd_password #muxatmd
COMMUNITY my_community my_community noAuthNoPriv 0.0.0.0 0.0.0.0 -
VACM_GROUP my_group SNMPv2c my_community -
VACM_ACCESS my_group - - noAuthNoPriv SNMPv2c defaultView - defaultView -
And the result is:
Anyone help me, plz! I will appreciate so much! Thank you in advance!