Skip to content

robertpitt/fluent-plugin-nginx-status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A simple Nginx status page monitor for FluentD

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages