No commit activity in last 3 years
No release in over 3 years
Fluentd input plugin to probe network latency and keepalive, similar to smokeping
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0

Runtime

>= 0.10.7
 Project Readme

Fluent::Plugin::NetworkProbe

Fluentd input plugin to probe network latency and keepalive, similar to Smokeping.
Now support methods are fping and curl.

Installation

Install tools

on Ubuntu12.04

$ sudo apt-get install fping curl

Install fluent plugin

Add this line to your application’s Gemfile:

gem 'fluent-plugin-network-probe'

Or install it yourself as:

$ gem install fluent-plugin-network-probe

Or use td-agent : (on Ubuntu12.04)

$ sudo /usr/lib/fluent/ruby/bin/fluent-gem install fluent-plugin-network-probe

Configuration

<source>
  type config_expander

  <config>
    type network_probe
    probe_type fping
    target google.com
    tag network_probe.${hostname}.fping
    fping_count 5              # optional: default 5(count)
    fping_timeout 2            # optional: default 2(sec)
    fping_interval 1           # optional: default 1(sec)
    fping_exec /usr/bin/fping  # optional: default '/usr/bin/fping'
  </config>
</source>

<source>
  type config_expander

  <config>
    type network_probe
    probe_type curl
    target google.com
    tag network_probe.${hostname}.curl
    curl_protocol http        # optional: default http(http or https)
    curl_port 80              # optional: default 80
    curl_path /               # optional: default /
    curl_count 5              # optional: default 5(count)
    curl_timeout 2            # optional: default 2(sec)
    curl_interval 1           # optional: default 1(sec)
    curl_exec /usr/bin/curl   # optional: default '/usr/bin/curl'
  </config>
</source>