-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Binary for Windows 32bits (386) #1346
Copy link
Copy link
Closed
Labels
bugunexpected problem or unintended behaviorunexpected problem or unintended behaviorplatform/windows
Description
Feature Request
It's possible to generate a telegraf build for windows 386? I've tried by myself but without luck.
Proposal:
Provide a binary for windows 32 bits
Current behavior:
I've changed the build-windows to export GOARCH=386 before start building.
build-windows:
GOOS=windows GOARCH=386 go build -o telegraf.exe -ldflags \
"-X main.version=$(VERSION)" \
./cmd/telegraf/telegraf.go
But unfortunetly I've go the following errors:
GOOS=windows GOARCH=386 go build -o telegraf.exe -ldflags \
"-X main.version=1.0.0-beta1" \
./cmd/telegraf/telegraf.go
# github.com/influxdata/telegraf/plugins/inputs/procstat
plugins/inputs/procstat/spec_processor.go:74: p.proc.Times undefined (type *process.Process has no field or method Times)
plugins/inputs/procstat/spec_processor.go:89: p.proc.Percent undefined (type *process.Process has no field or method Percent)
# github.com/influxdata/telegraf/plugins/inputs/system
plugins/inputs/system/cpu.go:14: undefined: cpu.TimesStat
plugins/inputs/system/ps.go:16: undefined: cpu.TimesStat
plugins/inputs/system/ps.go:17: undefined: disk.UsageStat
plugins/inputs/system/ps.go:18: undefined: "github.com/shirou/gopsutil/net".IOCountersStat
plugins/inputs/system/ps.go:19: undefined: "github.com/shirou/gopsutil/net".ProtoCountersStat
plugins/inputs/system/ps.go:20: undefined: disk.IOCountersStat
plugins/inputs/system/ps.go:23: undefined: "github.com/shirou/gopsutil/net".ConnectionStat
make: *** [build-windows] Error 2
Use case:
To be able to monitor old windows machines.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugunexpected problem or unintended behaviorunexpected problem or unintended behaviorplatform/windows