HP B-series Switch Accelerators Linux Manuale Utente Pagina 30

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 73
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 29
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
###################################################################
Vedere la pagina 29
1 2 ... 25 26 27 28 29 30 31 32 33 34 35 ... 72 73

Commenti su questo manuale

Nessun commento