Code Monkey home page Code Monkey logo

fluent-plugin-ganglia's Introduction

fluent-plugin-ganglia

Plugin to output values to Ganglia.

Usage

gmond is configured with multicast

When gmond is configured with multicast and bind_hostname as below:

udp_send_channel {
    mcast_join    = 239.2.11.71
    bind_hostname = yes
    port          = 8640
    ...
}

You should specify mcast_join ip address to host and set bind_hostname true:

<match metrics>
  type          ganglia
  host          239.2.11.71
  port          8649
  group         metric_group
  name_keys     metrics.field1,metrics.field2
  bind_hostname true
</match>

gmond is configured with unicast

When gmond is configured with unicast, you should specify host and port with same value of gmond.conf:

<match metrics>
  type              ganglia
  host              192.0.2.100
  port              8649
  group             metric_group
  name_key_pattern  ^field
</match>

Configuration

  • type
    • required "ganglia"
  • name_keys or name_key_pattern
    • required
    • specify key name by name_keys or regexp pattern of keys by name_key_pattern
  • add_key_prefix
    • string to add key prefix
  • host
    • host to send metric (default=127.0.0.1)
  • post
    • port of host to send metric (default=8649)
  • value_type
    • type of value
    • same as gmetric --type
  • units
    • unit of value
    • same as gemtric --units
  • group
    • metric group
    • same as gemtric --group
  • title
    • metric title
    • same as gemtric --title
  • tmax
    • maximum time in seconds between gmetric calls. (default=60)
    • same as gemtric --tmax
  • dmax
    • lifetime in seconds of this metric. (default=0)
    • same as gemtric --dmax
  • slope
    • Either zero|positive|negative|both. (default=both)
    • same as gemtric --slope
  • spoof
    • IP address and name of host/device we are spoofing. (default=nil)
    • same as gmetric --spooof
  • bind_hostname
    • whether upd_send_channel.bind_hostname is yes(true) or no(fale). (default=false)

License

Apache License, Version 2.0

Copyright

Copyright (c) 2013 Hiroshi Sakai

fluent-plugin-ganglia's People

Contributors

ziguzagu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

junichi-tanaka

fluent-plugin-ganglia's Issues

how to use the plugin

hi,I want use ganglia to monitor Fluentd's status,I had installed the plugin,then,I had modified /etc/td-agent/td-agend.conf like this:

@type monitor_agent bind 0.0.0.0 port 24220 type ganglia host 239.2.11.71 port 8649 group metric_group name_keys metrics.field1,metrics.field2 bind_hostname true

but,ganglia did not show fluent metric ,so ,I think if there is some configuration of gmond must to be set up?
Is there anyone can help me how to use the plugin ?
THX!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.