Paulo Dias
cb71790cf7
chore(linters): Enforce import grouping with gci linter ( #16526 )
...
Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
Co-authored-by: Thomas Casteleyn <thomas.casteleyn@me.com>
2025-02-24 19:37:12 -06:00
Paweł Żak
5af100d96b
chore: Fix linter findings for `revive:exported` in `plugins/inputs/s*` ( #16363 )
2025-01-16 09:47:14 -06:00
Paweł Żak
b92700f98a
chore: Fix linter findings for `revive:unused-receiver` in `plugins/inputs/[s-z]` ( #16327 )
2024-12-27 08:33:43 -06:00
Paweł Żak
22b153ac65
chore: Fix linter findings for `revive:enforce-map-style` in `plugins/inputs/[n-z]*` ( #16072 )
2024-10-25 12:54:05 +02:00
Paweł Żak
d9254c210f
chore: Fix linter findings for `revive:enforce-slice-style` in `plugins/inputs/[p-z]*` ( #16043 )
2024-10-24 11:03:31 +02:00
Paweł Żak
358224fa02
chore: Fix linter findings for `revive:enforce-repeated-arg-type-style` in `plugins/inputs/[o-z]*` ( #15857 )
2024-09-12 15:59:30 -05:00
Nick Thomas
e148d6cf8d
fix(inputs.sysstat): Prevent default sadc_interval from increasing on reload ( #15212 )
2024-04-23 19:00:06 +02:00
Andreas Deininger
5f5a56ed01
docs: Fix typos ( #14376 )
2024-01-05 22:34:02 +01:00
shizhx
c0f67db425
fix(inputs.sysstat): Remove tmpfile to avoid file-descriptor leak ( #13833 )
2023-08-30 15:54:22 +02:00
r3inbowari
19c4316694
chore: Update README.md ( #12989 )
2023-04-04 13:43:49 +02:00
Joshua Powers
9256a3f2e6
chore: Ensure go generate runs on all platforms ( #12871 )
2023-03-15 17:47:55 +01:00
Joshua Powers
4747e7ba10
chore: Unify sample configs across OSes ( #12789 )
2023-03-07 09:38:05 +01:00
Paweł Żak
e2a510f157
chore: Fix linter findings for errorlint (part7) ( #12772 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-03 10:11:54 +01:00
Joshua Powers
3a0a9f0f92
chore: Document linux only plugins (part 2) ( #12765 )
2023-03-01 22:22:29 +01:00
Thomas Casteleyn
6a2f6f301f
chore: eliminate unnecessary use of quoted strings in printf ( #12722 )
2023-02-23 06:49:36 -07:00
Thomas Casteleyn
61523bd4b9
feat(tools/readme_linter): Check for global configuration section ( #12426 )
2023-01-12 16:55:21 +01:00
Joshua Powers
49ac03fa80
docs: add global configuration header ( #12107 )
2022-10-26 14:58:36 -05:00
Sebastian Spaink
4913392b85
chore: Remove deprecated build tags ( #11867 )
2022-09-22 13:25:31 -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
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
Peter (Stig) Edwards
81b84fb12b
fix: avoid calling sadc with invalid 0 interval ( #11140 )
2022-05-19 10:26:29 -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
b355be5ccb
feat: migrate input plugins to new sample config format (M-Z) ( #10926 )
2022-04-11 16:32:25 -05:00
Joshua Powers
7053fec4e7
fix: sysstat use unique temp file vs hard-coded ( #10165 )
2021-12-01 07:39:07 -07:00
Mya
837465fcd5
chore: clean up all errors for markdown lint input plugins s through v ( #10167 )
2021-11-24 11:50:13 -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
Sebastian Spaink
3a7d9b6d98
fix: support 1.17 & 1.16.7 Go versions ( #9642 )
2021-08-23 15:37:44 -05: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
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
Greg
817c9a69a9
Document and add support to input plugins for logging alias ( #6357 )
2019-09-23 15:39:50 -07:00
Daniel Nelson
29c3d42e7e
Fix double pct replacement in sysstat input ( #6001 )
2019-06-20 11:52:41 -07:00
Adrián López
46a8bdbfe5
Add parameter to force the interval of gather for sysstat ( #4068 )
2018-04-25 18:59:42 -07:00
Maximilien Richer
5f215c22fe
Fix typos in comments ( #3415 )
2017-10-31 17:00:06 -07:00
Zack Zatkin-Gold
dd537b3382
Fix telegraf example arguments ( #2788 )
...
Many of the examples provided within documentation are using a single
dash for the command line arguments, but the telegraf executable
explicitly has two dashes.
There are also some inconsistencies with the ordering of the command
line argument examples. I've ordered them so that the examples will
show: config, config-directory, input-filter, test
2017-05-12 15:22:29 -07:00
Patrick Hemmer
06baf7cf78
use AddError everywhere ( #2372 )
2017-04-24 11:13:26 -07:00
Daniel Nelson
da0773151b
Use C locale when running sadf ( #2690 )
...
fixes #1911
2017-04-21 10:55:54 -07:00
Cameron Sparr
c7834209d2
Major Logging Overhaul
...
in this commit:
- centralize logging output handler.
- set global Info/Debug/Error log levels based on config file or flags.
- remove per-plugin debug arg handling.
- add a I!, D!, or E! to every log message.
- add configuration option to specify where to send logs.
closes #1786
2016-10-03 17:13:03 +01:00
David Moravek
90c7475c68
Fix sysstat resource leak ( #1792 )
2016-09-21 10:19:59 +01:00
Rene Zbinden
4dcb82bf08
fix interval rounding error
...
closes #1190
2016-05-23 11:20:01 +01:00
Rene Zbinden
4c8449f4bc
fix sysstat timeout error
...
closes #1134
2016-05-02 15:17:11 -06:00
Cameron Sparr
3f807a9432
Implement timeouts for all exec command runners
...
First is to write an internal CombinedOutput and Run function with a
timeout.
Second, the following instances of command runners need to have timeouts:
plugins/inputs/ping/ping.go
125: out, err := c.CombinedOutput()
plugins/inputs/exec/exec.go
91: if err := cmd.Run(); err != nil {
plugins/inputs/ipmi_sensor/command.go
31: err := cmd.Run()
plugins/inputs/sysstat/sysstat.go
194: out, err := cmd.CombinedOutput()
plugins/inputs/leofs/leofs.go
185: defer cmd.Wait()
plugins/inputs/sysstat/sysstat.go
282: if err := cmd.Wait(); err != nil {
closes #1067
2016-04-29 12:06:22 -06:00
Cameron Sparr
c6faf005cb
Add sysstat dummy file for non-linux builds
2016-04-07 12:08:26 -06:00
Rene Zbinden
b534b58542
fix tests
...
closes #939
2016-04-07 11:54:41 -06:00
Rene Zbinden
920711533e
move pathe lookup for sadf to init()
2016-04-07 10:45:20 -06:00