Public | Automated Build

Last pushed: 2 years ago
Short Description
Extract metrics from Ganglia Monitoring Daemon (gmond) to Fluentd.
Full Description

gmond2fluentd

Repository name in Docker Hub: williamyeh/gmond2fluentd

This program extracts metrics from Ganglia Monitoring Daemon (gmond) to Fluentd.

Usage

Same as native executable, excluding -s and -d options since they are replaced by Docker's container linking mechanism.

Usage:

  docker run williamyeh/gmond2fluentd  \
      --link ganglia:ganglia  \
      --link fluentd:fluentd  \
      tcp  [options]

  docker run williamyeh/gmond2fluentd  \
      --link ganglia:ganglia  \
      --volumes-from fluentd  \
      file <json_file>  [options]

  docker run williamyeh/gmond2fluentd  --help

  docker run williamyeh/gmond2fluentd  --version


Options:

  -t <tag>, --tag <tag>             tag sending to Fluentd's in_forward plugin
                                      [default: ganglia].

  -p <seconds>, --period <seconds>  interval of metric query [default: 60]

  --stdout                          also dump to stdout.

Demo

  1. Send to Fluentd's in_forward (TCP port 24224):

    $ docker-compose  up  -d
    
    $ docker logs -f docker_demotcp_1
    
  1. Send to Fluentd's in_tail (plaintext file)

    $ docker-compose  -f docker-compose-file.yml  up  -d
    
    $ docker logs -f docker_demofile_1
    

Dependencies

  • williamyeh/dash, a Docker image for static DASH (“the Debian Almquist Shell”) without GPLv2 parts.

History

  • 0.3 - Static Go binary + DASH (without GPLv2 parts).
  • 0.2 - Static Go binary + pure busybox.
  • 0.1 - Initial release.

License

Apache License V2.0. See LICENSE file for details.

Docker Pull Command
Owner
williamyeh
Source Repository