Sha256: 28180c78b6d7e44c5f278d60543bc2ded61a8430a4dd07fc0a3b6cdea3e979f1
Contents?: true
Size: 1.5 KB
Versions: 1
Compression:
Stored size: 1.5 KB
Contents
# fluent-plugin-munin-node Fluentd input plugin for Munin node. [![Gem Version](https://badge.fury.io/rb/fluent-plugin-munin-node.svg)](http://badge.fury.io/rb/fluent-plugin-munin-node) [![Build Status](https://travis-ci.org/winebarrel/fluent-plugin-munin-node.svg)](https://travis-ci.org/winebarrel/fluent-plugin-munin-node) ## Installation Add this line to your application's Gemfile: ```ruby gem 'fluent-plugin-munin-node' ``` And then execute: $ bundle Or install it yourself as: $ gem install fluent-plugin-munin-node ## Configuration ```apache <source> type munin_node #node_host 127.0.0.1 #node_port 10050 #interval 60 #tag_prefix munin #bulk_suffix metrics #service_key service #field_key field #value_key value #extra {} #bulk false </source> ``` ## Usage ### Get munin data as multiple records ```apache <source> type munin_node extra {"hostname", "my-host"} </source> ``` ``` 2015-91-02 12:30:09 +0000 munin.cpu.user: {"service":"cpu","field":"user","value":"4192","hostname":"my-host"} 2015-91-02 12:30:09 +0000 munin.cpu.nice: {"service":"cpu","field":"nice","value":"0","hostname":"my-host"} 2015-91-02 12:30:09 +0000 munin.cpu.system: {"service":"cpu","field":"system","value":"1935","hostname":"my-host"} ``` ## Get munin data as a single record ```apache <source> type munin_node extra {"hostname", "my-host"} bulk true </source> ``` ``` 2015-01-02 12:30:40 +0000 munin.metrics: {"cpu":{"user":"4112","nice":"0","system":"1894",...,"hostname":"my-host"} ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fluent-plugin-munin-node-0.1.4 | README.md |