Add missing slim (#1937)

This commit is contained in:
krise3k
2016-12-13 15:23:18 +01:00
committed by Cameron Sparr
parent af850b8854
commit 4a0f3a7100
2 changed files with 8 additions and 2 deletions

View File

@@ -263,6 +263,11 @@ func importCsvResult(r io.Reader, acc telegraf.Accumulator, host string) error {
if err == nil {
fields["smax"] = ival
}
case HF_SLIM:
ival, err := strconv.ParseUint(v, 10, 64)
if err == nil {
fields["slim"] = ival
}
case HF_STOT:
ival, err := strconv.ParseUint(v, 10, 64)
if err == nil {