Devices: Static Threshold Alerts

Prev Next

Alerts allow you to proactively monitor your environment by notifying you or performing automated actions when certain conditions are met.

There are two methods for creating Devices alerts in ControlUp:

  • Static Thresholds: Triggered when a metric hits a fixed numerical value (such as CPU > 90%).
  • Anomaly Detection: Triggered when ControlUp detects behavior that deviates from a historical baseline. For details, read Anomaly Detection Alerts.

This article describes static threshold alerts.

How Static Threshold Alerts Work

ControlUp's alert system evaluates your environment every minute to determine if your configured threshold has been met. The alert triggers when the conditions have been met the required number of times within a certain duration, on at least the number of devices you specify.

Configuration Steps

To start creating a new alert, navigate to Events > Alert Rules > Add Alert.
AddNewAlertRule.png

1. General settings

At the top, make sure Product is set to Devices. Give the alert a name and description, and decide whether you want the alert to be enabled or disabled when you save it.

2. Set the alert method

Under Method, select Static Threshold.

3. Set the device scope

Under Scope, decide which devices you want to be eligible to trigger the alert:

  • If you select all devices, then every device in your environment is eligible to trigger the alert.
  • If you select selected tags, then only devices with at least one of your specified tags are eligible to trigger the alert. Learn more about device tags. Note that if you choose selected tags and do not specify any tags, then no devices are eligible for the alert.

4. Set the metric thresholds

  1. In the Category field, select what type of metrics you want to use for your alert.
    • At the top of the dropdown list, there are predefined categories for you to choose from. If you are familiar with ControlUp's data index database, you can scroll down and select a specific data index.
  2. Choose a Severity level for the alert. This will help you manage your alerts by importance.
  3. Build your alert conditions by selecting a metric and adding a threshold.
    • The available metrics depend on your selected Category. If you selected a predefined category, then the corresponding data index and field are listed in brackets after the metric's name. If you selected a specific data index for the category, make sure you use the correct operator for the metric's data type (string fields must use the 'Contains' operator).
    • If you want to add conditions on more metrics, click + Add condition. Note that ALL conditions must be met to trigger the alert (they are ANDed together).

Advanced conditions

If you add a string condition, you can use the following operators:

  • Does not contain - For string metrics, select 'Contains' and enter !! before the condition value to create a 'does not contain' condition.
  • OR - For string metrics, select 'Contains' and enter || between two condition values to create an OR condition.
  • Neither/Nor - For string metrics, select Contains and combine !! with || to create a 'Neither/Nor' condition. For example, !!Canada||!!Norway excludes both Canada and Norway.
  • Elastic - You can use Elastic in conditions. For example, last_communication <= now-15m triggers if a device hasn't been online in 15 minutes.

5. Set the alert timing and device count

Below the conditions, set how many times the conditions must be met within a time window, and on how many devices, to trigger the alert:

Trigger an alert when conditions are met at least [X] times within [Y] minutes on [N] or more devices.

This setting lets you filter out short spikes that resolve themselves, and isolated problems that affect only a few devices.

We recommend a time window of at least 600 seconds (10 minutes) because some data is collected at 10-minute intervals. If you set the minimum number of devices to 1, ensure your "number of times" count doesn't exceed the expected data collection frequency within a given time window.

To prevent repeated alerts, set the minimum retrigger delay time (up to 86400 seconds). This sets how long the alert system must wait before retriggering an alert on the same device.

How conditions are counted across multiple devices

The minimum number of devices setting changes what the alert is designed to detect:

  • Individual device problems (minimum of 1 device): Use this to alert on a problem on a single device, such as a device with low available memory for 50 minutes out of an hour. This setting is the best choice for filtering out brief spikes on individual devices.
  • Group spikes (minimum of 2 or more devices): Use this to alert when an issue affects many devices within the same time window, such as a widespread increase in CPU usage after a failed update. This setting is designed to detect how many devices are affected, not whether each device had a sustained problem.
Device count limit

Your organization has a limit on the number of devices that can simultaenously trigger the same alert. Beyond that limit, follow-up actions won't be executed. Keep this in mind when setting the minimum device threshold for your alert rule. If you set a minumum device count that is greater than your organization's limit, then the alert's follow-up actions and notifications will not work correctly.

When you set a minimum number or percentage of devices above 1, the conditions must be met on at least that many devices within the time window. The number of times that the conditions must be met is counted across all devices combined. Each device doesn't individually need to meet the conditions that many times. For example, if you set an alert to trigger after 10 hits within 60 minutes on 5 or more devices, the alert triggers if one device meets the conditions 6 times and four other devices meet them once each.

To keep the number of times proportional to the number of devices, multiply the number of times you would set for a single device by the minimum number of devices. For example, to alert when 5 or more devices each have around 10 hits within 60 minutes, set the number of times to 50 (5 × 10). Note that this doesn't guarantee that each individual device reaches 10 hits, because the hits from all 5 devices are counted and summed together (some might have more, some less).

6. Follow-up actions and notifications

Actions

You can automatically send a survey or run scripts on devices that trigger the alert. Before you select a script or survey, you must use the Script platform field to narrow down the options by OS platform. Note that this is a selection filter only, and it does not determine which devices are eligible to trigger the alert.

Surveys are supported only on Windows and macOS devices. Only on-demand surveys are available to select from the dropdown.

To learn more about adding scripts to ControlUp, read the Scripting Guide.

Notifications

Enter a webhook URL or a semicolon-separated list of email addresses to receive a notification when the alert is triggered.

The notifications contain the name of the alert, and which devices triggered it.

ServiceNow integration

ControlUp offers a ServiceNow integration to automatically create, update, and resolve ServiceNow tickets based on Alerts. For details, read ServiceNow Integration.

Creating an alert based on a custom data index

To create an alert using a custom data index, the index must contain the following fields:

  • device_id
  • device_type
  • device_name

Troubleshooting

If an alert doesn't behave as expected, check the following:

  • If a device comes back online after a few hours and uploads its data, you might not get an alert because the system takes into account the time that the event happened, NOT the time when it was uploaded to the server.
  • Check Configuration > Data to confirm that the event you think you should have received an alert about was recorded in the database, and that its recorded _created_local time occurred within the configured Time Window.
  • Check if the Retrigger Delay is set too high. The Retrigger Delay parameter prevents you from being flooded with alerts every 60 seconds, but if it is configured to a value that is too high, you might not receive alerts for an excessively long period of time.

Alert scaling and volume limits

The maximum number of devices that can simultaneously trigger the same alert is calculated dynamically based on your organization's total device count, using the square root of that number. This value is then bounded to stay within a minimum of 50 and a maximum of 500.

Examples:

  • Organizations with 2,500 or fewer devices get the minimum limit of 50.
  • Organizations with 250,000 or more devices get the maximum limit of 500.
  • Organizations in between get a limit equal to the square root of their device count (for example, an organization with 10,000 devices would have a limit of 100).

If an alert exceeds your organization's limit, the system prioritizes platform stability by suppressing individual follow-up actions.

In this scenario:

  • Scripts, surveys, webhooks, and email notifications will not be executed or sent.
  • An entry will be created in the System Events log indicating that the alert triggered on too many devices.
  • If the ServiceNow integration is enabled, a summary ticket is created indicating that the alert triggered on too many devices.

If you frequently hit this limit, refine your alert conditions (such as narrowing the scope to specific groups) to ensure that notifications remain actionable and focused on the most critical issues.

You can contact ControlUp Support to request an increase to your organization's device limit for alerts.