AlertServiceClient::unsuppressAlerts()
Removes suppression from previously suppressed alert handler configurations, restoring normal alert generation.
Synopsis
int AlertServiceClient::unsuppressAlerts(dyn_string dpes, string reason = "");
Parameters
| Parameter | Description |
|---|---|
| dpes | List of datapoint element paths to unsuppress. |
| reason | Optional reason text for the unsuppression action. Logged in the Security Event audit trail. |
Return value
Returns 0 on success, -1 on failure.
Errors
Missing or invalid arguments. Insufficient user permissions (bit 5 required). Alert handler not currently suppressed.
Details
The function restores normal alert generation for previously suppressed datapoint elements. The alertHandling configuration attribute is restored to its original state.
After unsuppression, the alert handler resumes generating alerts based on its configured thresholds.
Assignment
AlertService functions
Availability
CTRL
