Tweak changelog for sensors plugin, and add a non-linux build file

closes #519
closes #168
This commit is contained in:
Cameron Sparr
2016-01-15 11:22:33 -07:00
parent 2eda8d64c7
commit 963a9429dd
3 changed files with 12 additions and 9 deletions

View File

@@ -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 {

View File

@@ -0,0 +1,3 @@
// +build !linux
package sensors