fluent-plugin-proc_count
process count check plugin for fluentd
Examples
<source>
@type proc_count
interval 60s
<process>
tag proc_count.fluentd
regexp bin/fluentd
proc_count 2 # expect process count
</process>
<process>
tag proc_count.embulk
regexp embulk
proc_count 1 # expect process count
</process>
</source>
<match **>
@type stdout
</match>
output
# output: proc_count.example: {"regexp":"embulk","proc_count":0,"expect_proc_count":1,"hostname":"npc064.local"}
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Information
Copyright
Copyright (c) 2016 toyama0919