/usr/sbin/snmpd -Lsd –Lf /dev/null –p /var/run/snmpd.pid
Master Agent Configuration
The Net-SNMP master agent daemon can be configured to set network communications parameters,
security, and other options. This is accomplished by editing the
snmpd.conf
text file. The location
of this file is system-dependent, often in /etc/snmp or /usr/share/snmp.
A simple snmpd configuration file might include the following:
…
# set standard SNMP variables
Syslocation “Data room, third rack”
Syscontact [email protected]
# required to enable the AgentX protocol
master agentx
agentxsocket tcp:localhost:705
# set the port that the agent listens on (defaults to 161)
agentaddress 161
# simple access control (some form of access control is required)
rocommunity public
rwcommunity private
Configure the HP IO Accelerator fio-snmp-agentx SNMP subagent:
NOTE:
The port number 705 must not be already in use. If already populated, select another available port
and ensure the subagent configuration file has the same port number used.
Create a
fio-snmp-agent.conf
file in the directory of the master agent
snmpd.conf
file
(/etc/snmp).
Edit the
fio-snmp-agentx.conf
file and add the following:
# required to enable the AgentX protocol
agentxsocket tcp:localhost:705
# enable traps
# set to 1, true or yes to enable 0, false or no to disable (default: false)
traps_enabled true
# update_delay
# delay between agent polling requests in milliseconds (default:250)
update_delay 250
# mib_select
# set to cpq for CPQIODRV-MIB (This must be set to run HP Agents)
mib_select cpq
These settings must match the AgentX network parameters in the snmpd.conf file for the master agent.
For further AgentX configuration information, please consult the man pages or visit
http://
www.net-snmp.org
.
Linux environments
24
Summary of Contents for AJ878A - StorageWorks 320 GB Hard Drive
Page 14: ...Hardware installation 14 ...