> For the complete documentation index, see [llms.txt](https://deviceon.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://deviceon.gitbook.io/docs/managed-devices/set-up-the-application-watchdog-and-enable-trigger-notifications.md).

# Set up the Application Watchdog and Enable Trigger Notifications

## Define a Threshold

In the "[**Real-time monitoring**](/docs/web-user-interface/device-management/real-time-monitoring-and-rule-engine.md#real-time-monitoring)" page, you can click the icon ![](https://2609455635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeOYEBAkqbuotygPSIr8f%2Fuploads%2FR0NQ18IkRhl0CU25CUYm%2Fimage.png?alt=media\&token=1214bac7-0896-4789-9437-54aa6922cc2a) in the upper right corner of the process widget of interest to configure the **application watchdog**. Alternatively, click on the **number of running processes** to list the current user-level processes.

<figure><img src="https://2609455635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeOYEBAkqbuotygPSIr8f%2Fuploads%2F63fPbh6uJH8CbDMwuF1P%2Fimage.png?alt=media&amp;token=fec64d6b-87d5-45ee-8108-67089d9d2d84" alt=""><figcaption></figcaption></figure>

For the application you want to monitor, click on its **name** or **"More"** action to configure rules.

<figure><img src="https://2609455635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeOYEBAkqbuotygPSIr8f%2Fuploads%2FeIQLpaCvrvwJwmnk0t1f%2Fimage.png?alt=media&amp;token=764a6e9f-21b9-4888-b6ce-ad9e85c78ddb" alt=""><figcaption></figcaption></figure>

#### IF Section

* **Not Exist or Not Responding**: This indicates that alerts will be triggered if the process no longer exists or becomes unresponsive."
* **CPU**: CPU usage exceeds what percentage.
* **Memory**: Memory exceeds what KB/GB".
* **Duration**: When it reaches the set condition and remains in that state for the set duration.

#### Trigger Policy

* **Always**: Always trigger alerts, send the event log, and then perform the action.
* **Maximum Times**: Set the maximum number of times to send alerts and perform the action.

<figure><img src="https://2609455635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeOYEBAkqbuotygPSIr8f%2Fuploads%2FZvdgg7F8kMxs69ouCx4O%2Fimage.png?alt=media&amp;token=8c345e4b-2394-4e65-b293-ed71ff842b33" alt=""><figcaption></figcaption></figure>

#### THEN Action Sections

* **Kill** - Terminate the application's processes.
* **Restart** - Relaunch the previously running application processes.
* **Priority** - Configure the process priority level (e.g. Realtime, High, Above Normal, Normal).
* **Affinity** - Designate which CPU cores the processes can run on.
* **Execute** - Initiate and start up processes for another application.

After configuring the application watchdog, you can also check how many rule statuses are currently available.

<figure><img src="https://2609455635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeOYEBAkqbuotygPSIr8f%2Fuploads%2F9lt9QhwaiOO5pd9DvcVa%2Fimage.png?alt=media&amp;token=fe98aaea-d3e2-4e00-ab36-dca29722b72b" alt=""><figcaption></figcaption></figure>

* Rule Item: The number of rules that were created.
* Monitoring: The number of active rules.
* Out of Range: The number of rules that are out of range.

It provides a convenient way to manage and control the rules you have set up, making it efficient to make changes or **batch apply** ![](https://2609455635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeOYEBAkqbuotygPSIr8f%2Fuploads%2FO0ph45AWi3FDmOLEL6SA%2Fimage.png?alt=media\&token=df6d0e0c-199c-4397-8be8-5ce85d6de9c6) **the same rule to multiple devices simultaneously**.

<figure><img src="https://2609455635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeOYEBAkqbuotygPSIr8f%2Fuploads%2F5GmT9SDzQuIYAvdN143h%2Fimage.png?alt=media&amp;token=96a2cf31-2b56-481d-bbe4-72f276a1656a" alt=""><figcaption></figcaption></figure>

## Enable Notification

Select a notification item for the **Software Watchdog Category** and ensure your account's alert service is enabled

### Notification Item

<figure><img src="https://2609455635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeOYEBAkqbuotygPSIr8f%2Fuploads%2FDaFcQGRjtGJhykMMQCtc%2Fimage.png?alt=media&amp;token=cdd211a2-d91d-49fb-adc1-327ce74d63df" alt=""><figcaption></figcaption></figure>

### Personal Alert Services

Please go to your personal [**account settings**](/docs/web-user-interface/account-management.md#notification) to enable or disable alert notifications for email, text messages, and social media."

<figure><img src="https://2609455635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeOYEBAkqbuotygPSIr8f%2Fuploads%2F825ts7ACfjGQjFAUR2rc%2Fimage.png?alt=media&amp;token=4ea70ae9-453a-48ff-b98f-db26d7c00383" alt=""><figcaption></figcaption></figure>

{% hint style="danger" %}
*<mark style="color:blue;">**These alert services are personal setting**</mark>*. Please make sure the related services “[**Setting -> Notification**](/docs/web-user-interface/system-setting.md#notification)” is configured, enabled on DeviceOn System.
{% endhint %}
