Skip to content

Commit

Permalink
add GFMD highlighting to README
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Hoblitt committed Sep 21, 2013
1 parent e073c40 commit 3e285c8
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 18 deletions.
4 changes: 2 additions & 2 deletions Modulefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ author 'Joshua Hoblitt <[email protected]>'
license 'Apache'
project_page 'https://github.com/jhoblitt/puppet-ganglia'
source 'https://github.com/jhoblitt/puppet-ganglia.git'
summary 'install and configure the ganglia gmond & gmetad daemons + web front end'
description 'install and configure the ganglia gmond & gmetad daemons + web front end'
summary 'Install and configure the ganglia gmond & gmetad daemons + web front end'
description 'Install and configure the ganglia gmond & gmetad daemons + web front end'
dependency 'puppetlabs/stdlib', '>= 3.0.0'
61 changes: 45 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,39 @@ Puppet ganglia Module

[![Build Status](https://travis-ci.org/jhoblitt/puppet-ganglia.png)](https://travis-ci.org/jhoblitt/puppet-ganglia)

#### Table of Contents

1. [Overview](#overview)
2. [Description](#description)
3. [Usage](#usage)
* [`ganglia::gmond`](#gangliagmond)
* [`ganglia::gmetda`](#gangliagmetad)
* [`ganglia::web`](#gangliaweb)
4. [Limitations](#limitations)
* [Tested Platforms](#tested-platforms)
* [`$::osfamily == RedHat` and EPEL packages](#osfamily--redhat-and-epel-packages)
5. [Support](#support)


Overview
--------

Install and configure the ganglia gmond & gmetad daemons + web front end

Description
-----------

This puppet module will install and configure the
[ganglia](http://ganglia.sourceforge.net/) gmond & gmetad daemons + web front
end.

It has been tested on:
[`ganglia`](http://ganglia.sourceforge.net/) `gmond` & `gmetad` daemons + web
front end.

- el5.x
- el6.x

Examples
--------
Usage
-----

### ganglia::gmond

```puppet
# unicast
$udp_recv_channel = [
{ port => 8649, bind => 'localhost' },
Expand Down Expand Up @@ -54,9 +70,11 @@ Examples
udp_send_channel => $udp_send_channel,
tcp_accept_channel => $tcp_accept_channel,
}
```

### ganglia::gmetad

```puppet
$clusters = [
{
name => 'test',
Expand All @@ -68,18 +86,31 @@ Examples
clusters => $clusters,
gridname => 'my grid',
}
```

### ganglia::web

```puppet
class{ 'ganglia::web': }
class{ 'ganglia::web':
$ganglia_ip = '192.168.0.1',
$ganglia_port = 8652,
}
```

$::osfamily = RedHat and EPEL packages
--------------------------------------
Limitations
-----------

### Tested Platforms

It has been tested on:

* el5.x
* el6.x

`$::osfamily == RedHat` and EPEL packages
-----------------------------------------

As of 2012-11-16, the stable EPEL repos for el5 and el6 contain, respectively,
packages for ganglia 3.0.7 and 3.1.7. The ganglia UDP protocol for
Expand All @@ -94,6 +125,7 @@ install a custom fact). The example below divides the previous "mycluster"
into "mycluster_el5" and "mycluster_el6". Note that you will also have to
configure gmetad to pull a gmond agent from each of these new clusters.

```puppet
$udp_recv_channel = [
{ port => 8649, bind => 'localhost' },
{ port => 8649, bind => '0.0.0.0' },
Expand Down Expand Up @@ -130,15 +162,12 @@ configure gmetad to pull a gmond agent from each of these new clusters.
udp_send_channel => $udp_send_channel,
tcp_accept_channel => $tcp_accept_channel,
}

```

Support
-------

Please log tickets and issues at [github](https://github.com/jhoblitt/puppet-ganglia/issues)

Copyright
---------
Please log tickets and issues at
[github](https://github.com/jhoblitt/puppet-ganglia/issues)

Copyright (C) 2012-2013 Joshua Hoblitt <[email protected]>

0 comments on commit 3e285c8

Please sign in to comment.