mirror of
https://github.com/prometheus-community/smartctl_exporter.git
synced 2024-11-23 01:43:07 +01:00
commit
7d206388fb
2 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ Flags:
|
|||
-h, --help Show context-sensitive help (also try --help-long and --help-man).
|
||||
--smartctl.path="/usr/sbin/smartctl"
|
||||
The path to the smartctl binary
|
||||
--smartctl.interval=60s The interval between smarctl polls
|
||||
--smartctl.interval=60s The interval between smartctl polls
|
||||
--smartctl.device=SMARTCTL.DEVICE ...
|
||||
The device to monitor (repeatable)
|
||||
--smartctl.device-exclude=""
|
||||
|
|
2
main.go
2
main.go
|
@ -64,7 +64,7 @@ var (
|
|||
"The path to the smartctl binary",
|
||||
).Default("/usr/sbin/smartctl").String()
|
||||
smartctlInterval = kingpin.Flag("smartctl.interval",
|
||||
"The interval between smarctl polls",
|
||||
"The interval between smartctl polls",
|
||||
).Default("60s").Duration()
|
||||
smartctlDevices = kingpin.Flag("smartctl.device",
|
||||
"The device to monitor (repeatable)",
|
||||
|
|
Loading…
Reference in a new issue