Sha256: 1f0e7df9e39952b704456c320d1e5cb1907e43fd58588e5895f15e8076df1a4b

Contents?: true

Size: 1.42 KB

Versions: 1

Compression:

Stored size: 1.42 KB

Contents

h1. Fluent::Plugin::NetworkProbe

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


h2. Installation

h3. Install tools

on Ubuntu12.04

<pre>
$ sudo apt-get install fping curl
</pre>

h3. Install fluent plugin

Add this line to your application's Gemfile:

<pre>
gem 'fluent-plugin-network-probe'
</pre>

Or install it yourself as:

<pre>
$ gem install fluent-plugin-network-probe
</pre>

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

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



h2. Configuration

<pre>
<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_path /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_count 5              # optional: default 5(count)
    curl_timeout 2            # optional: default 2(sec)
    curl_interval 1           # optional: default 1(sec)
    curl_path /usr/bin/curl   # optional: default '/usr/bin/curl'
  </config>
</source>
</pre>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fluent-plugin-network-probe-0.0.1 README.textile