Add server configuration and create new dashboard for used percentage widget for a disk partition in Cortex XSOAR.
In the System Health tab, by default you can view the used percentage widget for the whole disk. If you want to create a usage percentage widget for a disk partition, you need to add a server configuration and then create a new dashboard.
Add the partition path to the Server configuration.
Select
→ → → .Add the following key and value:
Key
Value
disk.partitions.to.monitor
Path and name of the partition.
For example, if your disk partition is “/run”, add this value.Wait a few minutes for the system to update.
Export the System Health dashboard.
Go to
→ → .Click and then click Export.
The dashboard file downloads.
Update the dashboard file you downloaded in Step 2.b.
Open the file, search for
"query": "disk.usedPercent",
and add the following disk partition:"query": "disk.usedPercent./
<name of partition>
",For example, to add,
/run
, change the parameter to"query": "disk.usedPercent./run”,
Save the file as a YAML file.
Import the file.
In the DASHBOARDS tab, click and then click Import.
Select the file and click Open.
The Disk Used Percentage widget for the disk partition appears in the new dashboard. It may take a short while for the widget to update.