Changing the thresholds of High CPU warnings

Overview

High CPU warnings for devices and executions are triggered when the CPU load exceeds some default values. The default values have been chosen to detect both significant high CPU loads in a device and the particular applications that cause high CPU load during their execution.

If you receive too many high CPU warnings in your setup, up to the point that they stop being meaningful, raise the default thresholds. To change the default thresholds, edit the configuration file of the Engine:

  1. Log in to the CLI of the Engine.

  2. Edit the configuration file: sudo vi /var/nexthink/engine/01/etc/nxengine.xml

  3. Change the high CPU settings inside the tag <aggregation>(under <config> ,<engine> ). See below each possible individual setting.

Repeat this operation in every Engine of your setup.

The operations described in this article should only be performed by a Nexthink Engineer or a Nexthink Certified Partner.

If you need help or assistance, please contact your Nexthink Certified Partner.

Device warnings

The deprecated device warning High thread CPU usage (deprecated) is triggered when the CPU load in a device exceeds 80% of a single logical processor. To change that threshold, modify the value of the following setting:

<machine_high_cpu>80</machine_high_cpu>

The device warning High overall CPU usage is triggered when the CPU load is above 70%, taking into account all the logical processors of the device. This threshold is independently modifiable for each type of device (laptop, desktop, or server):

<normalized_high_cpu_laptop>70</normalized_high_cpu_laptop>

<normalized_high_cpu_dektop>70</normalized_high_cpu_desktop>

<normalized_high_cpu_server>70</normalized_high_cpu_server>

Execution warnings

By default, for any process to trigger a High thread CPU usage warning, it has to take more than 50% of CPU load. The threshold is controlled by the following setting:

<process_high_cpu>50</process_high_cpu>

In the case of the system process, the threshold is lowered to 40%. Change the default with the following setting:

<system_high_cpu>40</system_high_cpu>


RELATED REFERENCE

Last updated