telegraf/internal
Cameron Sparr 3f807a9432 Implement timeouts for all exec command runners
First is to write an internal CombinedOutput and Run function with a
timeout.

Second, the following instances of command runners need to have timeouts:

    plugins/inputs/ping/ping.go
    125:	out, err := c.CombinedOutput()

    plugins/inputs/exec/exec.go
    91:	if err := cmd.Run(); err != nil {

    plugins/inputs/ipmi_sensor/command.go
    31:	err := cmd.Run()

    plugins/inputs/sysstat/sysstat.go
    194:	out, err := cmd.CombinedOutput()

    plugins/inputs/leofs/leofs.go
    185:	defer cmd.Wait()

    plugins/inputs/sysstat/sysstat.go
    282:	if err := cmd.Wait(); err != nil {

closes #1067
2016-04-29 12:06:22 -06:00
..
buffer Performance refactor of running_output buffers 2016-04-27 13:40:05 -06:00
config Support default config paths 2016-04-28 17:48:24 -06:00
globpath Refactor globpath pkg to return a map 2016-04-24 14:37:44 -06:00
models Performance refactor of running_output buffers 2016-04-27 13:40:05 -06:00
internal.go Implement timeouts for all exec command runners 2016-04-29 12:06:22 -06:00
internal_test.go Implement timeouts for all exec command runners 2016-04-29 12:06:22 -06:00