Skip to content

Commit

Permalink
Update smart input plugin to support more drive types (influxdata#5765)
Browse files Browse the repository at this point in the history
  • Loading branch information
glinton authored and bitcharmer committed Oct 18, 2019
1 parent ae08e4b commit fd43b04
Show file tree
Hide file tree
Showing 3 changed files with 730 additions and 166 deletions.
18 changes: 8 additions & 10 deletions plugins/inputs/smart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,29 +31,27 @@ smartctl -s on <device>
[[inputs.smart]]
## Optionally specify the path to the smartctl executable
# path = "/usr/bin/smartctl"
#

## On most platforms smartctl requires root access.
## Setting 'use_sudo' to true will make use of sudo to run smartctl.
## Sudo must be configured to to allow the telegraf user to run smartctl
## with out password.
## without a password.
# use_sudo = false
#

## Skip checking disks in this power mode. Defaults to
## "standby" to not wake up disks that have stoped rotating.
## See --nockeck in the man pages for smartctl.
## See --nocheck in the man pages for smartctl.
## smartctl version 5.41 and 5.42 have faulty detection of
## power mode and might require changing this value to
## "never" depending on your storage device.
## "never" depending on your disks.
# nocheck = "standby"
#

## Gather detailed metrics for each SMART Attribute.
## Defaults to "false"
##
# attributes = false
#

## Optionally specify devices to exclude from reporting.
# excludes = [ "/dev/pass6" ]
#

## Optionally specify devices and device type, if unset
## a scan (smartctl --scan) for S.M.A.R.T. devices will
## done and all found will be included except for the
Expand Down
Loading

0 comments on commit fd43b04

Please sign in to comment.