Documentations

How to configure snmp v1 on IBM AIX

On the page

Need some help?

SNMP for AIX is available in three versions: v1 , v2 and v3 .

To configure the snmp V1 on an IBM Aix server from version 5.x follow the procedure below:

Shutting down services:

stopsrc -s aixmibd
stopsrc -s hostmibd
stopsrc -s snmpmibd
stopsrc -s snmpd

Configure the version of snmp that will be used on your server:

To do this, you have to change the symbolic link if it is not good. See the link in /usr/sbin

To check the existing link, type :

cd /usr/sbin
ls -l snm*
Example :lrwxrwxrwx 1 root system 17 28 Apr 16:31 /usr/sbin/snmpd -> /usr/sbin/snmpdv1

To change the link, if it does not point to the correct snmpV1 version, type the following command:

snmpv3_ssw -1

Check that the configuration file contains the right elements: /etc/snmpd.conf

logging file=/usr/tmp/snmpd.log enabled
logging size=100000 level=0
community       MyCommunity
view 1.17.2 system enterprises view
public trap 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.1.2 dpid_password #dpid
snmpd smuxtimeout=200 #muxatmd
smux 1.3.6.1.4.1.2.3.1.2.3.1.1 muxatmd_password #muxatmd
Restart services

 startsrc -s snmpd
 startsrc -s aixmibd -a"-c MyCommunity"
 startsrc -s hostmibd -a"-c MyCommunity"
 startsrc -s snmpmibd -a"-c MyCommunity"

To test directly on the AIX server:

 snmpinfo -v -m dump -c public hrProcessorLoad

 

if the result is the following then it works.

#hrProcessorLoad.1 = 0
#hrProcessorLoad.2 = 0
#hrProcessorLoad.3 = 0
#hrProcessorLoad.4 = 0

Make the change to the OS startup file

vi /etc/rc.tcpip
# Start up the hostmibd daemon
start /usr/sbin/hostmibd "$src_running" "-c MyCommunity"
# Start up the snmpmibd daemon
start /usr/sbin/snmpmibd "$src_running" "-c MyCommunity"
# Start up the aixmibd daemon
start /usr/sbin/aixmibd "$src_running" "-c MyCommunity"

 

This may also be of interest to you

How to supervise a storwize bay

How to monitor a Lotus Notes / Domino server

How to supervise an OS400?

en_USEnglish
fr_FRFrench en_USEnglish

Welcome to ServiceNav!

Need help? More information about our products? Write to us!
You have taken note of our privacy policy.

[COVID - 19 ] - TELEWORKING, TARGET AVAILABILITY 100% !

While the epidemic lasts, ensure the availability and performance of your IT services for teleworking, with ServiceNav!

Following the government's call to mobilize to help businesses overcome the current health and economic context, we help you, free of charge, to ensure the complete monitoring of your teleworking environments: VPN, VDI, Teams, Skype Enterprise, Citrix... Objectives: collection, availability and usage indicators, dashboards to support your communication.
We use cookies to ensure that you have the best possible experience on our site, and if you continue to use this site, we will assume that you are satisfied with it.

Reserve your place

You have taken note of our privacy policy.