Setting up SNMP for Linux

SNMP details for Linux

The fio-snmp-agentxSNMP 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-agentxfor supported MIBs.

Files and directories

File

Description

 

 

/usr/share/fio/mi

HP MIB for the IO Accelerator

b/cpqIODrive.mib

 

/opt/fio/etc/snmp

HP IO Accelerator SNMP configuration

/fio-snmp-agent.co

 

nf*

 

/etc/snmp/snmpd

Master SNMP configuration file

.conf

 

/var/log/fio/fio-s

Log file for the subagent

nmp-agent.log

 

/usr/share/doc/fi

Sample configuration and testini files

o/fio-snmp-agentx

 

/conf

 

hp-ioaccel-sn

RPM that configures the /etc/snmpd.conf file and the

mp-agent-<ver

fio-snmp-agentx.conf file

sion>.x86_64.

 

rpm

 

* 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-utilpackage, 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-agentxis 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-SNMPpackage using the package manager for your version of Linux.

Red Hat

Setting up SNMP for Linux 27