telegraf/plugins/inputs
Soulou 92b01ab4f9
Fix how major and minor identifiers of block devices are read.
The current implementation assure that the major and the minor are
coded on one byte. But they are not:

```
brw-rw----  1 root disk    252, 290 Feb 25 11:36 dm-290
```

290 as minor in this example is over 1 byte.

So after wondering why all my devices iops weren't correctly stored,
I found out that several points were added for some disks. For `dm-290`
it was overriding `252:34`, instead of getting udev stats for `252:290`.

The solution is here:
https://sites.uclouvain.be/SystInfo/usr/include/sys/sysmacros.h.html

The implementation is directly taken from this, fixing my bug.
2019-03-11 01:31:30 +01:00
..
activemq
aerospike
all
amqp_consumer
apache
aurora
bcache
beanstalkd
bond
burrow
cassandra
ceph
cgroup
chrony Enable chrony for all platforms (#3152) 2017-08-22 11:49:51 -07:00
cloud_pubsub Add Base64-encoding/decoding for Google Cloud PubSub plugins (#5543) 2019-03-06 17:34:47 -08:00
cloud_pubsub_push
cloudwatch Enable gofmt code simplification (#4887) 2018-10-19 13:32:54 -07:00
conntrack Use random name for test sockets to avoid intermittent failure 2018-06-03 20:19:39 -07:00
consul
couchbase
couchdb
cpu
dcos Enable gofmt code simplification (#4887) 2018-10-19 13:32:54 -07:00
disk
diskio Fix how major and minor identifiers of block devices are read. 2019-03-11 01:31:30 +01:00
disque
dmcache
dns_query Add rcode tag and field to dns_query input (#5417) 2019-02-12 17:57:20 -08:00
docker Fix panic in docker input with bad endpoint (#5226) 2019-01-03 15:57:39 -08:00
dovecot
elasticsearch
exec
fail2ban Update sudo config recommendation (#5337) 2019-01-24 10:54:25 -08:00
fibaro
file
filecount
filestat
fluentd
graylog Fix typo in graylog documentation (#5253) 2019-01-07 11:05:22 -08:00
haproxy Use gofmt from Go 1.11 (#5259) 2019-01-07 17:14:07 -08:00
hddtemp
http Add support for sending a request body to http input (#5074) 2018-12-11 19:12:00 -08:00
http_listener_v2
http_response
httpjson
icinga2
influxdb
influxdb_listener
internal Remove outputs blocking inputs when output is slow (#4938) 2018-11-05 13:34:28 -08:00
interrupts
ipmi_sensor Handle panic when ipmi_sensor input gets bad input (#4937) 2018-10-30 15:05:41 -06:00
ipset
iptables
ipvs
jenkins
jolokia
jolokia2 Improve docs to clarify common issues (#5054) 2018-12-10 16:14:20 -08:00
jti_openconfig_telemetry
kafka_consumer
kafka_consumer_legacy
kapacitor Simplify testing with TLS (#4095) 2018-05-04 16:33:23 -07:00
kernel
kernel_vmstat
kibana Add Kibana input plugin (#4585) 2018-08-24 14:58:41 -07:00
kinesis_consumer
kube_inventory Note how to use all namespaces in kube_inventory (#5416) 2019-02-12 11:36:22 -08:00
kubernetes Support passing bearer token directly in k8s input (#5295) 2019-01-15 15:26:18 -08:00
leofs
linux_sysctl_fs Moved system package inputs out to top level (#4406) 2018-07-11 16:43:49 -07:00
logparser Add unique_timestamp option from grok parser to logparser grok 2019-02-26 18:05:04 -08:00
lustre2
mailchimp
mcrouter Add input plugin for McRouter (#4077) 2018-05-01 11:58:15 -07:00
mem
memcached Collect additional stats in memcached input (#4914) 2018-10-24 15:02:44 -07:00
mesos Enable gofmt code simplification (#4887) 2018-10-19 13:32:54 -07:00
minecraft
mongodb
mqtt_consumer
multifile
mysql
nats Do not build nats input on freebsd 2018-01-30 12:04:21 -08:00
nats_consumer
neptune_apex
net Enable gofmt code simplification (#4887) 2018-10-19 13:32:54 -07:00
net_response Fix incorrect option in net_response sample config 2019-03-08 14:10:55 -08:00
nginx
nginx_plus
nginx_plus_api Use gofmt from Go 1.11 (#5259) 2019-01-07 17:14:07 -08:00
nginx_upstream_check Add nginx_upstream_check input plugin (#4303) 2019-01-15 12:56:40 -08:00
nginx_vts
nsq
nsq_consumer
nstat Remove error log when snmp6 directory does not exists with nstat input (#5403) (#5413) 2019-02-12 16:17:09 -08:00
ntpq
nvidia_smi
openldap
opensmtpd
passenger
pf
pgbouncer
phpfpm
ping
postfix Fix postfix input handling of multi-level queues (#4333) 2018-06-21 16:01:38 -07:00
postgresql
postgresql_extensible
powerdns Fix powerdns input test (#4554) 2018-08-14 14:35:39 -06:00
processes
procstat
prometheus
puppetagent Fix telegraf example arguments (#2788) 2017-05-12 15:22:29 -07:00
rabbitmq
raindrops Fix telegraf example arguments (#2788) 2017-05-12 15:22:29 -07:00
redis
rethinkdb
riak
salesforce
sensors
smart Update sudo config recommendation (#5337) 2019-01-24 10:54:25 -08:00
snmp
snmp_legacy
socket_listener Return any errors when creating tls config (#5541) 2019-03-06 17:37:44 -08:00
solr Add support for solr 7 to the solr input (#4271) 2018-06-12 13:56:13 -07:00
sqlserver Disable results by row in azuredb query (#5467) 2019-02-25 10:54:19 -08:00
stackdriver
statsd
swap
syslog Return new Syslog instance for each plugin (#5372) 2019-02-04 11:21:16 -08:00
sysstat Add parameter to force the interval of gather for sysstat (#4068) 2018-04-25 18:59:42 -07:00
system Add temp input plugin (#4411) 2018-09-10 11:52:15 -07:00
tail Use godirwalk in globpath (#5145) 2018-12-18 14:23:25 -08:00
tcp_listener
teamspeak
temp Clarify platform support for temp input (#4756) 2018-09-26 19:05:55 -07:00
tengine Update tengine docs 2018-06-07 12:35:46 -07:00
tomcat
trig
twemproxy
udp_listener
unbound
varnish
vsphere Add resource path based filtering to vsphere input (#5165) 2019-02-12 14:05:14 -08:00
webhooks
win_perf_counters Add PDH_NO_DATA to known counter error codes in win_perf_counters (#5182) 2018-12-26 14:51:31 -08:00
win_services
wireless
x509_cert
zfs
zipkin Enable gofmt code simplification (#4887) 2018-10-19 13:32:54 -07:00
zookeeper
EXAMPLE_README.md
mock_Plugin.go
registry.go