telegraf/plugins/inputs
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
..
aerospike Seems to be a toml parse bug around triple pounds 2016-02-18 14:36:03 -07:00
all Tail input plugin 2016-04-26 09:42:06 -06:00
apache Improve timeout in input plugins 2016-03-01 09:43:28 +00:00
bcache Seems to be a toml parse bug around triple pounds 2016-02-18 14:36:03 -07:00
cassandra Cassandra: update plugin supported prefix & fix panic 2016-04-27 15:23:05 -06:00
cloudwatch Closes #1085 - allow for specifying AWS credentials in config. 2016-04-26 17:24:05 -06:00
couchbase Update gopsutil dependency 2016-03-22 09:13:31 -06:00
couchdb Improve timeout in input plugins 2016-03-01 09:43:28 +00:00
disque Don't allow inputs to overwrite host tag 2016-04-19 17:44:33 -06:00
dns_query skip network-dependent unit tests in short mode 2016-04-28 14:44:08 -06:00
docker Fixup docker blkio container name & docker doc 2016-04-18 16:20:46 -06:00
dovecot dovecot: enabled global, user and ip queries 2016-04-08 11:56:08 -06:00
elasticsearch Fix test 2016-03-01 09:44:52 +00:00
exec Implement timeouts for all exec command runners 2016-04-29 12:06:22 -06:00
filestat Tail input plugin 2016-04-26 09:42:06 -06:00
github_webhooks github wh: return from eventHandler when err != nil 2016-03-14 10:34:58 +00:00
haproxy Improve timeout in input plugins 2016-03-01 09:43:28 +00:00
http_response cleanup & comment http_response def config 2016-04-07 10:37:52 -06:00
httpjson Fix httpjson README 2016-03-31 20:37:04 -06:00
influxdb Add memstats to the influxdb input plugin 2016-04-12 10:13:11 -06:00
ipmi_sensor Implement timeouts for all exec command runners 2016-04-29 12:06:22 -06:00
jolokia Change server_ -> jolokia_ in tags and other formatting 2016-04-27 16:00:58 -06:00
kafka_consumer Update all readme instances of data formats 2016-04-05 14:42:20 -06:00
leofs Implement timeouts for all exec command runners 2016-04-29 12:06:22 -06:00
lustre2 Adding Jobstats support to Lustre2 input plugin 2016-04-27 15:35:24 -06:00
mailchimp Improve timeout in input plugins 2016-03-01 09:43:28 +00:00
memcached memcached unix socket: fix panic. Do not recreate conn inside if 2016-03-22 15:12:35 -06:00
mesos Cleanup & standardize config file 2016-04-01 10:59:53 -06:00
mongodb Adding replication lag metric 2016-04-22 11:07:32 -06:00
mqtt_consumer Better logging for MQTT consumer 2016-04-18 11:27:50 -06:00
mysql updated README for mysql input plugin 2016-04-18 17:21:25 -06:00
nats_consumer Update all readme instances of data formats 2016-04-05 14:42:20 -06:00
net_response Fix #828 2016-03-11 12:21:29 +01:00
nginx Add writing in documentation. 2016-04-01 11:46:32 -06:00
nsq Improve timeout in input plugins 2016-03-01 09:43:28 +00:00
ntpq Input plugin for running ntp queries 2016-03-14 16:53:37 +00:00
passenger Seems to be a toml parse bug around triple pounds 2016-02-18 14:36:03 -07:00
phpfpm Fix leaky tcp connections in phpfpm plugin 2016-04-26 09:24:32 -06:00
ping Implement timeouts for all exec command runners 2016-04-29 12:06:22 -06:00
postgresql Cleanup & standardize config file 2016-04-01 10:59:53 -06:00
postgresql_extensible postgresql_extensible: custom address in metrics output 2016-04-25 16:33:35 -06:00
powerdns Seems to be a toml parse bug around triple pounds 2016-02-18 14:36:03 -07:00
procstat procstat: field prefix fixup 2016-04-25 20:10:34 -06:00
prometheus Change prometheus doc to glob match 2016-04-19 14:46:37 -06:00
puppetagent Seems to be a toml parse bug around triple pounds 2016-02-18 14:36:03 -07:00
rabbitmq Improve timeout in input plugins 2016-03-01 09:43:28 +00:00
raindrops Improve timeout in input plugins 2016-03-01 09:43:28 +00:00
redis Update README.md 2016-04-02 10:13:21 +05:30
rethinkdb Don't allow inputs to overwrite host tag 2016-04-19 17:44:33 -06:00
riak Improve timeout in input plugins 2016-03-01 09:43:28 +00:00
sensors Fix sensor plugin, was splitting on ":" incorrectly 2016-02-26 15:21:05 +00:00
snmp Possible bug fix for oid_key collision 2016-04-19 17:00:04 -06:00
sqlserver Fix datatype conversion 2016-04-23 09:14:04 +02:00
statsd README fixups for udp_listener, statsd inputs 2016-04-28 13:11:41 -06:00
sysstat Implement timeouts for all exec command runners 2016-04-29 12:06:22 -06:00
system Add n_cpu field to system plugin 2016-04-20 18:22:04 -06:00
tail Tail unit tests and README tweaks 2016-04-26 10:43:41 -06:00
tcp_listener README fixups for udp_listener, statsd inputs 2016-04-28 13:11:41 -06:00
trig Seems to be a toml parse bug around triple pounds 2016-02-18 14:36:03 -07:00
twemproxy Seems to be a toml parse bug around triple pounds 2016-02-18 14:36:03 -07:00
udp_listener README fixups for udp_listener, statsd inputs 2016-04-28 13:11:41 -06:00
win_perf_counters Sanitize Field name 2016-04-28 12:21:28 -06:00
zfs Update gopsutil dependency 2016-03-22 09:13:31 -06:00
zookeeper Improve timeout in input plugins 2016-03-01 09:43:28 +00:00
EXAMPLE_README.md Input plugin for running ntp queries 2016-03-14 16:53:37 +00:00
mock_Plugin.go Create public models for telegraf metrics, accumlator, plugins 2016-01-27 15:42:50 -07:00
registry.go Create public models for telegraf metrics, accumlator, plugins 2016-01-27 15:42:50 -07:00