Sven Rebhan
8e7da355b3
Linter fixes (unhandled errors) -- Part 1 ( #8992 )
2021-04-08 11:43:39 -05:00
Sebastian Spaink
7d665904fc
inputs.ping: Always SetPrivileged(true) in native mode ( #9072 )
...
* Always SetPrivileged(true)
* Improve error message
2021-03-30 13:08:54 -05: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
Steven Soroka
7726f94621
fix ping tests
2021-03-10 16:55:59 -05:00
Steven Soroka
7651651867
add more logging to ping plugin
2021-03-10 12:11:19 -05:00
Sebastian Spaink
aa6dc79fc6
Sort and timeout is deadline ( #8839 )
2021-02-09 10:50:57 -06:00
Paweł Żak
ba66d4facb
Revive fixes - part 1 ( #8797 )
...
* Revive fixes regarding following set of rules:
[rule.blank-imports]
[rule.context-as-argument]
[rule.context-keys-type]
[rule.dot-imports]
[rule.error-return]
[rule.error-strings]
[rule.indent-error-flow]
[rule.errorf]
2021-02-08 11:18:40 -05:00
Sebastian Spaink
90392e16d1
Update README for inputs.ping with correct cmd for native ping on Linux ( #8787 )
...
* Update readme to enable native ping
* Provide more information on the numbers being set
* reference for ping_group_range already exists
2021-02-08 09:36:23 -06:00
Sebastian Spaink
244178e5ca
Set interface for native ( #8770 )
...
Support both name and IP
2021-01-28 11:30:00 -06:00
Sebastian Spaink
03fe914c59
Resolve regression, re-add missing function ( #8764 )
2021-01-28 10:54:29 -05:00
Sebastian Spaink
c237989631
Use go-ping for "native" execution in Ping plugin ( #8679 )
...
* Use go-ping for "native" execution in Ping plugin
* Check for ipv6 and deadline out of go func
* ensure dns failure
* Move interval and timeout calc to init
Removed dns failure check, 3rd parties libary responsibility
* Rename timeout to avoid conflict
* Move native ping to interface
Update tests
* Check for zero length
2021-01-26 16:02:43 -06:00
Helen Weller
d41569caed
Integration test audit ( #8725 )
2021-01-26 11:06:12 -07:00
Steven Soroka
a27ded6d95
fix potential issue with race condition ( #8577 )
2020-12-16 15:39:12 -05:00
Frank Riley
97de3981bd
Add percentiles to the ping plugin ( #7345 )
2020-12-09 10:54:51 -07:00
DasSkelett
7354a44240
Fix Ping Input plugin for FreeBSD's ping6 ( #7861 )
2020-08-20 18:05:50 -04:00
Jakub Warczarek
c116f0d039
Fix data race in input plugin ping_windows
2020-07-06 21:29:51 +02:00
Nathan Ferch
423fc283ac
Fix ping exit code handling on non-Linux ( #7658 )
2020-06-22 16:16:24 -07:00
Max Greenwald
f74824eecb
Fix documentation of percent_packet_loss field ( #7510 )
2020-05-14 13:39:00 -07:00
dbutler-starry
124735af2e
Apply ping deadline to dns lookup ( #7140 )
2020-03-24 17:02:23 -07:00
Daniel Nelson
63b047c91a
Fix ping skips remaining hosts after dns lookup error ( #6743 )
2019-12-03 11:27:33 -08:00
Daniel Nelson
9f05163c53
Fix interface option with method = native in ping input ( #6667 )
2019-11-18 10:27:31 -08:00
Greg
f0a578492a
Fix incorrect results in ping plugin ( #6581 )
2019-11-05 10:34:18 -08:00
Greg
c1521b5f68
Ensure metrics generated are correct in ping plugin using "native" ( #6563 )
2019-10-22 16:46:57 -07:00
Daniel Nelson
46b89b379a
Update ping input readme ( #6412 )
2019-09-20 16:49:14 -07:00
Greg
ea6b398fa3
Add native Go ping method to ping input plugin ( #6050 )
2019-07-11 15:07:58 -07:00
David Wahlund
234a946093
Fix source address ping flag on BSD ( #6056 )
2019-07-01 15:14:03 -07:00
Daniel Nelson
90593a07b8
Clarify supported ping utils
2019-04-08 15:42:28 -07:00
Dheeraj Dwivedi
80155029c4
Add TTL field to ping input ( #5556 )
2019-03-08 14:30:38 -08:00
Daniel Nelson
f8cc9719a2
Document how to increase the file limit in the ping input
2019-02-20 17:57:39 -08:00
Greg
e586fdb27f
Append host if arguments are specified for ping input ( #5450 )
2019-02-19 11:18:15 -08:00
Alexander Thaller
1170367dd7
Use -W flag on bsd variants in ping input ( #5112 )
2018-12-10 16:20:04 -08:00
Greg
f10de93da4
Return correct response code on ping input ( #4875 )
2018-10-17 12:46:00 -06:00
Lee Jaeyong
86b2145272
Add support for IPv6 in the ping plugin ( #4703 )
2018-10-01 17:38:13 -07:00
Daniel Nelson
ca9505a3b1
Update ping input readme
2018-08-31 13:59:30 -07:00
prashanthjbabu
14d9ef4f0c
Add result_code value for errors running ping command ( #4550 )
2018-08-23 13:50:19 -07:00
maxunt
96cb0aaea0
Fix unit tests on Darwin ( #4458 )
2018-07-27 18:29:54 -07:00
Daniel Nelson
7fe6e2f5ae
Use same flags for all bsd family ping varients ( #4241 )
2018-06-06 14:28:12 -07:00
Mariusz Brzeski
0768022240
Support busybox ping in the ping input ( #3877 )
2018-04-30 19:20:13 -07:00
Margarita Bliznikova
c377c8fb7c
Add host to ping timeout log message ( #3853 )
2018-03-06 13:10:44 -08:00
everpcpc
3242f97deb
Support deadline in ping plugin ( #3783 )
2018-02-15 20:11:07 -08:00
efficks
f5ea13a9ab
Fix ping plugin not reporting zero durations ( #3778 )
2018-02-09 12:11:19 -08:00
Philipp Weber
1b84ac08ab
Add support for setting bsd source address to the ping input ( #3726 )
2018-01-29 14:01:00 -08:00
Maximilien Richer
5f215c22fe
Fix typos in comments ( #3415 )
2017-10-31 17:00:06 -07:00
Vladimir S
88ec171293
Perform DNS lookup before ping ( #3385 )
2017-10-26 13:35:37 -07:00
Daniel Nelson
61b0336d97
Use 5 second timeout overhead when waiting for ping to complete
2017-10-09 15:09:07 -07:00
Daniel Nelson
eb0215c382
Remove log message on ping timeout ( #3126 )
2017-08-16 11:59:41 -07:00
Oskar
ab5205f8c3
Fix go vet under windows ( #3046 )
2017-07-24 12:36:33 -07:00
Daniel Nelson
736322dfc9
Set default ping count in Windows
...
fixes #2934
2017-06-16 13:39:55 -07:00
Daniel Nelson
ba364988de
Document that ping_interval is non-linux only
2017-06-16 13:32:04 -07:00