Skip to content

Commit fecbc61

Browse files
committed
feat: allow configuring smartctl's powermode check
Requires: prometheus-community/smartctl_exporter/pull/242 Signed-off-by: Robin Björklin <[email protected]>
1 parent 62c5049 commit fecbc61

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

charts/prometheus-smartctl-exporter/templates/daemonset.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ spec:
4040
imagePullPolicy: {{ $global.Values.image.pullPolicy }}
4141
args:
4242
- '--smartctl.path={{ $config.smartctl_location }}'
43+
- '--smartctl.powermode-check={{ $config.smartctl_powermode_check }}'
4344
- '--smartctl.interval={{ $config.collect_not_more_than_period }}'
4445
{{ range $config.devices }}
4546
- '--smartctl.device={{ . }}'

charts/prometheus-smartctl-exporter/values.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ common:
1414
bind_to: "0.0.0.0:9633"
1515
url_path: "/metrics"
1616
smartctl_location: /usr/sbin/smartctl
17+
smartctl_powermode_check: standby
1718
collect_not_more_than_period: 120s
1819

1920
serviceMonitor:

0 commit comments

Comments
 (0)