Setting up snmp for linux, Snmp details for linux, Snmp master agent – HP PCIe IO Accelerators for ProLiant Servers User Manual
Page 32: Launching the snmp master agent, Configuring the snmp master agent

Linux environments 32
Setting up SNMP for Linux
Use the following procedures to set up SNMP for Linux.
SNMP details for Linux
The fio-snmp-agentx SNMP agent is an RFC 2741-compliant AgentX sub-agent. Optionally, you can
use any RFC-compliant SNMP agent. The master SNMP agent defers queries to fio-snmp-agentx for
supported MIBs.
SNMP master agent
The fio-snmp-agentx, provided in the fio-snmp-hp-mib package, requires an already-installed
SNMP master agent. The SNMP master agent must support and be configured for AgentX connections.
For more information, see http://www.ietf.org/rfc/rfc2741.txt
fio-snmp-agentx is tested and verified with net-snmp, which is the typical SNMP agent provided
with most Linux distributions.
Many agents are available to support this functionality. If you choose to use net-snmp, then use the
instructions in the following sections to configure and launch it.
Launching the SNMP master agent
Install the net-snmp package using the package manager for your version of Linux. The Linux installer
for the IO Accelerator places MIB files in the /usr/share/fio directory.
Red Hat
Use the following command to install Net-SNMP on Red Hat:
yum install net-snmp
Other Linux versions
Use the standard system package manager to install the net-snmp package on your Linux distribution.
The Linux IO Accelerator installer places MIB files in the /usr/share/fio/mib directory.
Configuring the SNMP master agent
Configure the Net-SNMP master agent daemon to set the network communications parameters, security,
and other options using the snmpd.conf text file. The location of this file is system-dependent. Often, it is
located in the /etc/snmp or /usr/share/snmp directory.
A simple snmpd configuration file might include the following:
# set standard SNMP variables
syslocation "Data room, third rack"
syscontact [email protected]
# required to enable the AgentX protocol
master agentx
agentxsocket tcp:localhost:705