Commit Graph

18 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
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