ClusterEyeClusterEye
Request DemoStart free trial
Getting started

Setting alarm thresholds and notification channels

Set up the Slack, Email and Teams channels in Settings, route alarms to channels with Alert Routing, and decide in Thresholds when each alarm warns or turns critical.

Scope

Engines
All engines
Roles
Admin
ClusterEye
ClusterEye 1.6.50 and laterWritten from the product code
Prerequisites
  • The Notifications, Alert Routing, Thresholds and Anomaly Alarms sections in the Alerting group of Settings are open to the Admin role only; other roles do not see them in the menu. The server also requires admin rights to save these settings.
  • Have the incoming webhook URL for Slack/Teams, or an SMTP server and a sender address for email, ready.

When this guide helps

  • how do I change alarm thresholds
  • the CPU alarm fires too often, how do I raise the threshold
  • alarm notifications do not arrive in Slack or email
  • how do I route alarms to different teams
  • where do I set the disk usage warning threshold
  • how do I set up Microsoft Teams webhook notifications
  • notification test message is not delivered

Steps

  1. Step 1: Administration → Settings

    Do

    Open Administration → Settings in the sidebar and choose Notifications in the Alerting group. In the Slack Notifications, Email Notifications and Microsoft Teams Notifications panels turn on the matching 'Enable ... Notifications' switch, fill in the address fields (Slack Webhook URL, SMTP Server, SMTP Port, From Email Address, Recipients, Teams Webhook URL) and save with 'Save changes' at the bottom of the panel.

    Look for

    The Slack, Email and Teams tiles at the top (Enabled, Configured, Incomplete or Off) and the 'N of 3 channels enabled' chip in the header. The 'Test Connection' button on the Slack and Teams panels and 'Test Email' on the Email panel.

    How to read it

    Enabled: switched on and has a destination. Configured: has a destination but the switch is off. Incomplete: switched on but missing the destination, so nothing is delivered. Email needs a server, a port, a sender and at least one recipient. 'Test Email' uses the saved settings, so save first. These global settings serve both Metric Alarms and Anomaly Detection alarms; alarms that match no routing rule are also sent through them.

  2. Step 2: Administration → Settings

    Do

    In Settings open Alerting → Alert Routing. In the 'Notification Channels' panel create a named channel with 'Add Channel' (Channel type: Slack, Email, Microsoft Teams or Generic Webhook; Channel name; the destination field; Enabled). Then in the 'Routing Rules' panel add a rule with 'Add Route': Route name, Minimum severity, Category, Database engine, Alarm types, Clusters, Agents, 'Send to channels', Priority. Try the rule with 'Test Routes'.

    Look for

    The Channels, Enabled routes and Fallback tiles at the top. In the channel table: Name, Type, Enabled, Details; in the rule table: #, Name, Conditions, Channels, Stop, Enabled. The 'Send test' button in the channel edit window. The 'Test route evaluation' window and its 'Evaluate routes' button.

    How to read it

    Rules are evaluated by Priority (lowest number first, 1-1000); all conditions of a rule must match, and a condition left empty means 'any'. With 'Stop processing' on, lower-priority rules are not evaluated once that rule matches. Disabled channels stay in a rule but receive nothing. 'Send test' only works for a saved channel. The Fallback tile reads 'All alarms' when no rule is enabled and 'Unmatched only' otherwise, meaning unmatched alarms go through the global Notifications settings. A channel's type cannot be changed once saved; create a new channel. An Email channel uses the SMTP server from Notifications.

  3. Step 3: Administration → Settings

    Do

    In Settings open Alerting → Thresholds. Keep the scope at 'Global' at the top. In the 'Alarm thresholds' panel pick one of the sub-tabs (Host, Connections, Replication, Queries, Locking, Storage, Engine health, Managed databases, Behaviour; only the tabs of the engines you monitor appear), for example Host.

    Look for

    Each row is one alarm: the Alarm, Warning at, Critical at, 'Clears · lasts', '7 days' and Suggested columns. The arrow button on the left of the row ('Show ... details') opens the description and the editor.

    How to read it

    'Warning at' is the level where the alarm warns and 'Critical at' where it turns critical. For some fields 0 switches a level off (the field reads 'Off'); with the critical level switched off the alarm stays a warning. The 'Clears · lasts' column shows where an open alarm clears and how long the level must last before a new alarm opens; those come from 'Recovery margin' and 'Must last' on the Behaviour tab and affect every alarm. The '7 days' column is an estimate, from recorded history, of how many alarms the saved values would have opened in the last 7 days. CPU usage, Memory usage and Disk usage on the Host tab are values of the server the agent runs on.

  4. Step 4: Administration → Settings

    Do

    In Thresholds expand an alarm row and change the values (an 'unsaved' tag appears on the row). In the 'What these values would have done' preview of the editor pick 7 days, 14 days or 30 days and read the result. If the Suggested column holds a value, click it to fill it in, then check the preview. When satisfied, save with 'Save <alarm name>' (or 'Save' on the row); use 'Discard' or 'Undo' to back out and 'Fill defaults' to reset to defaults.

    Look for

    In the preview the 'Saved values', 'With your edits' and 'Actually recorded' tiles, the node table (Node, Saved, Now or Edited, Recorded, Peak) and, after picking a node, the 'Would open', 'Lasting', 'Peak', 'Severity' list. The sentence above the editor ('Warning when it reaches ... Clears once ...').

    How to read it

    The preview shows how many alarms the candidate thresholds would have opened in the past and saves nothing. If 'With your edits' is far below 'Saved values' you are loosening the alarm; if far above, you are adding noise. The Suggested value comes from hourly averages over the last 30 days and does not contain short spikes, so check the preview. When no suggestion is ready the cell reads 'learning'. Each alarm is saved on its own: saving one alarm does not save the unsaved edits of others. The header warning 'N unsaved rules' counts pending edits.

  5. Step 5: Administration → Settings

    Do

    Optional: in Settings open Alerting → Anomaly Alarms. In the 'Intelligence Engine Alerts' panel set the switch, 'Minimum severity' and 'Re-alert cooldown (minutes)'; in the 'Query Anomaly Alarms (per-query detection)' panel set the 'Enable Anomaly Detection Alarms' switch, the Slack/Email checkboxes, 'Minimum Severity Level' and 'Cooldown Period (minutes)', then save with 'Save Global Alarm Settings'.

    Look for

    The 'Summary' panel at the top shows the saved values of the three controls (Intelligence alerts, Query anomaly alarms, delivery).

    How to read it

    These are two controls separate from threshold alarms: Intelligence Engine alerts and per-query anomaly alarms each have their own severity floor and cooldown fields (the warning box in the Query Anomaly Alarms panel says its settings do not affect the Intelligence Engine alerts). When neither Slack nor Email is ticked for query anomaly alarms the Summary reads 'Recorded only'. Channels must be set up in Notifications first.

Outcome

By the end, notification channels are set up, alarms are routed to channels and alarm thresholds have been tried against history and saved. ClusterEye saves the settings itself here (the Save buttons); saved values apply to later evaluations. To work incoming alarms see the 'Alarm triage: finding, owning, snoozing and resolving an alarm' guide, and for a threshold specific to one server see the 'Overriding an alarm threshold for one node' guide.

Getting started
Overriding an alarm threshold for one node

In Settings → Thresholds pick the Node scope, save threshold values for a single server only, preview and verify them, and go back to the inherited values when needed.

Incident response
Alarm triage: finding, owning, snoozing and resolving an alarm

On the Alarms page prioritise active alarms, read an alarm's detail, acknowledge and own it, snooze it or silence it with a maintenance window when needed, and close it as resolved.

Getting started
First 15 minutes with ClusterEye: reading the state of your estate

Go from the Database Estate Health page on Home to Clusters and the AI Database Doctor to read the overall state of your estate, the problems that need attention and the monitoring gaps.

Getting started
Adding a database and verifying data arrives

Add a database with the Add Agent wizard or Agentless Connections, then confirm on the Clusters page that the node appears and sends data.