E2E TS: Disabling and deleting alerts


Prerequisities

  • Version 0.4 deployment+, version 0.7+ needed for alert deletion
  • One registered device


Steps

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