Created
March 14, 2013 07:32
-
-
Save holysugar/5159508 to your computer and use it in GitHub Desktop.
fluentd reads df
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<source> | |
type exec | |
command df -k / | sed -E -e 1d -e 's/ +/ /g' -e 's/%//' | |
tag df | |
keys fs,1024_blocks,used,available,capacity,mounted_on | |
run_interval 30s | |
</source> | |
<match df> | |
type growthforecast | |
gfapi_url http://gf.example.com/api/ | |
service myservicename | |
section df_root | |
name_keys 1024_blocks,used,available,capacity | |
</match> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment