Skip to content

toyama0919/fluent-plugin-proc_count

Repository files navigation

fluent-plugin-proc_count

Gem Version Build Status

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

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Information

Copyright

Copyright (c) 2016 toyama0919

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages