BugZero updated this defect 58 days ago.
Data sources
All data on this page is proprietary to BugZero® or gathered from public sources
3/22/2024
Smart Assurance - SMARTS
No affected releases provided.
No fixed releases provided.
How to change STATE to "CLEAR" for a Smarts SAM trap adapter using ASLUnable to clear trap notification with my_trap_rules.asl
A syntax error in the line for the STATE setting of the my_trap_rules.asl file will cause Smarts to be unable to clear a trap notification. The my_trap_rules.asl file is found in the following location:<BASEDIR>/SAM/smarts/local/rules/icoi-trapd/my_trap_rules.aslAn example of invalid syntax is used to set STATE to CLEAR is as follows:State = CLEAR;STATE is case sensitive and must be in UPPERCASE. CLEAR is also wrong in this example. CLEAR must be in quotes because it is a text string and not a Boolean value.
To correctly change the STATE to CLEAR for a trap adapter using ASL, do the following:Open the my_trap_rules.asl file using sm_edit from the /bin directory as follows:<BASEDIR>/SAM/smarts/bin/sm_edit rules/icoi-trapd/my_trap_rules.asl Correct the syntax for the STATE setting so that it exactly matches the following:STATE = "CLEAR"; Restart the trap adapter if the adapter is already running to apply the change.