Alerts & Notifications

    What conditions and operators can I use in Alert Rules?

    Rules support metric-based conditions (uptime, response time, SSL, status code, visual diff, SEO score) with numeric, boolean, and change operators.

    Updated 2026-07-10
    2 min read
    alerts
    rules
    conditions

    Quick answer#

    Supported operators: >, >=, <, <=, ==, !=, changed, increased by %, decreased by %, and for duration. Supported metrics span uptime, response time, SSL days-to-expiry, HTTP status, visual diff %, and SEO score.

    Supported metric families#

  1. Uptime — status (up/down), consecutive failures
  2. Response time — ms value, % change vs rolling baseline
  3. SSL — days to expiry, issuer change, chain valid
  4. HTTP — status code, response header presence
  5. Visual — diff %, region-scoped diff, text change
  6. SEO — score delta, title/meta change, sitemap 404s
  7. DNS — record change (A / MX / NS / CNAME)
  8. Where to find it in Lemwatch#

    Settings → Alerts → Rules → New rule → Add condition.

    How to combine conditions#

  9. Add a first condition (e.g. status code != 200).
  10. Click + AND or + OR for more conditions.
  11. Use for duration to require the condition to hold (kills flapping).
  12. Preview against the last 24h of data before saving.
  13. FAQ#

    What does "changed" mean for numeric metrics?#

    Any non-zero delta from the previous check. Use % change for smoother triggers.

    Can I compare two metrics?#

    Not yet — every condition compares one metric to a constant.

  14. Alert Rules builder overview
  15. Alert rule routing and suppression
  16. API endpoint degradation
  17. Was this article helpful?