Tweak changelog for sensors plugin, and add a non-linux build file
closes #519 closes #168
This commit is contained in:
@@ -19,16 +19,16 @@ func (_ *Sensors) Description() string {
|
||||
}
|
||||
|
||||
var sensorsSampleConfig = `
|
||||
# By default, telegraf gathers stats from all sensors
|
||||
# detected by the lm-sensors module.
|
||||
#
|
||||
# Only collect stats from the selected sensors. Sensors
|
||||
# are listed as <chip name>:<feature name>. This
|
||||
# information can be found by running the sensors command.
|
||||
# e.g. sensors -u
|
||||
# By default, telegraf gathers stats from all sensors detected by the
|
||||
# lm-sensors module.
|
||||
#
|
||||
# Only collect stats from the selected sensors. Sensors are listed as
|
||||
# <chip name>:<feature name>. This information can be found by running the
|
||||
# sensors command, e.g. sensors -u
|
||||
#
|
||||
# A * as the feature name will return all features of the chip
|
||||
#
|
||||
# sensors = ["coretemp-isa-0000:Core 0", "coretemp-isa-0001:*", ... ]
|
||||
# sensors = ["coretemp-isa-0000:Core 0", "coretemp-isa-0001:*"]
|
||||
`
|
||||
|
||||
func (_ *Sensors) SampleConfig() string {
|
||||
|
||||
3
plugins/inputs/sensors/sensors_notlinux.go
Normal file
3
plugins/inputs/sensors/sensors_notlinux.go
Normal file
@@ -0,0 +1,3 @@
|
||||
// +build !linux
|
||||
|
||||
package sensors
|
||||
Reference in New Issue
Block a user