No commit activity in last 3 years
No release in over 3 years
Fluentd input plugin for Munin node.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

>= 0
>= 3.0.0
>= 3.1.0

Runtime

>= 0.1.4
 Project Readme

fluent-plugin-munin-node

Fluentd input plugin for Munin node.

Gem Version Build Status

Installation

Add this line to your application's Gemfile:

gem 'fluent-plugin-munin-node'

And then execute:

$ bundle

Or install it yourself as:

$ gem install fluent-plugin-munin-node

Configuration

<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
  #include_service (cpu|entropy) # regular expression
  #exclude_service df.*          # regular expression
  #include_hostname false
  #hostname_key hostname
</source>

Usage

Get munin data as multiple records

<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

<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"}