2.Install the package using your operating systems package manager. For example, on Red Hat: rpm -Uvhfio-snmp-*.rpm

The SNMP package places the MIB files in the /usr/share/fio/mib directory.

Running and configuring the SNMP subagent

An RPM to configure the SNMP files is available on the HP website (http://www.hp.com/go/support). The RPM is named hp-ioaccel-snmp-agent1-1.x86_64.rpm.

To manually set up SNMP:

1.Configure the subagent by creating a fio-snmp-agentx.conffile.

2.Store the fio-snmp-agentx.conf file in the /opt/fio/etc/snmp directory.

3.Set the agent network parameters in this file similar to the following:

# required to enable the AgentX protocol

agentxsocket tcp:localhost:16101

This must match the AgentX network parameters in the snmpd.conf file for the master agent. For further AgentX configuration information, consult the manpages or contact HP Support (http://www.hp.com/support).

The fio-snmp-agentxstartup script will launch automatically at boot time after the installation and configuration is complete.

Manually running the SNMP subagent

1.After the SNMP master agent is started, start the subagent:

/usr/bin/fio-snmp-agentx

This command launches the subagent using the Net-SNMP fio-snmp-agentx.confconfiguration file. This file must reside in one of the /opt/fio/etc/snmp directories.

2.View the IO Accelerator management information by using an SNMP MIB browser, HP system management homepage, or by using a network management system accessing cpqIODDrv.mib, located in the /usr/share/fio/mib directory.

Subagent log file

The HP IO Accelerator subagent can maintain a log file regarding its own activities. This file is separate from the MIB because it includes entries on the subagent communications with the master agent including any errors or intermittent issues.

To have the subagent maintain this log file, include the –lparameter and a path to the log file as part of the command in running the subagent.

The default log file is /var/log/fio/fio-snmp-agentx.log.

For example, running the following command keeps the subagent log files as subagent.log in the /usr/snmp directory:

fio-snmp-agentx -l /usr/snmp/subagent.log

The SNMP subagent is now ready to monitor your device.

Setting up SNMP for Linux 29