suppress_problem
Suppresses a problem until it meets the suppression type criteria.
Format
emcli suppress_problem -problem_id="problem ID" -suppress_type="Type of suppression" [-date="MMDDYYYY"] [ ] indicates that the parameter is optional.
Options
-
problem_id
ID of the problem to be suppressed.
-
suppress_type
Type of suppression. It must be one of the following:
-
UNTIL_MANUALLY_REMOVED: Problem will be suppressed until the user manually unsuppress the problem.
-
UNTIL_SPECIFIED_DATE: Problem will be suppressed until specified date.
-
UNTIL_SEVERITY_CHANGE: Problem will be suppressed until its severity change.
-
UNTIL_CLEARED: Problem will be suppressed until it gets cleared.
-
-
date (Optional)
Used when a problem needs to be suppressed until a specific date.When the suppress_type is set to UNTIL_SPECIFIED_DATE, you use the date option to specify the date when the problem suppression ends. MMDDYYYY format must be used.
Examples
Example 1
The following command suppresses a problem with the ID 173 until December 31, 2015.
emcli suppress_problem -problem_id="173" suppress_type="UNTIL_SPECIFIED_DATE" -date="12312015"
Example 2
The following command suppresses a problem with ID 173 until it manually cleared by an administrator.
emcli suppress_problem -problem_id="173" suppress_type="UNTIL_MANUALLY_REMOVED"