4.5.6 Uninstall snmp

Information

On AIX 7.2 and later, unless otherwise needed - uninstall snmp and snmpd support.

Rationale:

Impact:

If not installed, the rest of the recommendations in this section titled SNMP Configuration may be ignored.

Solution

Execute the following command:

typeset -i SNMP
SNMP=$(lslpp -Lcq | grep bos.net.tcp.snmp | wc -l)
if [[ $SNMP -ne 0 ]]; then
installp -ug bos.net.tcp.snmp bos.net.tcp.snmpd
fi

See Also

https://workbench.cisecurity.org/benchmarks/7851