Common issues with the SNMP event adapter

The following topics list some common issues with the SNMP event adapter and gives steps on how to resolve them.

Missing events

If SNMP traps are sent to the SNMP adapter at a very high rate, some traps may not be received.
To address this behavior, edit mcxa.conf with the following settings in your SNMP adapter instance section.

PollInterval = 1

ReadsPerEngine = 200

SnmpRcvbuf = 262144

No events received in the cell

Adapters use msend which utilizes the mposter buffer. If the buffer becomes corrupt, msend fails and no events are sent from the adapter.

To address this issue, perform the following steps.

  1. Stop the adapter.
  2. Remove the following files from %installationDirectory/pw/server%/log/adapters/
    • mposterbuf.buf
    • mposterbuf.pos
    • mposterbuf.lck
  3. Restart the adapter.

Trap matching to the wrong event class

If the incoming SNMP trap appears in the cell with the wrong class, examine the installationDirectory/pw/server/etc/mcsnmptrapd.map file. The adapter matches the incoming trap to the first definition in the map file that matches.

There might not be an exact match for the trap if the:

  • MIB file has not being published
  • Definitions must be reordered in the map file to ensure the best match appears first

For any queries, contact BMC Customer Support.

Changing the encoding scheme

Based on the server locale, change the SNMP configuration parameters, save the file and restart the Infrastructure Management server for the changes to reflect.

en_us locale:

In the <installation directory>\pw\pronto\conf\pronet.conf file, modify the following properties:

# SNMP Trap Related
#pronet.alarms.actions.snmptrap.version=1


#Ensures that SNMP V2 information is parsed correctly
pronet.alarms.actions.snmptrap.version=v2c

#pronet.alarms.actions.snmptrap.port=162
#pronet.alarms.actions.snmptrap.encoding=

Non en_us locales:

In the <installation directory>\pw\pronto\conf\i18nConf.conf file, add or modify the encoding scheme through the pronet.alarms.actions.snmptrap.encoding.<server locale> property.

#Encoding styles for different server locale
pronet.alarms.actions.snmptrap.encoding.zh_CN=GBK
pronet.alarms.actions.snmptrap.encoding.ja_JP=
pronet.alarms.actions.snmptrap.encoding.zh_TW=
Was this page helpful? Yes No Submitting... Thank you

Comments