Configuring Net-SNMP
The GPFS™ subagent process connects to the Net-SNMP master agent, snmpd.
The following entries are required in the snmpd configuration
file on the collector node (usually, /etc/snmp/snmpd.conf):
master agentx
AgentXSocket tcp:localhost:705
trap2sink managementhost
where:
- managementhost
- Is the host name or IP address of the host to which you want SNMP traps sent.
If your GPFS cluster has
a large number of nodes or a large number of file systems for which
information must be collected, you must increase the timeout and retry
parameters for communication between the SNMP master agent and the GPFS subagent to allow time for
the volume of information to be transmitted. The snmpd configuration
file entries for this are:
agentXTimeout 60
agentXRetries 10
where:
- agentXTimeout
- Is set to 60 seconds for subagent to master agent communication.
- agentXRetries
- Is set to 10 for the number of communication retries.
Note: Other values may be appropriate depending on
the number of nodes and file systems in your GPFS cluster.
After modifying the configuration file, restart the SNMP daemon.