Commit Graph

27 Commits

Author SHA1 Message Date
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
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
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 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
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
Daniel Nelson 3011a009e5
Skip lines with missing refid in ntpq input (#5782) 2019-05-07 14:54:43 -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
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