Commit Graph

2213 Commits

Author SHA1 Message Date
Mya 28fbdd8fba
Use gosmi for SNMP traps (#9343)
Use gosmi for snmp_trap plugin

Co-authored-by: Logan McNaughton <logan@bacoosta.com>
Co-authored-by: reimda <reimda@users.noreply.github.com>
2021-06-16 10:20:33 -06:00
Sven Rebhan ee0a86c4ae
Fix import of sqlite and ignore it on all platforms that require CGO. (#9359) 2021-06-15 16:46:53 -06:00
Alexander Krantz d7afebf7e6
Fix connecting to the wrong url (#9329) 2021-06-15 16:04:22 -05:00
Sven Rebhan 908ad2f6ce
Generic SQL input (#8735) 2021-06-15 13:10:52 -06:00
Vyacheslav Stepanov 905b22cac9
Closing all idle connections in docker input plugin (#9243)
This prevents error "too many open files" in most cases
2021-06-14 23:23:39 -05:00
Sebastian Spaink 1d4b8d62f5
Support new Suricata JSON format which includes arrays and strings (#9338) 2021-06-14 10:07:36 -05:00
Mya Longmire f6a9d104f8
Feature powermode smartctl (#9306)
Co-authored-by: Steven Soroka <ssoroka@influxdata.com>
2021-06-10 15:51:33 -05:00
Pascal Zimmermann 3ad40df311
Update pgx to v4 (#9182) 2021-06-02 21:28:16 -06:00
Sven Rebhan 2e7b232073
Modbus refactor (#9141) 2021-05-27 16:58:46 -04:00
Russ Savage 467ab87912
chore: update prometheus input readme to match config options (#9270) 2021-05-25 15:11:14 -06:00
Samantha Wang 8eec159871 update HTTP v2 listener readme (#9250) 2021-05-20 16:48:12 -06:00
Chris Dagenais 60bb676730
vSphere input: need to be able to configure the historical interval duration (#9276) 2021-05-20 13:50:40 -07:00
Victor Marinsky 0e55eedd7e
Improve eventhub_consumer input documentation (#8731) 2021-05-20 16:37:01 -04:00
Rajiv Kushwaha 8c73370e50
inputs.ping: Add an option to specify packet size (#9274) 2021-05-20 14:21:20 -05:00
Russ Savage e8ae01921b
Set user agent when scraping prom metrics (#9271) 2021-05-20 08:36:36 -06:00
Giovanni Luisotto ae7d31996b
SQL Server - SQL Requests - added s.[login_name] (#8351) 2021-05-13 23:59:02 -05:00
Erikas 760ad3e366
Update kafka.conf (#9263) 2021-05-13 16:36:46 -04:00
Sebastian Spaink 5330a74fea
Migrate soniah/gosnmp import to gosnmp/gosnmp (#9203) 2021-05-13 15:00:57 -05:00
maxuntr 741e3884e6
Kinesis_consumer input plugin - fix repeating parser error (#9169) 2021-05-11 17:16:58 -04:00
Giovanni Luisotto 8b9883e2ec
SQL Server - sqlServerRingBufferCPU - removed whitespaces (#9130)
### Required for all PRs:

- [ ] Updated associated README.md.
- [ ] Wrote appropriate unit tests.

Removed a pair of whitespace chars from the **sqlServerRingBufferCPU** SQL statement and added some formatting.
This query exists only for the on-prem version of SQL Server (`database_type = "SQLServer"`)

If you were unlucky enough to have some SQL 2008 the query wouldn't work as the whitespace char is not allowed inside the statement.
2021-05-11 16:08:25 -05:00
Josef Johansson 537bc9d21d
plugins/inputs/dovecot: Add support for unix domain sockets (#9223)
It's safer for dovecot to export metrics via a UDS instead of tcp port,
this will add support for that option.

### Required for all PRs:

<!-- Complete the tasks in the following list. Change [ ] to [x] to
show completion. -->

- [x] Updated associated README.md.
- [x] Wrote appropriate unit tests.

resolves #9215 

dovecot: Add support for unix domain sockets as well
2021-05-04 16:09:55 -05:00
Sebastian Spaink 175cd16f19
Migrate ipvs library from docker/libnetwork/ipvs to moby/ipvs (#9235) 2021-05-04 11:15:47 -05:00
Adam Dobrawy 26e791f1c8 Add docs for docker-compose labels in docker input (#9173) 2021-05-03 16:15:35 -04:00
SomKen 09faa32043
Document using group membership to allow access to /dev/pf for pf input plugin (#9232) 2021-05-03 13:35:04 -06:00
Jacob Marble 6977121aed
OpenTelemetry Input Plugin (#9077) 2021-04-30 10:36:48 -04:00
i-prudnikov e3ae7caaf0
Fix for #9135 (#9156) 2021-04-29 11:06:36 -05:00
Paweł Żak ff2992ed21
New DPDK input plugin (#8883) 2021-04-28 09:54:22 -06:00
David Bennett d181b4338f
Fix apcupsd 'ALARMDEL' bug via forked repo (#9195)
* add oauth2 to http input

* switch APC UPSD dependency to forked version with bug fixed.

* fix branch discrepancies

* fix branch discrepancies

* fix branch discrepancies

* fix branch discrepancies

* fork to influxdata repo
2021-04-28 09:43:19 -04:00
Paweł Żak 1fabc5f1fe
Linter fixes for plugins/inputs/[c]* (#9194)
* Linter fixes for plugins/inputs/[c]*

* Linter fixes for plugins/inputs/[c]*

Co-authored-by: Pawel Zak <Pawel Zak>
2021-04-27 20:41:52 -05:00
Paweł Żak e058f3641c
Linter fixes for plugins/inputs/[ab]* (#9191) 2021-04-26 15:57:05 -05:00
David Bennett 8bb388584d
Add OAuth2 to HTTP input (#9138)
* add oauth2 to http input

* linter fixes

* add http config to common plugin

* address linter changes

* Update README.md

* add log for user if fields are missing

* add correct logger

* alter output plugin as well

* fix formatting

* add oauth2 separate package

* fix package naming

* remove unnecessary logger
2021-04-23 09:37:27 -04:00
Sven Rebhan 03b2daeb1b
Linter fixes (unhandled errors) -- Part 2 (#9122) 2021-04-22 16:08:03 -05:00
Avinash Nigam f39d68d1fa
SQL Server input plugin - Enable Azure Active Directory (AAD) authentication support (#8822)
### Required for all PRs:

- [ ] Associated README.md updated.
- [ ] Has appropriate unit tests.

Associated to feature request - [Azure Active Directory (AAD) authentication support in SQL Server input plugin](https://github.com/influxdata/telegraf/issues/8808#issue-801695311)

Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
2021-04-21 11:02:07 -05:00
David Bennett e29bca7419
Add Glob / Wildcard support to Cloudwatch input for 'Dimensions' configuration (#9136)
I believe this will resolve #4046
2021-04-20 16:29:58 -05:00
Gennady e5b7a094da
Gather all mysql channels (#5517) 2021-04-14 14:13:32 -05:00
Wilfried OLLIVIER 1fa9259392
Fix: sync nfsclient ops map with nfsclient struct (#9128) 2021-04-14 13:43:07 -05:00
Helen Weller 91690803d6
Add custom docker image info to nvidia plugin (#9124) 2021-04-14 09:48:56 -04:00
Thomas Casteleyn 4b2e2c5263
Log snmpv3 auth failures (#8917) 2021-04-13 17:46:34 -04:00
Pontus Rydin 5f26582582
Added MetricLookback setting (#9045)
* Added MetricLookback setting

* Fixed go mod issue
2021-04-13 16:07:54 -05:00
Helen Weller 66e12e062d
remove deprecation warning (#9125) 2021-04-13 16:13:06 -04:00
David Bennett 842a788022
Remove error return type from metric.New method (#9116)
* Remove error return type from metric.New method.

* Formatting changes for linter + gofmt

* Additional linter fixes.

* More linter fixes.

* Linter fix.

* address comments
2021-04-13 14:40:03 -04:00
R290 114e4c2f68
Fix opcua integration test (#9107) 2021-04-09 14:23:32 -04:00
Sven Rebhan 9853bf6c54
Get rid of deprecated internal.{Duration,Size,Number} (#8969) 2021-04-09 13:15:04 -04:00
Sven Rebhan 8e7da355b3
Linter fixes (unhandled errors) -- Part 1 (#8992) 2021-04-08 11:43:39 -05:00
David Bennett 14f428d2fd
Add ability to handle 'binary logs' mySQL query with 3 columns, in case 3 columns are sent (MySQL 8 and greater) (#9082)
* Add ability to handle 'binary logs' mySQL query with 3 columns, in case 3 columns are sent (MySQL 8 and greater)

* Update mysql.go

* Update mysql.go
2021-04-06 17:45:36 -04:00
David Bennett ef2def20dc
Delete log.Fatal calls and replace with error returns. (#9086)
* Delete log.Fatal calls and replace with error returns.

* Update opcua_util.go

* Update opcua_util.go
2021-04-06 17:35:54 -04:00
David Bennett 868befcb5f
Add support for Logstash 7 'queue' stats from the Pipelines API (#9080)
* LAdd support for logstash 7 'queue' stats for its pipelines stats API

* appease the linter

* Update samples_logstash7.go
2021-04-06 17:33:35 -04:00
David Bennett 78d67ba87b
Add configurable option for the 'path' tag override in the Tail plugin. (#9069)
* Add configurable option for the 'path' tag override in the Tail plugin.

* get test cases to pass

* update default config

* convert to configurable string field
2021-03-31 12:06:13 -04:00
Sebastian Spaink 071fef78ef
inputs.nfsclient: use uint64, also update error handling (#9067)
* Use uint64
Fix error handling

* update comment

* More detail to error
2021-03-30 21:43:08 -05:00
Thomas Casteleyn 66c639668c
Fix inputs.snmp init when no mibs installed (#9050) 2021-03-30 13:08:14 -06:00