diff --git a/charts/prometheus-smartctl-exporter/templates/daemonset.yaml b/charts/prometheus-smartctl-exporter/templates/daemonset.yaml index dc4c1400cae5..7bceed8f63e7 100644 --- a/charts/prometheus-smartctl-exporter/templates/daemonset.yaml +++ b/charts/prometheus-smartctl-exporter/templates/daemonset.yaml @@ -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={{ . }}' diff --git a/charts/prometheus-smartctl-exporter/values.yaml b/charts/prometheus-smartctl-exporter/values.yaml index 75e180be8a05..75b58c6b0471 100644 --- a/charts/prometheus-smartctl-exporter/values.yaml +++ b/charts/prometheus-smartctl-exporter/values.yaml @@ -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: