Operational Defect Database

BugZero updated this defect 58 days ago.

VMware | 325328

Smarts SAM: How to change STATE to "CLEAR" for a trap adapter using ASL

Last update date:

3/22/2024

Affected products:

Smart Assurance - SMARTS

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Symptoms

How to change STATE to "CLEAR" for a Smarts SAM trap adapter using ASLUnable to clear trap notification with my_trap_rules.asl

Cause

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.

Resolution

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.

Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Unavailable

Learn More

Search:

...