No commit activity in last 3 years
No release in over 3 years
Nginx status page monitor for FleuntD
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

~> 0.10.9
 Project Readme

Fluent::Plugin::NginxStatus, a plugin for Fluentd

Installation

Add this line to your application's Gemfile:

gem 'fluent-plugin-nginx-status'

Or install it yourself as:

$ gem install fluent-plugin-nginx-status

Or use td-agent : (on Ubuntu12.04)

$ sudo /usr/lib/fluent/ruby/bin/fluent-gem install fluent-plugin-nginx-status

Configuration

Adding the following source block will enable the nginx status plugin for FluentD

<source>
    type nginx_status
    tag  nginx.status.localhost
</source>

You also need to enable the nginx_status page in your nginx configuration, see the following link for more details:

http://wiki.nginx.org/HttpStubStatusModule

Options

Key Default Required
tag nginx.status yes
host 127.0.0.1 no
port 80 no
path /nginx_status no
interval 1 no