Using the snmp sample config files, Enabling snmp test mode – HP MSR Encryption Accelerators User Manual
Page 30

Setting up SNMP for Linux 30
Using the SNMP sample config files
When you install SNMP, the following sample config files are available:
•
/usr/share/doc/fio-snmp-agentx/conf/snmpd.conf.hp/ (master agent)
•
/usr/share/doc/fio-snmp-agentx/conf/fio-snmp-agentx.conf.hp/ (subagent)
To customize and use the sample config files:
1.
Rename the snmpd.conf and the fio-snmp-agentx.conf files. For example,
snmpd.orig.conf and fiosnmp-agentx-orig.conf.
The snmpd.conf file is located in /etc/snmp or the /usr/share/snmp directories. The
fio-snmp-agentx.conf file is located in the /opt/fio/etc/snmp directory.
NOTE:
If the hp-ioaccel-snmp-agent.rpm file is installed, the link is symbolic.
2.
From the /usr/share/doc/fio-snmp-agentx/conf/ directory, copy the sample
snmpd.conf.hp and the sample fio-snmp-agentx.conf.hp files to the appropriate directories.
3.
Rename the files without the .hp extension. For example, rename the snmp.conf.hp file to
snmp.conf and rename fio-snmp-agentx.conf.hp to fio-snmp-agentx.conf.
4.
Edit the sample files, and then save the changes as snmpd.conf and fio-snmp-agentx.conf.
Enabling SNMP test mode
When the SNMP subagent runs, it reads the fio-snmp-agentx config file:
###################################################################
# Example config file for fio-snmp-agentx SNMP AgentX subagent.
#
agentxsocket tcp:localhost:16101
# test_mode_enabled
# set to 1, true or yes to enable 0, false or no to disable (default: false)
test_mode_enabled true
# traps_enabled
traps_enabled true
# testmode_file
# name of test mode file (default: testmode.ini)
testmode_file testmode.ini
# update_delay
# delay between agent polling requests in milliseconds (default: 250)
update_delay 100
# mib_select
# set to cpq for CPQIODRV-MIB
mib_select cpq
###################################################################
- 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