Commit Graph

42 Commits

Author SHA1 Message Date
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
Dheeraj Dwivedi 80155029c4 Add TTL field to ping input (#5556) 2019-03-08 14:30:38 -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
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
Heston Kan 5d1efdbfda Add min/max response time on linux/darwin to ping (#2908) 2017-06-13 14:09:17 -07:00
Patrick Hemmer 06baf7cf78 use AddError everywhere (#2372) 2017-04-24 11:13:26 -07:00
Gregory Kman 45c9b867f6 Update ping-input-plugin Readme (#2651) 2017-04-12 17:46:48 -07:00
alekseyp 90cec20d1d Standard deviation (jitter) for Input plugin Ping (#2078) 2016-12-16 13:58:27 +00:00
Cameron Sparr a4e8f24b16 Set reasonable defaults in ping plugin
closes #1742
2016-10-17 15:21:09 +01:00
Cameron Sparr 7825df4771 Fix darwin ping tests 2016-06-22 18:21:07 +01:00
Cameron Sparr ea2521bf27 Fixup ping change
fixes #1335
2016-06-10 13:05:28 +01:00
kodek 4cd1f7a104 Increase ping timeout based on ping count and interval 2016-06-10 12:49:37 +01: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 ee4f4d7800 ping plugin: Set default timeout 2016-04-27 15:08:38 -06:00
Cameron Sparr 8d2e5f0bda Seems to be a toml parse bug around triple pounds 2016-02-18 14:36:03 -07:00
Cameron Sparr fc7fa4b6c5 Cleanup comments and indentation in config file 2016-02-09 11:01:50 -07:00
Cameron Sparr f5f43e6d1b ping plugin: use -W for linux, -t for bsd/darwin
closes #443
2016-02-06 23:24:47 -07:00
Cameron Sparr 1e03a9440b Try ping plugin with -n and -s options added 2016-02-06 23:09:29 -07:00
Cameron Sparr d266dad1f4 Don't compile ping plugin on windows.
closes #496
2016-02-01 16:39:53 -07:00
Cameron Sparr 9c0d14bb60 Create public models for telegraf metrics, accumlator, plugins
This will basically make the root directory a place for storing the
major telegraf interfaces, which will make telegraf's godoc looks quite
a bit nicer. And make it easier for contributors to lookup the few data
types that they actually care about.

closes #564
2016-01-27 15:42:50 -07:00
Jack Zampolin 0cdf1b07e9 Fix issue 524 2016-01-20 10:57:35 -08:00
Thibault Cohen 3cc1fecb53 Ping input doesn't return response time metric when timeout
closes #506
2016-01-14 10:12:10 -08:00
Cameron Sparr 9c5db1057d renaming plugins -> inputs 2016-01-07 15:04:30 -07:00