Installing Net-SNMP

The SNMP subagent runs on the collector node of the GPFS™ cluster. The collector node is designated by the system administrator.

For more information, see Collector node administration.

The Net-SNMP master agent (also called the SNMP daemon, or snmpd) must be installed on the collector node to communicate with the GPFS subagent and with your SNMP management application. Net-SNMP is included in most Linux distributions and should be supported by your Linux vendor. Source and binaries for several platforms are available from the download section of the Net-SNMP website.

Note: Currently, the collector node must run on the Linux operating system. For an up-to-date list of supported operating systems, specific distributions, and other dependencies, refer to the IBM Spectrum Scale™ FAQ in IBM® Knowledge Center.
The GPFS subagent expects to find the following shared object libraries:
libnetsnmpagent.so       -- from Net-SNMP
libnetsnmphelpers.so     -- from Net-SNMP
libnetsnmpmibs.so        -- from Net-SNMP
libnetsnmp.so            -- from Net-SNMP
libwrap.so               -- from TCP Wrappers
libcrypto.so             -- from OpenSSL
Note: TCP Wrappers and OpenSSL are prerequisites and should have been installed when you installed Net-SNMP.
The installed libraries will be found in /lib64 or /usr/lib64 or /usr/local/lib64. They may be installed under names like libnetsnmp.so.5.1.2. The GPFS subagent expects to find them without the appended version information in the name. Library installation should create these symbolic links for you, so you will rarely need to create them yourself. You can ensure that symbolic links exist to the versioned name from the plain name. For example,
# cd /usr/lib64
# ln -s libnetsnmpmibs.so.5.1.2 libnetsnmpmibs.so

Repeat this process for all the libraries listed in this topic.

Note: For possible Linux platform and Net-SNMP version compatibility restrictions, see the IBM Spectrum Scale FAQ in IBM Knowledge Center.