Commit Graph

1753 Commits

Author SHA1 Message Date
Jesse Hanley 17a79e2d6f Allow jobs with dashes in the name in lustre2 input (#6313) 2019-08-26 19:03:35 -07:00
Daniel Nelson e7b783d397
Remove leading slash from rcon commands (#6315)
This is required when using the Spigot Minecraft server and compatible
with the vanilla server.
2019-08-26 16:16:44 -07:00
Daniel Nelson 628edfa9b4
Add support for parked process state on Linux (#6308) 2019-08-26 16:05:56 -07:00
Daniel Nelson 718f60bb4a
Add table name to jenkins example configuration 2019-08-23 21:58:18 -07:00
Pontus Rydin d52c733c3b Add supported versions to vsphere README (#6312) 2019-08-23 21:55:56 -07:00
Daniel Nelson 66d6b1f1d3
Split out -w argument in iptables input (#6304) 2019-08-22 20:00:48 -07:00
Craig Hobbs f0c26dbd99 Add Marklogic Input Plugin (#6193) 2019-08-21 18:21:59 -07:00
Daniel Nelson 40bbd805b6
Add TLS support to nginx_plus, nginx_plus_api and nginx_vts (#6300) 2019-08-21 18:04:51 -07:00
Daniel Nelson 8b938f3bd4
Make review changes to logstash input (#6299) 2019-08-21 18:04:30 -07:00
Greg 5c8d0e3ac9 Add ability to label inputs for logging (#6207) 2019-08-21 16:49:07 -07:00
Greg bc52592c87 Document additional collected Kubernetes resources (#6297) 2019-08-21 16:39:57 -07:00
Dmitry Ilyin 02174031c8 Add logstash input plugin (#4910) 2019-08-21 16:34:28 -07:00
Daniel Nelson 8c2b3addd3
Fix parsing multiple metrics on the first line of tailed file (#6289) 2019-08-21 16:30:55 -07:00
Daniel Nelson ac66838f9f
Update win_perf_counters sample config (#6286)
Remove extra percent from win_perf_counters sample config and have it
mirror the config provided in the Windows package.
2019-08-20 17:12:21 -07:00
Greg d3cf7d669b Add apcupsd input plugin (#6226) 2019-08-20 17:10:25 -07:00
Daniel Nelson 1ad10c8a52
Update changelog and tidy openntpd input 2019-08-20 15:29:31 -07:00
aromeyer 153dd585af Add openntpd input plugin (#3627) 2019-08-20 15:14:11 -07:00
Scott Anderson 7bbed9e2a3 Update logparser readme requirement to collect at least one field (#6288) 2019-08-20 14:44:16 -07:00
Daniel Nelson edb05b58a0
Add multiple repository example to github input readme 2019-08-19 19:08:38 -07:00
Daniel Nelson 92385a4630
Add topic_tag option to mqtt_consumer (#6266) 2019-08-19 19:05:22 -07:00
Pontus Rydin 8b2374143d Fix finder inconsistencies in vsphere input (#6245) 2019-08-19 18:17:27 -07:00
Daniel Nelson ef14131f1c
Alternate markdown list symbol 2019-08-19 18:09:21 -07:00
Russ Savage bdf08d9cf7 Add readme for rethinkdb input (#6211) 2019-08-19 18:08:46 -07:00
Russ Savage 065b92d490 Add readme for mailchimp input (#6210) 2019-08-19 17:55:35 -07:00
Adam Flott 96fa7fa6d2 Add cmdstat metrics to redis input (#5926) 2019-08-16 15:46:48 -07:00
Pavel Frolov 50dc8d5659 Add content_length metric to http_response input plugin (#6261) 2019-08-16 15:45:20 -07:00
Randy Coburn beb788bfc6 Add database_tag option to influxdb_listener to add database from query string (#6257) 2019-08-16 15:05:08 -07:00
Daniel Nelson 5e06e56785
Fix persistent session in mqtt_consumer (#6236) 2019-08-14 17:05:34 -07:00
Pontus Rydin 2755595019 Add support for custom attributes to vsphere input (#5971) 2019-08-14 17:03:33 -07:00
Daniel Nelson 5e0c63f2e6
Fix and improve error handling in mongodb collection stats (#6230) 2019-08-14 16:59:02 -07:00
Daniel Nelson 4ab29817a4
Add troubleshooting section to nvidia_smi input 2019-08-14 16:56:45 -07:00
Matthew Crenshaw e36639b15d Add memory_usage field to procstat input plugin (#6249) 2019-08-14 10:17:38 -07:00
Marc Venturini 5473872ac1 Add configurable timeout setting to smart input (#6241) 2019-08-13 10:24:44 -07:00
Branden Rolston f5a4d72382 Collect framework_offers and allocator metrics in mesos input (#5719) 2019-08-09 17:27:59 -07:00
Daniel Nelson 23cd2f058c
Document permission setup for powerdns_recursor (#6231) 2019-08-09 13:56:14 -07:00
Adrián López eb8959272d Add telegraf and go version to the internal input plugin (#6216) 2019-08-08 10:51:03 -07:00
Daniel Nelson 17465b0aaf
Skip mongodb collection on error 2019-08-08 10:43:51 -07:00
Daniel Nelson f88004c62b
Ignore context cancelled error in docker_log (#6221) 2019-08-07 13:50:21 -07:00
Adrián López a3a6752f04 Update the number of logical CPUs dynamically in system plugin (#6214) 2019-08-06 15:55:06 -07:00
Matthew Crenshaw 60c8f382be Fix reload panic in socket_listener input plugin (#6218) 2019-08-06 11:29:29 -07:00
Marc Venturini 1c1c41c300 Add device tags to smart_attributes (#6201) 2019-08-05 17:36:34 -07:00
Rob Cowart 6ecfd01f9b Correct typo in kubernetes logsfs_available_bytes field (#6200) 2019-08-05 14:04:41 -07:00
Russ Savage 374aa0b36b Add README for disque input (#6208) 2019-08-05 13:58:35 -07:00
Russ Savage 7e793e87e3 Clean up cassandra input README (#6206) 2019-08-05 13:57:15 -07:00
Daniel Nelson f2503722a0
Fix link in rabbitmq README 2019-08-05 13:56:03 -07:00
Daniel Nelson ffe9494663
Restore secure option to control tls in nats_consumer 2019-08-02 14:59:28 -07:00
Mike Melnyk 0732b41b4b Add TLS & credentials configuration for nats_consumer input plugin (#6195) 2019-08-02 13:10:14 -07:00
shane 3c811c15b3 Add support for enterprise repos to github plugin (#6194) 2019-08-02 13:05:46 -07:00
dupondje 78d3b86581 Add Indices stats to elasticsearch input (#6060) 2019-08-02 12:42:25 -07:00
Daniel Nelson 364bf38b4a
Update fail2ban readme 2019-08-02 12:35:43 -07:00
Russ Savage 1557e9094d Update smart input docs for attributes clarity (#6192) 2019-08-02 10:48:40 -07:00
Greg 004b2cf578 Add intermediates when verifying cert in x509 input (#6159) 2019-07-31 16:59:54 -07:00
Thierry Sallé ef9a1c0d5b Gather per collections stats in mongodb input plugin (#6137) 2019-07-30 21:36:19 -07:00
Daniel Nelson 9bdb3992d5
Require Kafka 0.10.2.0 or later in kafka_consumer (#6181) 2019-07-30 21:33:29 -07:00
Greg 51c1659de8 Add uWSGI input plugin (#6179) 2019-07-30 16:31:03 -07:00
Daniel Nelson aea09b3a20
Use sarama built in support for consumer groups (#6172) 2019-07-29 20:41:12 -07:00
Greg 4d73290e13 Update links in fluentd input readme (#6175) 2019-07-26 15:01:17 -07:00
Daniel Nelson 4f115437e6
Use Go style conventions for variable name 2019-07-24 14:04:51 -07:00
Mika Eloranta 417740738d Support percentage value parsing in redis input (#6163) 2019-07-24 13:52:44 -07:00
Greg 4e59d51844 Add networks, subscribers, and watchers to github input (#6161) 2019-07-23 16:04:51 -07:00
George eb0f493998 Add Start() function to DockerLogs input plugin (#6157) 2019-07-23 16:00:07 -07:00
Greg afe86c0f46 Avoid panic in github input (#6152) 2019-07-22 16:30:53 -07:00
Greg 3e50db904a Add certificate verification status to x509_cert input (#6143) 2019-07-22 16:10:40 -07:00
Daniel Nelson 92cabcd323
Add fireboard to top level README 2019-07-22 15:37:52 -07:00
Lance O'Connor e098758d78 Add Fireboard Input Plugin (#6052) 2019-07-22 15:11:34 -07:00
denzilribeiro 109d1e1e15 Add support for collecting SQL Requests to identify waits and blocking (#6144) 2019-07-22 15:04:15 -07:00
Greg 6f2e57ad64 Update paho.mqtt.golang (#6149) 2019-07-22 14:14:23 -07:00
Greg 877c42362d Collect k8s endpoints, ingress, and services in kube_inventory plugin (#6105) 2019-07-19 13:18:50 -07:00
George 56c6539a91
Fix lustre2 input plugin config parse regression (#6114) 2019-07-18 15:40:05 +02:00
Daniel Nelson a07f29c02f
Add missing rcode and zonestat to bind input (#6123) 2019-07-17 14:31:57 -07:00
Cristofer Gonzales b15fe4a28e Initialize accumulator in statsd during Start (#6121) 2019-07-15 18:23:56 -07:00
kden416 169fd64788 Add list of possible container states to docker docs (#6099) 2019-07-15 17:10:42 -07:00
Greg 66beeb6523 Add basic auth support to elasticsearch input (#6122) 2019-07-15 16:41:29 -07:00
denzilribeiro 329179c0ff Fix sql_instance tag with sqlserver managed instance (#6116) 2019-07-15 11:46:52 -07:00
George 3f424b88c9
Add docker_devicemapper measurement to docker input plugin (#6084) 2019-07-15 10:24:47 +01:00
George 43c16aa898 Add extra attributes for NVMe devices to smart input (#6079) 2019-07-12 14:25:45 -07:00
denzilribeiro 149be55c64 Add improved support for Azure SQL Database (#6111) 2019-07-12 11:37:00 -07:00
Matthew Crenshaw 981dd5bfc0 Resume from last known offset when reloading in tail input (#6074) 2019-07-11 17:39:59 -07:00
Greg ea6b398fa3 Add native Go ping method to ping input plugin (#6050) 2019-07-11 15:07:58 -07:00
Pitxyoki 72c2ac9648 Support floats in statsd percentiles (#5572) 2019-07-09 16:50:20 -07:00
Aaron Wood aa07b95e00 Handle unknown error in nvidia-smi output (#6073) 2019-07-09 15:45:02 -07:00
Pontus Rydin 10c31ca209 Fix reconnection when vCenter is rebooted (#6085) 2019-07-09 15:25:53 -07:00
Daniel Nelson 130c5c5f12
Fix https support in activemq input (#6092) 2019-07-09 10:40:14 -07:00
Daniel Nelson 601f499126
Remove tail cleanup call to avoid double decrement (#6089) 2019-07-08 14:48:47 -07:00
Daniel Nelson 5dea2175d2
Fix panic with empty datadog tag string (#6088) 2019-07-08 14:44:36 -07:00
Alvaro Olmedo Rodriguez 04937d0498 Apply topic filter to partitions metrics in burrow input (#6070) 2019-07-05 12:03:52 -07:00
Daniel Nelson ad5d5844c7
Use int64 for fields in bind plugin (#6063) 2019-07-03 16:28:11 -07:00
dupondje 9af39bbb7d Add node roles tag to elasticsearch input (#6064) 2019-07-03 13:04:07 -07:00
Greg f7e85ebac2 Add basic auth to prometheus input plugin (#6062) 2019-07-02 11:14:48 -07:00
David Wahlund 234a946093 Fix source address ping flag on BSD (#6056) 2019-07-01 15:14:03 -07:00
Daniel Nelson fae63ed297
Clarify that cisco mdt telemetry tcp transport does not support TLS 2019-07-01 12:14:30 -07:00
Daniel Nelson 123e29c1f4
Update elasticsearch input README 2019-06-25 17:28:47 -07:00
dupondje 83c8d7be2a Fix master check and move cluster health indices to separate measurement (#6004) 2019-06-25 16:16:15 -07:00
John Seekins cb261be903 Fix typo in cassandra jolokia example config (#6044) 2019-06-25 12:06:27 -07:00
Daniel Nelson a231b3e79d
Fix parsing of remote tcp address in statsd input (#6031) 2019-06-25 12:04:39 -07:00
Daniel Nelson e8a596858c
Add device, serial_no, and wwn tags to synthetic attributes (#6040) 2019-06-25 11:51:51 -07:00
Tim Ehlers a5c94db625 Ignore error when utmp is missing (#5742) 2019-06-24 18:48:07 -07:00
Nic Grobler bd9ddd8cb1 Fix filecount plugin size tests (#6038) 2019-06-24 11:03:05 -07:00
Daniel Nelson aa84011dc3
Remove flaky test for udp_listener 2019-06-21 18:39:00 -07:00
Daniel Nelson f405bca034
Fix docker input unit tests 2019-06-21 14:45:56 -07:00
Daniel Nelson 1dc3028237
Add struct tags for jti_openconfig_telemetry plugin 2019-06-21 12:29:34 -07:00
Mike Moein 131f85db73 Add TLS mutual auth supoort to jti_openconfig_telemetry plugin (#6027) 2019-06-21 12:25:45 -07:00
masuyama-ascade e6d71bdb65 Add container_id field to docker_container_status metrics (#6019) 2019-06-21 12:20:35 -07:00
Daniel Nelson 587dd149f3
Add troubleshooting section to smart input docs 2019-06-21 12:14:14 -07:00
Daniel Nelson 6738d566dd
Update permission configuration example in postfix input 2019-06-21 11:57:08 -07:00
Daniel Nelson a0c739eec7
Follow up work on docker_log input (#6008) 2019-06-20 11:54:12 -07:00
Daniel Nelson 29c3d42e7e
Fix double pct replacement in sysstat input (#6001) 2019-06-20 11:52:41 -07:00
Daniel Nelson 049d364917
Fix panic if pool_mode column does not exist (#6000) 2019-06-20 11:51:41 -07:00
Chris Goller 80089c7caf Add better user-facing errors for API timeouts (#6016) 2019-06-19 18:02:51 -07:00
George c52e7d88d7 Add container uptime_ns in docker input plugin (#5996) 2019-06-19 15:37:10 -07:00
Chris Goller 104db7c503 Skip 404 error reporting in nginx_plus_api input (#6015) 2019-06-19 14:28:00 -07:00
George 8d04cb76fd Add support for interface field in http_response input plugin (#6006) 2019-06-19 13:40:53 -07:00
prashanthjbabu f8bef14860 Add docker log plugin (#4773) 2019-06-18 15:56:55 -07:00
Daniel Nelson 9f3c1c6ec7
Fix http_listener_v2 tests 2019-06-17 16:20:09 -07:00
Daniel Nelson 9b338410cb
Rename formdata parser to form_urlencoded 2019-06-17 14:50:58 -07:00
Boris Yonchev fd9abd2166 Add formdata parser (#5749) 2019-06-17 13:34:54 -07:00
dupondje 1775e1cdc6 Add cluster name tag to elasticsearch indices (#5998) 2019-06-17 13:31:15 -07:00
dupondje 31291f5590 Add starttime to php-fpm metrics (#5997) 2019-06-17 12:55:09 -07:00
Daniel Nelson 0ff9c8ef88
Add call to optional Init function for all plugins (#5899) 2019-06-14 15:12:27 -07:00
Greg fec1b3ec19 Support array of addresses in http_response input (#5975) 2019-06-14 12:03:44 -07:00
José Moreno Hanshing cc2f3b29e1 Don't consider pid of 0 when using systemd lookup in procstat (#5972) 2019-06-14 12:00:14 -07:00
Steven Barth 4cfd70b6c0 Omit keys when creating measurement names for GNMI telemetry (#5986) 2019-06-14 11:29:06 -07:00
Marc Venturini 4b6e791908 Fix sensor read error stops reporting of all sensors in temp input (#5941) 2019-06-14 11:27:24 -07:00
guitoulefoux 4b5df84b3d Fix subtable name in jolokia java.conf (#5985) 2019-06-13 03:48:06 -07:00
Daniel Nelson 8a34d2b27d
Fix setting mount_points option in disk input (#5982) 2019-06-12 10:52:04 -07:00
Daniel Nelson 5de7bdf906
Fix race condition in cisco telemetry tests (#5979) 2019-06-12 10:11:23 -07:00
Oleg Kovalov eeb036911f Compile regexp once in zookeeper input (#5969) 2019-06-07 12:25:55 -07:00
Oleg Kovalov d31f1735d9 Use fmt.Errorf for creating error with formatting (#5968) 2019-06-07 12:24:26 -07:00
Daniel Nelson 7be74816a2
Add source tag to hddtemp plugin (#5955) 2019-06-05 12:47:17 -07:00
Daniel Nelson 8bc768b239
Make case insensitive container status comparison (#5954) 2019-06-05 03:00:59 -07:00
Daniel Nelson ba0b0c02f7
Fix race conditions in gnmi telemetry tests (#5953) 2019-06-04 23:00:24 -07:00
Daniel Nelson 476f7fb9c5
Update changelog 2019-06-04 15:04:14 -07:00
Steven Barth e18393fabf Add Cisco model-driven telemetry & GNMI inputs (#5852) 2019-06-04 14:39:46 -07:00
Greg 3c83a53d51 Remove verbose debug logs from smart input (#5948) 2019-06-03 11:31:20 -07:00
Daniel Nelson 0ca8ea1724
Don't overwrite forecast points (#5930) 2019-05-31 16:22:37 -07:00
Sebastien Leger 484122b7d4 Add open_weather_map input plugin (#5125) 2019-05-30 15:17:04 -07:00
Pontus Rydin fa492e0840 Fixed datastore name mapping in vsphere input (#5920) 2019-05-28 18:08:44 -07:00
Dmitry Ilyin eb225b818f Fix toml option name in nginx_upstream_check (#5917) 2019-05-28 12:54:25 -07:00
Daniel Nelson 980b174687
Tidy ECS readme and make review changes 2019-05-26 20:05:16 -07:00
Evan Baker dfb83778ea Add ecs/fargate input plugin (#5121) 2019-05-26 20:01:02 -07:00
Aaron Wood 77659f33bc Extend metrics collected from Nvidia GPUs (#5885) 2019-05-26 19:02:09 -07:00
dupondje 43c3ceec96 Fix setfacl command in postfix docs (#5875) 2019-05-25 00:33:22 -07:00
Arno den Uijl adc32002da Fix sqlserver connection closing on error (#5897) 2019-05-22 13:13:19 -07:00
Max Renaud 0535dc92ed Omit power_failed and power_restored when the Apex provides invalid timestamps (#5896) 2019-05-22 10:33:08 -07:00
Daniel Nelson e141518cf0
Support passive queue declaration in amqp_consumer (#5831) 2019-05-20 14:38:35 -07:00
Daniel Nelson b5cd9a9ff2
Add support for gzip compression to amqp plugins (#5830) 2019-05-20 14:36:23 -07:00
Daniel Nelson 9cdf1ea56e
Log actual url on wrong status code (#5811) 2019-05-20 14:30:31 -07:00
urusha dc75f7bd32 Add postgresql dsn connection string example (#5869) 2019-05-17 13:27:11 -07:00
Jon McKenzie 633a468ff9 Improve Docker image identifier parsing (#5838) 2019-05-17 11:02:22 -07:00
omgold 12831f43d4 Allow devices option to match against devlinks (#5817) 2019-05-15 12:21:55 -07:00
Jorge Landivar 8f3ed45797 Add support for datadog events to statsd input (#5791) 2019-05-14 16:20:35 -07:00
Greg 2d44a88b19 Restore field name case in interrupts input (#5850) 2019-05-14 11:56:19 -07:00
frizner 9b3523a91b Add support for HTTP basic auth to solr input (#5832) 2019-05-10 16:20:37 -07:00
Daniel Nelson a0a9da371e
Reformat syslog output documentation 2019-05-08 11:39:03 -07:00
javicrespo 761705c299 Add syslog output plugin (#5802) 2019-05-08 11:21:51 -07:00
Alirie Gray b22bf01fdf Add support for hex values to ipmi_sensor input (#5816) 2019-05-07 15:42:44 -07:00
Greg 0d66ed70f8 Update smart input plugin to support more drive types (#5765) 2019-05-07 15:20:03 -07:00
Daniel Nelson 3011a009e5
Skip lines with missing refid in ntpq input (#5782) 2019-05-07 14:54:43 -07:00
Daniel Nelson 61c2cc97a2
Set default timeout of 5s in fibaro input (#5813) 2019-05-07 14:15:30 -07:00
Pontus Rydin aac4c29dc6 Fix interval estimation in vsphere input (#5726) 2019-05-07 11:52:24 -07:00
Daniel Nelson c2643d5f7e
Add README for lustre2 input plugin 2019-05-06 17:31:08 -07:00
frroberts 8abf8c10a7 Fix only one job per storage target reported in lustre2 input (#5771) 2019-05-06 16:57:01 -07:00
matthewwiesen 1e1fa1a580 Add iso9660 to telegraf disk input ignore_fs (#5800) 2019-05-06 13:06:22 -07:00
Alberto del Barrio bae7f59bbf Fix syntax error in cloudwatch sample config (#5797) 2019-05-03 10:05:06 -07:00
Greg 2e6701b44e Update cloudwatch input readme with getMetricData command (#5786) 2019-05-01 13:09:32 -07:00
Ferdi cb4387df3f Verify a process passed by pid_file exists (#5768) 2019-04-29 15:32:10 -07:00
Daniel Nelson 66153625fb
Set socket permissions for unix domain sockets (#5760) 2019-04-25 20:06:39 -07:00
Matthew Crenshaw 9c3af1e6ac Add pagefault data to procstat input plugin (#5769) 2019-04-25 17:21:02 -07:00
Daniel Nelson f5b44fd0bd
Wait for server socket to close in pdns_recursor test 2019-04-24 13:51:21 -07:00
dupondje a0202744cf Add PowerDNS Recursor input plugin (#4545) 2019-04-23 16:34:52 -07:00
Daniel Nelson 3c57dafece
Support Minecraft server 1.13 and newer (#5733) 2019-04-23 11:14:35 -07:00
Łukasz Oleś 01eecee8cf Speed up interface stats in net input (#5757) 2019-04-23 11:13:14 -07:00
Greg e334830458 Collect cloudwatch stats using GetMetricData (#5544) 2019-04-22 17:36:46 -07:00
Daniel Nelson 2faf37e5c1
Fix docs for metric buffer limit to reflect current behavior (#5741) 2019-04-17 15:46:20 -07:00
Greg 72695228b3 Enhance HTTP connection options for phpfpm input plugin (#5713) 2019-04-16 17:56:56 -07:00
Greg 776e06c769 Support verbose query param in ping endpoint of influxdb_listener (#5704) 2019-04-11 13:15:38 -07:00
scottprichard d2666d0db6 Add cmdline tag to procstat input (#5681) 2019-04-10 18:42:38 -07:00
Daniel Nelson 9ea7cdd319
Deprecate uptime_format field in system input (#5708) 2019-04-10 17:19:29 -07:00
Benjamin Fuller b2baa2fdd5 Add optional namespace restriction to prometheus input plugin (#5697) 2019-04-10 14:52:46 -07:00
Daniel Nelson 90593a07b8
Clarify supported ping utils 2019-04-08 15:42:28 -07:00
Daniel Fenert a61cb4dca5 Add bind input plugin (#5653) 2019-04-03 15:59:47 -07:00
Daniel Nelson 1bcbc3eea7
Update docs and changelog for github input 2019-04-02 16:27:45 -07:00
David McKay 0a68c8468b Add github input plugin (#5587) 2019-04-02 16:06:15 -07:00
liispon 3b80d8a7fd Use github.com/ghodss/yaml to parse k8s config (#5643) 2019-04-02 11:04:37 -07:00
Daniel Nelson 5f74c0da0d
Fix basedir check and parent dir extraction in filecount input (#5630) 2019-03-26 18:12:40 -07:00
Daniel Nelson 22ab649261
Listen before leaving start in statsd (#5628) 2019-03-26 18:11:56 -07:00
scier 60027cf902 Add support for multiple line text and perfdata to nagios parser (#5601) 2019-03-25 16:24:42 -07:00
Daniel Nelson 9ba023fd67
[inputs/diskio] Fix how major and minor identifiers of block devices are read. (#5566)
* 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.

* Use unix.Major/unix.Minor instead of custom implementation

* [diskio] Force type of stat.Rdev uint64 for mipsle compatibility

For most platforms, stat.Rdev is already a uint64 so this is without any effect
for linux,mipsle, unix.Stat_t.Rdev is a uint32, but the way to compute major and minor doesn't change, casting the uint32 has no impact either
2019-03-22 14:03:48 -07:00
Soulou 205de66dd6
[diskio] Force type of stat.Rdev uint64 for mipsle compatibility
For most platforms, stat.Rdev is already a uint64 so this is without any effect
for linux,mipsle, unix.Stat_t.Rdev is a uint32, but the way to compute major and minor doesn't change, casting the uint32 has no impact either
2019-03-21 12:00:20 +01:00
Greg 3b1ab6f362 Don't add empty healthcheck tags to consul input (#5575) 2019-03-19 13:39:42 -07:00
Greg 6a97b259eb Minimize call to collect uptime in system input (#5592) 2019-03-18 11:07:44 -07:00
Soulou 2118fbe78a
Use unix.Major/unix.Minor instead of custom implementation 2019-03-15 14:36:56 +01:00
Daniel Nelson c61c48e10b
Remove trailing whitespace and wordwrap readme in vsphere 2019-03-11 12:31:48 -07:00
Daniel Nelson 9db15651ea
Fix ClusterRole aggregation documentation in kube_inventory 2019-03-11 12:00:20 -07:00
Daniel Nelson f298f87f0c
Update changelog; vsphere readme 2019-03-11 11:55:20 -07:00
Pontus Rydin 19988a94de Add use_int_samples option for backwards compatibility (#5563) 2019-03-11 11:16:32 -07:00
Pontus Rydin 1752619e35 Remove calls to destroy on ViewManager (#5557) 2019-03-11 11:08:53 -07:00
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
Dheeraj Dwivedi 80155029c4 Add TTL field to ping input (#5556) 2019-03-08 14:30:38 -08:00
Daniel Nelson 7da57fe5f5
Fix incorrect option in net_response sample config 2019-03-08 14:10:55 -08:00