Running and configuring the snmp subagent, Manually running the snmp subagent, Subagent log file – HP MSR Encryption Accelerators User Manual
Page 29

Setting up SNMP for Linux 29
2.
Install the package using your operating systems package manager. For example, on Red Hat:
rpm -Uvh fio-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
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.conf file.
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
The fio-snmp-agentx startup 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.conf configuration
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 –l parameter 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.
- AXL300 Accelerator SSL PCI Card Thunderbolt-2 PCIe 1-port IO Card Storage C-series Switch Accelerators Fusion ioFX 410GB PCIe Accelerator Thunderbolt 2-Port AiO Module B-series Switch Accelerators IO Accelerator for BladeSystem c-Class HPAtalla AXL600L SSL Accelerator Card PCIe IO Accelerators for ProLiant Servers