Commit Graph

37 Commits

Author SHA1 Message Date
Sven Rebhan 5bb0002948
docs(inputs): Add plugin metadata and update description for n* (#16692) 2025-04-08 10:27:01 +01:00
Paweł Żak 3dea61cb5c
chore: Fix linter findings for `revive:exported` in `plugins/inputs/n*` (#16205) 2024-11-25 11:23:17 +01:00
Sven Rebhan 115df09b19
fix(inputs.ntpq): Avoid panic on empty lines and make sure -p is present (#16110) 2024-11-04 15:56:27 -06:00
Joshua Powers 71718fba7d
chore: Update removal dates to either v1.35.0 or v1.40.0 (#15452) 2024-06-05 15:19:47 -05:00
r3inbowari 19c4316694
chore: Update README.md (#12989) 2023-04-04 13:43:49 +02: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
Sven Rebhan 6236059817
fix(inputs.ntpq): Handle pools with "-" when (#11827) 2022-09-19 11:43:22 -06: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
Sven Rebhan d606899737
feat(inputs.ntpq): Allow to specify `reach` output format (#11594) 2022-08-03 13:03:44 -06:00
Sven Rebhan e33ffeb06a
feat(inputs.ntpq): Add possibility to query remote servers (#11592) 2022-08-02 21:02:37 +02:00
Sven Rebhan ba2ebe896a
feat(inputs.ntpq): Add option to specify command flags (#11593) 2022-08-02 19:26:54 +02:00
Sven Rebhan 9f57f9408c
chore(inputs.ntpq): Cleanup existing plugin (#11575) 2022-08-01 22:09:44 +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 b355be5ccb
feat: migrate input plugins to new sample config format (M-Z) (#10926) 2022-04-11 16:32:25 -05:00
Joshua Powers 2b57262617
fix: correctly read ntpq long poll output (#10790) 2022-03-10 07:20:02 -07:00
Mya d4582dca70
chore: clean up all markdown lint error on input plugins n through r (#10168) 2021-11-24 11:50:01 -07:00
Paweł Żak e6b107b062
fix: Linter fixes for plugins/inputs/[n-o]* (#10011) 2021-11-02 08:42:22 -06: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
Steven Soroka 3bc53558a4
fix concurrency panic in ntpq input. Closes #7101 (#7143) 2020-03-10 16:48:30 -04:00
like-inspur 68925ed1ef Change description for config dns_lookup (#6902) 2020-01-14 18:35:48 -08:00
Daniel Nelson 3011a009e5
Skip lines with missing refid in ntpq input (#5782) 2019-05-07 14:54:43 -07:00
Daniel Nelson 4551b4c5d2
Enable ntpq tests on Windows (#3972) 2018-04-04 18:35:05 -07:00
Jan Willem Janssen d449833de9 Fix parsing of SHM remotes in ntpq input (#3163) 2017-08-25 11:54:06 -07:00
G-Research 1b50f14d55 Build NTPQ input on Windows (#3117) 2017-08-11 13:36:25 -07:00
DanKans d2626f1da6 Fix ntpq parse issue when using dns_lookup (#3026) 2017-07-18 11:01:08 -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
Cameron Sparr 168270ea5f
ntpq: correct number of seconds in an hour
closes #2256
2017-01-24 15:27:44 -08: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
Cameron Sparr 7600757f16 ntpq: don't index ntp fields that dont exist
closes #1634
2016-08-16 15:16:42 +01:00
Cameron Sparr debf7bf149 ntpq input: ignore lines that are '-'
closes #1223
2016-05-18 22:20:47 +01:00
Cameron Sparr c292e3931a Remove ntpq state prefixes and make their own tag
closes #1161
2016-05-18 14:16:01 +01:00
Cameron Sparr 4ea0c707c1 Input plugin for running ntp queries
see #235
2016-03-14 16:53:37 +00:00