Preventing SNMP Trap Adapter from logging discard traps to the trap adapter logs
book
Article ID: 327686
calendar_today
Updated On:
Products
VMware Smart Assurance
Issue/Introduction
- Stopping the Smarts SAM SNMP Trap Adapter from logging the discard traps that are defined in trap_mgr.conf file.
- Prevent SNMP Trap Adapter from logging discard traps to the trap adapter logs
Resolution
- Open the trap_mgr_parse.asl file for editing in sm_edit as
<SAM_BASE>/smarts/bin/sm_edit rules/icoi-trapd/trap_mgr_parse.asl
- Find Line:
if ((logfile != "NONE") && (logfile != ""))
- Change it to:
if ((logfile != "NONE") && (logfile != "") && discard_trap=="FALSE")
- Restart the trap adapter service to apply the change.
Feedback
thumb_up
Yes
thumb_down
No