summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2024-06-21 11:02:10 +0300
committerGitHub <noreply@github.com>2024-06-21 11:02:10 +0300
commit22990830f9dfa433deaf2b3188cae76408316b90 (patch)
tree3a3cd974dec519cdf72acb2e61904a38d4c83301 /src
parent34fccd06f6cec72bacba3d5adf512f8f067c80fe (diff)
docs: smartctl: add the "no_check_power_mode" option (#17985)
Diffstat (limited to 'src')
-rw-r--r--src/go/collectors/go.d.plugin/modules/smartctl/metadata.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/go/collectors/go.d.plugin/modules/smartctl/metadata.yaml b/src/go/collectors/go.d.plugin/modules/smartctl/metadata.yaml
index 53263312cd..dc0b0e393e 100644
--- a/src/go/collectors/go.d.plugin/modules/smartctl/metadata.yaml
+++ b/src/go/collectors/go.d.plugin/modules/smartctl/metadata.yaml
@@ -108,6 +108,19 @@ modules:
description: "Specifies a pattern to match the 'info name' of devices as reported by `smartctl --scan --json`."
default_value: "*"
required: false
+ - name: no_check_power_mode
+ description: "Skip data collection when the device is in a low-power mode. Prevents unnecessary disk spin-up."
+ default_value: standby
+ required: false
+ detailed_description: |
+ The valid arguments to this option are:
+
+ | Mode | Description |
+ |---------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+ | never | Check the device always. |
+ | sleep | Check the device unless it is in SLEEP mode. |
+ | standby | Check the device unless it is in SLEEP or STANDBY mode. In these modes most disks are not spinning, so if you want to prevent a disk from spinning up, this is probably what you want. |
+ | idle | Check the device unless it is in SLEEP, STANDBY or IDLE mode. In the IDLE state, most disks are still spinning, so this is probably not what you want. |
examples:
folding:
title: Config