Here is my /etc/snmpv3.conf on AIX 6.1
-------------------------------------------------------------------------------------------------------------------------------------- VACM_GROUP group1 SNMPv1 yurapub - #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 - # 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_ADDRESS MONITOR UDP 172.21.0.204 traptag trapparms1 - - - #TARGET_ADDRESS Target1 UDP 172.21.0.204 traptag trapparms1 - - - TARGET_PARAMETERS trapparms1 SNMPv1 SNMPv1 yurapub noAuthNoPriv - COMMUNITY yurapub yurapub noAuthNoPriv 172.21.0.204 255.255.255.255 - 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 smux 1.3.6.1.4.1.2.3.1.2.1.5 clsmuxpd_password # HACMP/ES for AIX clsmuxpd VACM_GROUP director_group SNMPv2c yurapub - VACM_ACCESS director_group - - noAuthNoPriv SNMPv2c defaultView - defaultView - --------------------------------------------------------------------------------------------------------------------------------------
community is 'yurapub' and server ip 172.21.0.204 and no encryption.
so i will give you more information.
# ls -l /usr/sbin/snmpd lrwxrwxrwx 1 root system 19 Jan 22 18:00 /usr/sbin/snmpd -> /usr/sbin/snmpdv3ne
and 'snmpinfo' is No response.
Could you please help me?
Thank you in advance.
Article Comments
How to quickly setup SNMPv2c on AIX
Stop the related services
stopsrc -s aixmibd; stopsrc -s hostmibd; stopsrc -s snmpmibd; stopsrc -s snmpd
Make a backup of the configuration file
cp /etc/snmpdv3.conf snmpdv3.conf.YYYYMMDD_TTTT
Edit the configuration file
vi /etc/snmpdv3.conf
Add this to the bottom of the configuration file Change the community string MySNMPCommunityString
VACM_GROUP group2 SNMPv2c MySNMPCommunityString -
VACM_ACCESS group2 - - noAuthNoPriv SNMPv2c defaultView - defaultView -
COMMUNITY MySNMPCommunityString MySNMPCommunityString noAuthNoPriv 0.0.0.0 0.0.0.0 -
Start the SNMP services
startsrc -s aixmibd -a "-c MySNMPCommunityString"; startsrc -s hostmibd -a "-c MySNMPCommunityString"
startsrc -s snmpmibd -a "-c MySNMPCommunityString"; startsrc -s snmpd
Also modify the startup file so the changes survive a reboot.
vi /etc/rc.tcpip
Change:
# Start up the hostmibd daemon start /usr/sbin/hostmibd "$src_running" "-c MySNMPCommunityString" # Start up the snmpmibd daemon start /usr/sbin/snmpmibd "$src_running" "-c MySNMPCommunityString" # Start up the aixmibd daemon start /usr/sbin/aixmibd "$src_running" "-c MySNMPCommunityString"
Jan, 2018 - Permalink
Hi networkdoctor,
Thanks for your contribution! We really appreciate that! I edited the two submitted posts together, I hope that is okay for you.
Best regards.
Jan, 2018 - Permalink
Hello,
Unfortunately we do not have an AIX system here and we don't support these systems as a result so you would need to find the resources about setting this up from IBM.
Jan, 2016 - Permalink