AIX and SNMP

Today a colleague of mine installed an AIX 6.1 SP2 LPAR that he wanted to be monitored.

Not that I like SNMP much, but it’s a pain on aix atleast for me šŸ™‚

Here is what i received after starting muxatmd (hardware relevant information).

 muxatmd  56530 (root    )  no SMUX entry for “muxatmd”

After digging around in the configs I had to edit those 2 files:

echo “”muxatmd”   1.3.6.1.4.1.2.3.1.2.3.1.1   “muxatmd_password”
” >> /etc/snmpd.peers

echo “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.2.1.1.2     dpid_password   #dpid
” >> /etc/snmpdv3.conf

After that the smux errormessage was gone and SNMP worked for all relevant information that I needed.

Nice commands to stop and start all relevant snmp daemons:

startsrc -s snmpd;startsrc -s dpid2;startsrc -s aixmibd;startsrc -s hostmibd;startsrc -s snmpmibd; startsrc -s muxatmd

stopsrc -s snmpd;stopsrc -s dpid2;stopsrc -s muxatmd;stopsrc -s aixmibd;stopsrc -s hostmibd;stopsrc -s snmpmibd

Advertisements
This entry was posted in aix and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.