Skip to content

Commit 1ec8c66

Browse files
author
Jonathan Chauncey
committed
Merge pull request #80 from sstarcher/master
fixing interfaces and matching devices up with DISK_MOUNT_POINTS style
2 parents b725d2b + 0897b85 commit 1ec8c66

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

telegraf/rootfs/config.toml.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,11 @@
119119

120120

121121
[[inputs.diskio]]
122-
{{ if .DISKIO_DEVICES }} devices = {{ .DISKIO_DEVICES }} {{ end }}
122+
{{ if .DISKIO_DEVICES }} devices = [{{ .DISKIO_DEVICES }}] {{ end }}
123123
{{ if .DISKIO_SKIP_SERIAL_NUMBER }} skip_serial_number = {{ .DISKIO_SKIP_SERIAL_NUMBER }} {{ end }}
124124

125125
[[inputs.net]]
126-
{{ if .NET_INTERFACES }} = {{ .NET_INTERFACES}} {{ end }}
126+
{{ if .NET_INTERFACES }} interfaces = [{{ .NET_INTERFACES}}] {{ end }}
127127

128128

129129
{{ if .APACHE_URLS }}

0 commit comments

Comments
 (0)