Paweł Żak
4e7821a4fd
chore: Fix linter findings for `revive:unused-receiver` in `agent`, `cmd`, `config`, `internal`, `metric`, `migrations`, `models`, `testutils` and `tools` ( #16340 )
2025-01-15 20:58:58 +01:00
Paweł Żak
0d30797c08
chore: Enable `revive:enforce-slice-style` rule ( #16173 )
2024-11-13 01:24:35 -06:00
Thomas Casteleyn
58b4126f0b
fix(inputs.snmp): Fix crash when trying to format fields from unknown OIDs ( #16155 )
2024-11-07 15:18:39 +01:00
Paweł Żak
c8a30655cb
chore: Enable `revive:enforce-map-style` rule ( #16077 )
2024-10-28 13:59:26 +01:00
Thomas Casteleyn
3951d894ee
feat(inputs.snmp): Convert uneven bytes to int ( #16027 )
2024-10-18 13:10:09 +02:00
Paweł Żak
0804ccef4e
chore(linters): Enable `string-format` rule for revive ( #15983 )
2024-10-09 09:07:46 +02:00
Thomas Casteleyn
ddd6023cee
feat(inputs.snmp): Add displayhint conversion ( #15935 )
2024-10-02 10:33:15 -05:00
Paweł Żak
43590ca730
chore: Fix linter findings for `revive:comment-spacings` (part 1) ( #15896 )
2024-09-19 10:55:45 +02:00
Joshua Powers
83561960a5
fix(inputs.snmp): Avoid sending a nil to gosmi's GetEnumBitsFormatted ( #15743 )
2024-09-05 11:18:16 -05:00
Thomas Casteleyn
9297d77306
fix(inputs.snmp): Translate field correctly when not in table ( #15618 )
2024-07-15 07:55:39 -06:00
Joshua Powers
7037429e6a
test(lint): Enable mirror ( #15510 )
2024-06-17 16:21:30 +02:00
Thomas Casteleyn
c1bbce3e96
feat(inputs.snmp): Convert octet string with invalid data to hex ( #15439 )
2024-06-04 09:03:26 -06:00
Dane Strandboge
612b5ad8b1
chore: Fix errcheck CI warnings outside of plugins directory ( #15390 )
2024-06-04 10:33:37 +02:00
Andreas Deininger
b516ead921
docs: Fix typos ( #15421 )
2024-05-31 10:31:30 +02:00
Andreas Deininger
01c00d69fb
chore: Fix typos ( #15114 )
2024-04-09 20:00:52 +02:00
Sven Rebhan
f674099fad
feat(snmp): Add secret support for auth_password and priv_password ( #14975 )
2024-03-13 11:39:37 -05:00
Thomas Casteleyn
a8551659bc
feat(processors.snmp_lookup): New SNMP lookup processor ( #14223 )
2024-02-27 09:13:17 -07:00
Thomas Casteleyn
d018363261
chore(snmp): Refactor SNMP translation and data-structures ( #14830 )
2024-02-21 08:55:01 -07:00
Paweł Żak
ae7fbc5082
chore(linters): Replace 'fmt.Errorf' with 'errors.New' wherever possible ( #14698 )
2024-02-08 11:32:30 -06:00
senpro-ingwersenk
9878eba241
chore(internal.snmp): Rephrase error message on translating OID ( #14612 )
2024-01-23 15:54:16 +01:00
Paweł Żak
f7949ca68a
chore: Fix linter findings for errorlint (part1) ( #12701 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2023-02-22 12:57:53 +01:00
Paweł Żak
d9d9cd4c0b
chore: fix linter findings for nolintlint part 1 ( #12427 )
2023-01-25 13:28:13 -07:00
Paweł Żak
6816aefcd5
chore: fix linter findings for unparam and revive.unused-parameter ( #12150 )
2022-11-08 12:04:12 -07:00
Paweł Żak
9d9eb403a6
chore: Review of //nolint comments ( #12088 )
2022-10-26 12:06:08 +02:00
Sven Rebhan
8e23402305
chore: remove deprecated io/ioutils ( #11678 )
2022-09-20 09:37:14 -06:00
Joshua Powers
8c49ddccc3
chore: update to go1.19.1 ( #11776 )
2022-09-08 12:49:36 -06:00
Mya
1a47277298
fix(inputs.snmp): snmp UseUnconnectedUDPSocket when using udp ( #10331 )
2022-07-08 13:40:32 -06:00
reimda
0dd99b2157
fix(inputs/snmp): switch new Reconnect method to be a value receiver ( #11197 )
2022-05-27 15:03:46 -06:00
Thomas Casteleyn
885444ab3e
fix(inputs/snmp): Reconnect TCP agents if needed ( #11163 )
2022-05-25 12:47:51 -06:00
reimda
77040ef4e9
fix: Add option to select translator ( #10802 )
2022-03-17 21:43:46 -06:00
reimda
35d69de1fc
fix(inputs.snmp): use the correct path when evaluating symlink ( #10748 )
2022-03-11 08:29:16 -07:00
reimda
79aa7f4ecf
fix: log err when loading mibs ( #10735 )
2022-02-28 11:37:08 -07: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
Laurent Sesquès
457c98f4c2
fix: snmp input plugin errors if mibs folder doesn't exist ( #10346 ) ( #10354 )
2022-01-11 15:17:05 -07:00
Mya
8a9fbfda67
fix: snmp marshal error ( #10322 )
2021-12-22 13:41:34 -07:00
Mya
1e81d98fdd
fix: panic due to no module ( #10303 )
2021-12-20 13:40:00 -07:00
Mya
49562e8963
fix: grab table columns more accurately ( #10295 )
2021-12-20 12:49:03 -07:00
Mya
973ffba9fb
fix: check index before assignment ( #10299 )
2021-12-20 10:52:47 -07:00
Mya
e00147ded3
fix: panic is no mibs folder is found ( #10301 )
2021-12-17 14:30:08 -07:00
Thomas Casteleyn
7c0ffefde9
fix: inputs.snmp to respect number of retries configured ( #10268 )
2021-12-14 15:28:38 -07:00
Sven Rebhan
2d420fbd35
feat: Optimize locking for SNMP MIBs loading. ( #10206 )
2021-12-07 15:05:33 -07:00
Mya
b4ef429302
fix: extra lock on init for safety ( #10199 )
2021-12-01 10:02:38 -07:00
Mya
7675ce6d19
refactor: snmp to use gosmi ( #9518 )
2021-11-30 15:47:50 -07:00
Sven Rebhan
9853bf6c54
Get rid of deprecated internal.{Duration,Size,Number} ( #8969 )
2021-04-09 13:15:04 -04:00
Thomas Casteleyn
4584d691a7
Fix max_repetitions signedness issues #8823 ( #8902 )
2021-03-01 15:46:49 -05:00
Thomas Casteleyn
47e12d1981
Support more snmpv3 authentication protocols ( #8850 )
2021-02-24 11:44:53 -07:00
Paweł Żak
d9736d543f
Revive fixes - part 2 ( #8835 )
...
* Revive fixes regarding following set of rules:
[rule.if-return]
[rule.increment-decrement]
[rule.var-declaration]
[rule.package-comments]
[rule.receiver-naming]
[rule.unexported-return]
2021-02-16 18:19:50 -05:00
Johannes Deger
198bcc8f36
Expose v4/v6-only connection-schemes through GosnmpWrapper ( #8804 )
2021-02-10 09:28:37 -07:00
Dušan Pajin
9ee6e034fb
Input SNMP plugin - upgrade gosnmp library to version 1.29.0 ( #8588 )
2021-01-07 08:44:33 -07:00