How do I clear a Smarts SAM notification with a server tool?
To clear a Smarts SAM notification using a server tool, complete the following actions:
- Creat a shell script with the following content:
$SM_HOME/bin/sm_ems -s ${SM_SERVER_NAME} clear ${SM_OBJ_ClassName} "${SM_OBJ_InstanceName}" ${SM_OBJ_EventName} ${SM_OBJ_SourceDomainName}
- Save this shell script in the following location:
<BASEDIR>/SAM/smarts/local/action/server
- Create a server tool by following the instructions in the EMC Smarts Service Assurance Manager Configuration Guide. This document is installed with the software and can be found in the following location:
<BASEDIR>/SAM/smarts/doc/
- See solution 35761 on changing context to run the server tool.