Home Contact Download


Welcome to Bruno Bonfils's (aka asyd homepage).

Configure SNMP on AIX 5.x

The default snmp configuration is not very usable, that's why I change it.

First of all, I create a view (named All for example) which grant to see most of avaiable MIB. Then, I add - at least one - community line to allow my snmp manager to query AIX.


community       public  readOnly All
view            All             iso.3 system enterprises view internet host

The host part in the view allow to query the HOST-RESOURCES MIB, which include values like storage, CPU utilization, etc.. If you want this one, check for hostmibd is running.

Note: I notice that AIX 5.1 and 5.2 have a bug regarding the CPU utilization, just look :

% snmpwalk -v1 -c public .
HOST-RESOURCES-MIB::hrProcessorLoad.1 = INTEGER: -2147483648
HOST-RESOURCES-MIB::hrProcessorLoad.2 = INTEGER: -2147483648

If you have the same value, you need to upgrade.