> For the complete documentation index, see [llms.txt](https://docs.nexthink.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nexthink.com/~/changes/Sh4xqs4GDClkDKT9Hvux/user-guide/alerts-and-diagnostics/managing-alerts/customizing-built-in-monitors.md). Agents can also search and read this documentation through its [MCP server](https://docs.nexthink.com/~gitbook/mcp).

# Customizing built-in monitors

Customize system and library monitors and use them as the starting point for a more complex monitor configuration that increases the relevancy of alerts. System monitors are available for configuration from the Manage alerts page. Refer to the [Nexthink Library](https://docs.nexthink.com/~/changes/Sh4xqs4GDClkDKT9Hvux/user-guide/nexthink-library.md) documentation for more information about installing content.

{% hint style="info" %}
Any modifications to a library monitor are not reflected in future updates to the original library monitor created by Nexthink.
{% endhint %}

Click on the action menu of the system or library monitor and select **Configure**.

<figure><img src="https://268444917-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxJSUDk9NTtCHYPG5EWs3%2Fuploads%2Fgit-blob-cc94b75cda02f265ceffe4cc5492acc2c49b17c1%2Fimage-20231018-114716.png?alt=media" alt="" width="760"><figcaption></figcaption></figure>

## General <a href="#customizingbuilt-inmonitors-general" id="customizingbuilt-inmonitors-general"></a>

Use the General tab to configure a built-in monitor.

<figure><img src="https://268444917-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxJSUDk9NTtCHYPG5EWs3%2Fuploads%2Fgit-blob-ae40eb5276a9c913628044cb49bac6f374e27789%2Fimage-20231009-112644.png?alt=media" alt=""><figcaption></figcaption></figure>

### Type <a href="#customizingbuilt-inmonitors-type" id="customizingbuilt-inmonitors-type"></a>

View the type of detection mode the monitor is using. Built-in monitors offer the following detection modes:

* **Metric threshold**: Compares the value of the NQL query-defined metric to a threshold defined by the user. For example, a monitor triggers an alert when 20% of devices running a binary experienced a crash. This option is available for custom and library monitors.
* **Metric change**: Compares the value of the NQL query metric to a reference value. The system computes the reference value as the average of the metric values retrieved over the past 7 days. This option is available only for library monitors.
* **Metric seasonal change**: Compares the value of the NQL query-defined metric with the expected averaged value of the last 7 days, based on the time of the day. The monitor triggers an alert when the value falls outside of the expected range, calculated using standard deviations.
* **Global detection**: Detects issues based on anonymized data from all organizations using Nexthink. The monitor triggers an alert when a specified number of devices use a particular binary version or binary configuration that performs worse than other versions or configurations across organizations using Nexthink. You can adjust the threshold for this alert within your organization. This option is only available for system monitors.

### Name <a href="#customizingbuilt-inmonitors-name" id="customizingbuilt-inmonitors-name"></a>

View the name of the built-in monitor. The system uses this name to send notifications and visualize monitors on the Alerts overview page.

### NQL ID <a href="#customizingbuilt-inmonitors-nqlid" id="customizingbuilt-inmonitors-nqlid"></a>

View the monitor NQL ID. Use it to query this monitor using NQL.

{% hint style="info" %}
The **Global issue** detection type is based on anonymized data from all organizations using Nexthink and, therefore, does not require an NQL query.
{% endhint %}

### Priority <a href="#customizingbuilt-inmonitors-priority" id="customizingbuilt-inmonitors-priority"></a>

Set the priority level. The default level is medium.

### Tags <a href="#customizingbuilt-inmonitors-tags" id="customizingbuilt-inmonitors-tags"></a>

Create custom tags for monitors. This allows you to filter alerts using tags in the Overview dashboard and in the Webhooks integration. Currently, there is a maximum of 10 tags per monitor.

## Query and conditions <a href="#customizingbuilt-inmonitors-queryandconditions" id="customizingbuilt-inmonitors-queryandconditions"></a>

<figure><img src="https://268444917-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxJSUDk9NTtCHYPG5EWs3%2Fuploads%2Fgit-blob-5acfff167563d03c5282d3642096f7c23e4dd33b%2Fimage-20231009-113008.png?alt=media" alt=""><figcaption></figcaption></figure>

### NQL query <a href="#customizingbuilt-inmonitors-nqlquery" id="customizingbuilt-inmonitors-nqlquery"></a>

A built-in monitor uses a predefined query to determine which metric it evaluated. View the query directly in Investigations by clicking on the **Show in Investigations** button.

### Trigger conditions <a href="#customizingbuilt-inmonitors-triggerconditions" id="customizingbuilt-inmonitors-triggerconditions"></a>

Define the condition that triggers an alert. Define a condition for each metric computed in the NQL query. In a metric change type monitor, only the first condition verifies the change of the metric, whereas all the additional conditions compare it against the threshold. In built-in monitors, some conditions are preconfigured, but you can adjust them to fit your organization's needs.

Use multiple metric thresholds to increase the relevancy of alerts. For example, use multiple metrics to ensure that the system does not raise alerts during low usage of the service or if a small number of devices are impacted.

### Filter <a href="#customizingbuilt-inmonitors-filter" id="customizingbuilt-inmonitors-filter"></a>

Add additional filters to include or exclude certain applications or devices from being monitored. Filtering is only available for built-in monitors that evaluate the following inventory objects: users, devices, applications and binaries.

### Additional ‘group-by’ clause <a href="#customizingbuilt-inmonitors-additionalgroup-byclause" id="customizingbuilt-inmonitors-additionalgroup-byclause"></a>

Add metrics for monitors that track device performance issues and call quality issues per organizational hierarchy breakdown, including custom levels and location breakdowns. Grouping is only available for built-in monitors that evaluate devices.

### Scheduling frequency <a href="#customizingbuilt-inmonitors-schedulingfrequency" id="customizingbuilt-inmonitors-schedulingfrequency"></a>

The time interval determines how often the system evaluates the trigger condition. The scheduling frequency is fixed for built-in monitors.

## Notifications <a href="#customizingbuilt-inmonitors-notifications" id="customizingbuilt-inmonitors-notifications"></a>

Configure email or webhook notifications for built-in monitors as you would for any other monitor. Refer to the [Configuring email and webhook notifications for alerts](https://docs.nexthink.com/~/changes/Sh4xqs4GDClkDKT9Hvux/user-guide/alerts-and-diagnostics/managing-alerts/configuring-email-and-webhook-notifications-for-alerts.md) for more information.

## Prerequisites and dependencies <a href="#customizingbuilt-inmonitors-prerequisitesanddependencies" id="customizingbuilt-inmonitors-prerequisitesanddependencies"></a>

* The following library monitors require the Collaboration Experience expansion product:
  * Call quality - Zoom number of poor calls (increase)
  * Call quality - Teams number of poor calls (increase)
* The following system monitors require Nexthink instances fully [transitioned to Infinity](https://edocs.nexthink.com/latest/about-infinity-transition) :
  * Binary connection establishment time increase
  * Binary failed connection ratio increase
* To use breakdown by location as an optional `group by` in device performance monitors, you need to enable the geolocation on the [Product configuration](https://docs.nexthink.com/~/changes/Sh4xqs4GDClkDKT9Hvux/user-guide/administration/system-configuration/product-configuration.md) page of the Administration module.

Go to [microsoft.com](http://microsoft.com)

***

RELATED TOPICS

* [Getting started with Alerts](https://docs.nexthink.com/~/changes/Sh4xqs4GDClkDKT9Hvux/user-guide/alerts-and-diagnostics/getting-started-with-alerts.md)
* [Nexthink Library](https://docs.nexthink.com/~/changes/Sh4xqs4GDClkDKT9Hvux/user-guide/nexthink-library.md)
* [Configuring email and webhook notifications for alerts](https://docs.nexthink.com/~/changes/Sh4xqs4GDClkDKT9Hvux/user-guide/alerts-and-diagnostics/managing-alerts/configuring-email-and-webhook-notifications-for-alerts.md)
* [Product configuration](https://docs.nexthink.com/~/changes/Sh4xqs4GDClkDKT9Hvux/user-guide/administration/system-configuration/product-configuration.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.nexthink.com/~/changes/Sh4xqs4GDClkDKT9Hvux/user-guide/alerts-and-diagnostics/managing-alerts/customizing-built-in-monitors.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
