/etc/snmpd.conf file

Simple Network Management Protocol (SNMP) version 3 is the default version that is used for the AIX® operating system. However, you can use SNMP version 1 and configure it with the /etc/snmpd.conf file.

You can switch from SNMP version 3 to SNMP version 1 by using the snmpv3_ssw command.

When the SNMP daemon starts it reads the /etc/snmpd.conf file and when a refresh command or a kill command is used.

The /etc/snmpd.conf file specifies the community names and associated access privileges and views, hosts for trap notification, logging attributes, parameter configurations, and SMUX configurations for the snmpd daemon.

The PowerHA® SystemMirror® installation process adds a clsmuxpd password to the /etc/snmpd.conf file. The following line is added at the end of the /etc/snmpd.conf file to include the PowerHA SystemMirror Management Information Base (MIB) variables that are supervised by the Cluster Manager:
smux  1.3.6.1.4.1.2.3.1.2.1.5 clsmuxpd_password # PowerHA SystemMirror clsmuxpd

The SNMP version 1 community name is the first name found that is not private or system in the output of the lssrc -ls snmpd command.

The clinfo daemon also receives the SNMP community name by using the same process. You can use the -c flag with the clinfo daemon to specify an SNMP community name.
Note: If you want to protect the SNMP community name, do not use the -c flag with the clinfo daemon. If you use the -c flag, an unauthorized user could use the ps command to identify the SNMP community name. To protect the SNMP community name, change the permissions on the following files so that these files cannot be read by unauthorized users:
  • /etc/snmpd.conf
  • /smit.log
  • /usr/tmp/snmpd.log
  • /var/hacmp/log/hacmp.out