Macklog
mackerelのログ監視プラグインです。 指定したファイルに指定したワードが出力された場合、Criticalアラートを出力します。
Installation
gem 'macklog'
Usage
mackerel-agent.conf
[plugin.checks.http_fatal_error]
command = "macklog -f /var/log/httpd/error.log -w fatal -i"
Contributing
- Fork it ( https://github.com/[my-github-username]/macklog/fork )
- 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 a new Pull Request