Enable debug for Trap Exploder (TE) and Trap Adapter (TA)
search cancel

Enable debug for Trap Exploder (TE) and Trap Adapter (TA)

book

Article ID: 314567

calendar_today

Updated On:

Products

VMware Smart Assurance Network Observability

Issue/Introduction

Steps to enable debug on TE and TA.

Environment

All Supported Smarts versions

Resolution

To enable debug for Trap Adapter (TA):

  • By default, in  <SAM_BASE>/smarts/conf/icoi/trap_mgr.conf, below are the debug flags configured:
# DEBUG = FALSE
# LOGGING = OFF
  • Use sm_edit to open this file and uncomment the above attributes:
<SAM_BASE>/smarts/bin/sm_edit conf/icoi/trap_mgr.conf
DEBUG = TRUE
LOGGING = ALL
  • Save and close the file.
  • Restart the TA service for debug flags to take effect.

To enable debug for Trap Exploder (TE): 

  • By default, in <SAM_BASE>/smarts/rules/trapd/trapParse.asl, below debug flag is configured:
debug = FALSE;
  • Use sm_edit to open this file and set the above attribute to below:
<SAM_BASE>/smarts/bin/sm_edit rules/trapd/trapParse.asl
debug = TRUE;
  • Save and close the file.
  • Restart the TE service for debug flag to take effect.