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

Issue/Introduction

Steps to enable debug on TE and TA.

Environment

SMARTS 10.1.x

Resolution

To enable debug for Trap Adapter (TA):
a) By default, in  <BASEDIR>/smarts/conf/icoi/trap_mgr.conf, below entries are present.

# DEBUG = FALSE
# LOGGING = OFF


b) Use sm_edit to open this file and set the above attributes to below:
<BASEDIR>/smarts/bin#./sm_edit ../conf/icoi/trap_mgr.conf

DEBUG = TRUE
LOGGING = ALL

c) Save and close the file.
d) Restart the TA service for debug flags to take effect.


To enable debug for Trap Exploder (TE): 
a) By default, in <BASEDIR>/smarts/rules/trapd/trapParse.asl, below entry is present.

DEBUG = FALSE;

b) Use sm_edit to open this file and set the above attribute to below: <BASEDIR>/smarts/bin#./sm_edit ../rules/trapd/trapParse.asl

DEBUG = TRUE;

c) Save and close the file.
d) Restart the TE service for debug flag to take effect.