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

@ -4,6 +4,7 @@
- [#509](https://github.com/influxdb/telegraf/pull/509): Flatten JSON arrays with indices. Thanks @psilva261!
- [#512](https://github.com/influxdata/telegraf/pull/512): Python 3 build script, add lsof dep to package. Thanks @Ormod!
- [#475](https://github.com/influxdata/telegraf/pull/475): Add response time to httpjson plugin. Thanks @titilambert!
- [#519](https://github.com/influxdata/telegraf/pull/519): Added a sensors input based on lm-sensors. Thanks @md14454!
### Bugfixes
- [#506](https://github.com/influxdb/telegraf/pull/506): Ping input doesn't return response time metric when timeout. Thanks @titilambert!
@ -44,7 +45,6 @@ configurations overwritten by the upgrade. There is a backup stored at
- Added ability to specify per-plugin measurement suffix and prefix.
(`name_prefix` and `name_suffix`)
- Added ability to override base plugin measurement name. (`name_override`)
- Added a sensors input based on lm-sensors
### Bugfixes

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