User's Manual

Setting up SNMP for Linux 27
Setting up SNMP for Linux
SNMP details for Linux
The fio-snmp-agentx SNMP agent is an RFC 2741-compliant AgentX subagent. It can work with any
RFC-compliant SNMP agent, such as Net-SNMP.
The master SNMP agent defers queries to fio-snmp-agentx for supported MIBs.
Files and directories
File Description
/usr/share/fio/mi
b/cpqIODrive.mib
HP MIB for the IO Accelerator
/opt/fio/etc/snmp
/fio-snmp-agent.co
nf*
HP IO Accelerator SNMP configuration
/etc/snmp/snmpd
.conf
Master SNMP configuration file
/var/log/fio/fio-s
nmp-agent.log
Log file for the subagent
/usr/share/doc/fi
o/fio-snmp-agentx
/conf
Sample configuration and testini files
hp-ioaccel-sn
mp-agent-<ver
sion>.x86_64.
rpm
RPM that configures the /etc/snmpd.conf file and the
fio-snmp-agentx.conf file
* This file might be a symbolic link to /etc/snmp/fio-snmp-agentx.conf.
SNMP master agent
The fio-snmp-agentx, provided in the fio-util package, requires an already-installed SNMP master
agent. The SNMP master agent must support and be configured for AgentX connections. For more
information, see the "AgentX Protocol Version 1 (http://www.ietf.org/rfc/rfc2741.txt)."
The fio-snmp-agentx is tested and verified with Net-SNMP, which is the typical SNMP agent provided
with most Linux distributions. Several agents are available that support this functionality. The following
sections describe Net-SNMP.
Launching the SNMP master agent
Install the Net-SNMP package using the package manager for your version of Linux.
Red Hat