Skip to content

Commit

Permalink
feat: allow configuring smartctl's powermode check
Browse files Browse the repository at this point in the history
Requires: prometheus-community/smartctl_exporter/pull/242

Signed-off-by: Robin Björklin <[email protected]>
  • Loading branch information
rbjorklin committed Sep 9, 2024
1 parent 62c5049 commit fecbc61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ spec:
imagePullPolicy: {{ $global.Values.image.pullPolicy }}
args:
- '--smartctl.path={{ $config.smartctl_location }}'
- '--smartctl.powermode-check={{ $config.smartctl_powermode_check }}'
- '--smartctl.interval={{ $config.collect_not_more_than_period }}'
{{ range $config.devices }}
- '--smartctl.device={{ . }}'
Expand Down
1 change: 1 addition & 0 deletions charts/prometheus-smartctl-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ common:
bind_to: "0.0.0.0:9633"
url_path: "/metrics"
smartctl_location: /usr/sbin/smartctl
smartctl_powermode_check: standby
collect_not_more_than_period: 120s

serviceMonitor:
Expand Down

0 comments on commit fecbc61

Please sign in to comment.