README.md in fluent-plugin-munin-0.3.1 vs README.md in fluent-plugin-munin-0.3.2
- old
+ new
@@ -42,21 +42,26 @@
type stdout
</match>
`````
### Output Sample
-record_hostname: no, nest_result: no
+record_hostname: no, nest_result: no #DEFAULT
`````
input.munin.cpu: {"service":"cpu","user":"113183","nice":"340","system":"26584","idle":"74205345","iowait":"26134","irq":"1","softirq":"506","steal":"0","guest":"0"}
`````
+tag_prefix: input.${hostname}-munin, record_hostname: yes, nest_result: no
+`````
+input.myhost.example.com-munin.cpu: {"hostname":"myhost.example.com","service":"cpu","user":"113183","nice":"340","system":"26584","idle":"74205345","iowait":"26134","irq":"1","softirq":"506","steal":"0","guest":"0"}
+`````
+
record_hostname: yes, nest_result: no
`````
input.munin.cpu: {"hostname":"myhost.example.com","service":"cpu","user":"113183","nice":"340","system":"26584","idle":"74205345","iowait":"26134","irq":"1","softirq":"506","steal":"0","guest":"0"}
`````
-record_hostname: yes, nest_result: no, convert_type: yes #RECOMMEND
+record_hostname: yes, nest_result: no, convert_type: yes #RECOMMEND
`````
input.munin.cpu: {"hostname":"myhost.example.com","service":"cpu","user":113183,"nice":340,"system":26584,"idle":74205345,"iowait":26134,"irq":1,"softirq":506,"steal":0,"guest":0}
`````
record_hostname: yes, nest_result: yes, nest_key: data
@@ -69,11 +74,20 @@
`````
> use munin
> db.cpu.find({ "data.iowait" : { $gt : 200000 } })
`````
+### Example
+
+* Example1: how to send munin metrics to treasuredata.<br>
+https://github.com/y-ken/fluent-plugin-munin/blob/master/example.conf
+
+* Example2: how to send munin metrics to mongoDB.<br>
+https://github.com/y-ken/fluent-plugin-munin/blob/master/example2.conf
+
+
## TODO
-patches welcome!
+Pull requests are very welcome!!
## Copyright
Copyright © 2012- Kentaro Yoshida (@yoshi_ken)