@cryptotaxi247 / netdata-1 / commits / 22990830f

docs: smartctl: add the "no_check_power_mode" option (#17985)

Ilya Mashchenko committed Jun 21, 2024 at 11:02 UTC 22990830f9dfa433deaf2b3188cae76408316b90
1 file changed +13
src/go/collectors/go.d.plugin/modules/smartctl/metadata.yaml
+13
@@ -108,6 +108,19 @@ modules:
108 description: "Specifies a pattern to match the 'info name' of devices as reported by `smartctl --scan --json`."
109 default_value: "*"
110 required: false
111 + - name: no_check_power_mode
112 + description: "Skip data collection when the device is in a low-power mode. Prevents unnecessary disk spin-up."
113 + default_value: standby
114 + required: false
115 + detailed_description: |
116 + The valid arguments to this option are:
117 +
118 + | Mode | Description |
119 + |---------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
120 + | never | Check the device always. |
121 + | sleep | Check the device unless it is in SLEEP mode. |
122 + | 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. |
123 + | 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. |
124 examples:
125 folding:
126 title: Config