E2E TS: Disabling and deleting alerts
Prerequisities
- Version 0.4 deployment+, version 0.7+ needed for alert deletion
- One registered device
Steps
- Disabled alerts are not triggered
- Define an alert for a device:
- Metric: Missed contacts
- Operator: > greater than
- First value: 0 missed contacts
- Disable the alert
- column Actions, use Edit button
- uncheck Enabled checkbox at the bottom
- click on Update
- Disable agent on device.
- Wait (at most) 6 minutes.
- Confirm that:
- Device falls into the 1 missed contacts class
- Alert is not triggered and not reported on the Dashboard
- Triggered alerts that are disabled (when being triggered) no longer count as triggered
- Define alert that triggers immediately (e.g. # of processes > 0 for a device)
- Wait until alert is triggered and shown on the Dashboard (0.7+: under a minute)
- Disable the alert
- Validate the alert is no longer reported as raised on the Dashboard
- Alert deletion
- Re-enable the alert
- Wait until the alert is triggered
- Delete the alert
- Check the alert is no longer visible in Alerts, the group status is now green.
- Check that alert configuration update is visible in Event log
- Confirm alert being deleted is mentioned in the log file.