By default, the SNMP Trap Adapter immediately converts traps it receives (that match a trap definition) into new Service Assurance notifications or into updates to existing Service Assurance notifications and forwards them on to the Global Manager. SNMP trap batching refers to a process where the Adapter Platform Server waits for a specified period of time before forwarding re-notifications (updated notifications) to the Global Manager.
In cases of high frequency of traps, you can use batching to improve performance of clients processing the converted Service Assurance notifications. You configure batching by editing your local copy of the default_trap_mgr.conf file so that traps renotifying an event are held for a specified period of time. Then, once that time is exceeded, only the most recent trap of those bearing the same notification name is sent to the Global Manager.
To set the batch parameter, use sm_edit to open BASEDIR/smarts/conf/voip/icoi/default_trap_mgr.conf, and enter the period of time in seconds you want the trap receiver to wait before forwarding re-notifications to the Global Manager. The following text shows the section where you set the batch parameter. By default, the batch setting is 10 seconds. To disable batching, specify zero (0).
# This interval (in seconds) will be used to batch updates to # notifications. In case, where a high frequency of # notifications occur, batching will improve performance. # Setting this interval to 0 will disable batching. BATCH_NOTIFY_INTERVAL = 10