Sha256: 4be1c23c030e9f181e82086555018a5a954530355e61bd2f6c0a74984a0a2994

Contents?: true

Size: 1.37 KB

Versions: 1

Compression:

Stored size: 1.37 KB

Contents

# fluent-plugin-proc_count
[![Gem Version](https://badge.fury.io/rb/fluent-plugin-proc_count.svg)](http://badge.fury.io/rb/fluent-plugin-proc_count)
[![Build Status](https://secure.travis-ci.org/toyama0919/fluent-plugin-proc_count.png?branch=master)](http://travis-ci.org/toyama0919/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

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](../../pull/new/master)

## Information

* [Homepage](https://github.com/toyama0919/fluent-plugin-proc_count)
* [Issues](https://github.com/toyama0919/fluent-plugin-proc_count/issues)
* [Documentation](http://rubydoc.info/gems/fluent-plugin-proc_count/frames)
* [Email](mailto:toyama0919@gmail.com)

## Copyright

Copyright (c) 2016 toyama0919

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fluent-plugin-proc_count-0.0.2 README.md