Commit Graph

39 Commits

Author SHA1 Message Date
Thomas Casteleyn 61523bd4b9
feat(tools/readme_linter): Check for global configuration section (#12426) 2023-01-12 16:55:21 +01:00
Sven Rebhan 63ab159481
feat(secretstores): add support for additional input plugins (#12067) 2023-01-09 09:17:23 -07:00
Sven Rebhan 8d78c5fbdc
chore(deps): Bump github.com/gosnmp/gosnmp from 1.34.0 to 1.35.0 (#12355) 2022-12-08 10:19:04 +01:00
Joshua Powers 49ac03fa80
docs: add global configuration header (#12107) 2022-10-26 14:58:36 -05:00
Sebastian Spaink d67f75e557
docs: Remove warning not to remove go:embed (#11797)
Co-authored-by: Joshua Powers <powersj@fastmail.com>
2022-09-13 12:47:58 -05:00
Joshua Powers 8c49ddccc3
chore: update to go1.19.1 (#11776) 2022-09-08 12:49:36 -06:00
papapiya 79235cb224
fix(inputs.snmp_trap): nil map panic when use snmp_trap with netsnmp translator (#11534) 2022-07-22 11:23:41 +02:00
reimda f7aab29381
chore: Fix readme linter errors for input plugins M-Z (#11274) 2022-06-08 15:22:56 -06:00
Joshua Powers 2fc19fa308
chore: correctly spell embed (#11200) 2022-05-27 07:13:47 -06:00
Sven Rebhan 56eb914998
chore: Embed sample configurations into README for inputs (#11136) 2022-05-24 08:49:47 -05:00
Sebastian Spaink 0f5dc9946c
chore(inputs_m-z): migrate sample configs into separate files (#11133) 2022-05-18 11:31:34 -05:00
Sebastian Spaink 5676326ae9
chore(inputs): add descriptions to config in README.md (#10962) 2022-04-12 08:29:02 -05:00
Sebastian Spaink b355be5ccb
feat: migrate input plugins to new sample config format (M-Z) (#10926) 2022-04-11 16:32:25 -05:00
reimda 77040ef4e9
fix: Add option to select translator (#10802) 2022-03-17 21:43:46 -06:00
Mya d18ff3407d
fix: ensure folders do not get loaded more than once (#10551) 2022-02-16 12:25:20 -07:00
Mya 84c1efbef1
fix: collapsed fields by calling more indepth function (#10430) 2022-01-27 14:38:03 -07:00
Thomas Casteleyn 7f20e7103f
feat: deprecate unused snmp_trap timeout configuration option (#10339) 2022-01-10 07:44:53 -07:00
Mya d8cc355113
chore: document deprecation of timeout (#10373) 2022-01-04 12:46:40 -07:00
Mya 7675ce6d19
refactor: snmp to use gosmi (#9518) 2021-11-30 15:47:50 -07:00
Mya 2b43934174
fix: removed snmptranslate from readme and fix default path (#10136) 2021-11-23 15:09:00 -07:00
Paweł Żak 2a0c3059a1
fix: Linter fixes for plugins/inputs/s* (#10104)
Co-authored-by: Pawel Zak <Pawel Zak>
2021-11-18 09:04:52 -07:00
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
Sebastian Spaink 5330a74fea
Migrate soniah/gosnmp import to gosnmp/gosnmp (#9203) 2021-05-13 15:00:57 -05:00
Sven Rebhan 9853bf6c54
Get rid of deprecated internal.{Duration,Size,Number} (#8969) 2021-04-09 13:15:04 -04:00
Paweł Żak 099ccda3f9
Linter fixes - gosimple (#9046) 2021-03-25 13:57:01 -04:00
Paweł Żak 74a1acd814
Linter fixes - revive:unused-parameter, unparam, varcheck and unused (#8984)
* Linter fixes - revive:unused-parameter and unparam

* Linter fixes - revive:unused-parameter and unparam

* Linter fixes - revive:unused-parameter and unparam

* "nolint"'s removed

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-22 12:21:36 -05:00
Paweł Żak 38c61c07ef
Revive fixes - part 4: (#8981)
empty-lines

Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-12 14:21:51 -06:00
Peng Xiao 2c61fad895
improve the error log message for snmp trap (#8552)
add OID value and source information into error log and make it easier for troubleshooting
2020-12-23 09:12:41 -06:00
reimda 8006068e94
If the community string is available, add it as a tag (#8189) 2020-09-29 10:23:23 -04:00
reimda 7f3c30b8f2
Fix SNMP trap test race (#7731) 2020-06-24 12:50:01 -06:00
reimda 49caba9b2f
Add tags to snmp_trap input for context name and engine ID (#7633)
Add tags for the context name and engine ID
2020-06-05 08:35:14 -06:00
kauppine 36316ee8f2
Add SNMPv3 trap support to snmp_trap input plugin (#7294)
Extend snmp_trap input plugin to support SNMPv3 traps. MD5 and SHA1 authentication protocols are supported, and DES, AES, AES192, AES256, AES192c and AES256c privacy protocols are supported.
2020-06-04 15:19:47 -06:00
Josh Soref 2c56d6de81
Fix spelling errors in comments and documentation (#7492) 2020-05-14 00:41:58 -07:00
Daniel Nelson c325c94a96
Rewrite documentation for snmp input (#6802) 2019-12-30 11:33:32 -08:00
reimda 99279e6461
Convert snmp_trap_test.go to table test (#6803)
Add a test for v1 generic trap.  Add missing leading period in v1 generic trap oid.
2019-12-17 15:12:42 -07:00
reimda a7a639f6a3 Fix off by one bug in snmp trap v1 generic trap field (#6797) 2019-12-12 10:54:44 -08:00
reimda cae701c54b Interpret SNMP v1 traps as described in RFC 2576 3.1 (#6793) 2019-12-11 14:29:18 -08:00
reimda 61fbc68279 Add documentation about listening on port < 1024 (#6785) 2019-12-11 10:23:51 -08:00
reimda cec1bdce90 Add snmp_trap input plugin (#6629) 2019-11-25 11:56:21 -08:00