Managing client disk space thresholds

The Tanium Client Extension (CX) infrastructure monitors free disk space on each endpoint at five-minute intervals. When free disk space crosses a warning or critical threshold, downstream Client Extensions reduce or stop their activity to avoid filling the disk.

Settings reference

Specific settings control disk space warning and critical thresholds. You can set thresholds by percentage of free disk space or by absolute free disk space in MB. Client Extensions evaluate only one unit at a time, based on the CX.core.DiskSpaceCheckUsesPercent setting.

Disk space check mode

Table 1. Disk space check mode setting

Setting

Default

Description

CX.core.DiskSpaceCheckUsesPercent

1

Selects which pair of thresholds Client Extensions evaluate. Set to 1 to evaluate the percent thresholds. Set to 0 to evaluate the MB thresholds. Client Extensions parse and range-validate the settings for the unselected unit but do not evaluate them.

Percent thresholds

Table 2. Percent-based disk space threshold settings

Setting

Default

Description

CX.core.DiskSpaceWarningPercent

5

Percentage of free disk space below which Client Extensions report a warning.

CX.core.DiskSpaceCriticalPercent

1

Percentage of free disk space below which Client Extensions take protective action.

Note: You cannot set the percent thresholds to 0 to disable disk space checking.

Absolute MB thresholds

You can define warning and critical thresholds as absolute free disk space in MB. Use these settings on systems where percentage thresholds reserve more or less space than is appropriate — for example, high-capacity disks where 1% is still a large amount of disk, or VDI systems where free disk space is always low as a percentage but is operationally acceptable.

Table 3. MB-based disk space threshold settings

Setting

Default

Description

CX.core.DiskSpaceWarningMB

5120

Absolute MB of free disk space below which Client Extensions report a warning.

CX.core.DiskSpaceCriticalMB

1024

Absolute MB of free disk space below which Client Extensions take protective action.

Important: MB thresholds require Client Extensions core version 2.19.2101 or later. Earlier 2.19 builds define the MB settings but do not honor custom values, and use the default values instead.

Behavior at each threshold

When free disk space crosses a threshold, the affected Client Extensions take the actions in the following table. Endpoints in this state surface a disk space health check on the Client Extensions - Status sensor.

Table 4. Client Extension behavior at warning and critical thresholds

Client Extension

Warning threshold

Critical threshold

Tanium Client

Logs a warning health check.

Stops new tool downloads.

Index

Logs a warning health check.

Pauses indexing scans until free disk space rises above the critical threshold.

Comply

Logs a warning health check.

Stops Comply downloads and disables Comply scans.

Patch

Logs a warning health check.

Stops Patch downloads.

TSDB

Logs a warning health check.

Disables the TSDB Client Extension.

Important: These thresholds are a CX-core-wide disk-exhaustion safeguard that affects every Client Extension in the preceding table, not an Index-specific control. To limit the size of the Index database (index.db) specifically, configure Maximum Index Database Size in an Index configuration. For more information, see Global Index configurations.

Modify the thresholds

You can change the threshold settings using the Tanium Client command line or by deploying the Modify Tanium Client Setting package as a Tanium action. For more information about managing client settings, see Managing Client settings and Index configurations.

Command line

To set the warning threshold to 10 percent and the critical threshold to 5 percent, run the following commands on the endpoint:

./TaniumClient config set CX.core.DiskSpaceWarningPercent 10

./TaniumClient config set CX.core.DiskSpaceCriticalPercent 5

To use MB thresholds instead of percent thresholds, set CX.core.DiskSpaceCheckUsesPercent to 0 in addition to the MB settings. For example, to set the mode switch and an absolute MB threshold, run the following commands on the endpoint:

./TaniumClient config set CX.core.DiskSpaceCheckUsesPercent 0

./TaniumClient config set CX.core.DiskSpaceWarningMB 2000

./TaniumClient config set CX.core.DiskSpaceCriticalMB 500

Tanium action

Deploy the Modify Tanium Client Setting package (Windows) or the Modify Tanium Client Setting [Non-Windows] package (Linux and macOS) with the following parameters.

Table 5. Tanium action parameters for the warning threshold (10 percent example)

Parameter

Windows

Non-Windows

Type

RegType: REG_DWORD

Type: Numeric

ValueName

CX.core.DiskSpaceWarningPercent

CX.core.DiskSpaceWarningPercent

ValueData

10

10

Verify current threshold values

Ask the following question in Interact to display any non-default threshold values:

Get Tanium Client Explicit Setting[CX.core.DiskSpaceCheckUsesPercent] and Tanium Client Explicit Setting[CX.core.DiskSpaceWarningPercent] and Tanium Client Explicit Setting[CX.core.DiskSpaceCriticalPercent] and Tanium Client Explicit Setting[CX.core.DiskSpaceWarningMB] and Tanium Client Explicit Setting[CX.core.DiskSpaceCriticalMB] from all machines

A result of Key/Value not found for a setting indicates that the endpoint is using the default value: 1 (percent mode) for CX.core.DiskSpaceCheckUsesPercent, 5 percent for warning, 1 percent for critical, 5120 MB for warning, and 1024 MB for critical.

Note: Check CX.core.DiskSpaceCheckUsesPercent first to determine which pair of thresholds is active on an endpoint. An endpoint in MB mode returns Key/Value not found for the percent settings even if it is using non-default MB values, and the reverse is true for an endpoint in percent mode.

Identify affected endpoints

Ask the following question in Interact to list all endpoints that have triggered a disk space health check:

Get Computer Name and Client Extensions - Status contains disk space from all machines with Client Extensions - Status contains disk space