forked from DavidS/puppet-collectd
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add final touches: bsd license and readme with info from announce mail
- Loading branch information
Showing
2 changed files
with
80 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Copyright (c) 2008, David Schmitt <david@dasz.at> for dasz.at OG | ||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions are met: | ||
|
||
* Redistributions of source code must retain the above copyright notice, | ||
this list of conditions and the following disclaimer. | ||
* Redistributions in binary form must reproduce the above copyright notice, | ||
this list of conditions and the following disclaimer in the documentation | ||
and/or other materials provided with the distribution. | ||
* Neither the name of "dasz.at OG" nor the names of its contributors | ||
may be used to endorse or promote products derived from this software | ||
without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND | ||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR | ||
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON | ||
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
Thanks | ||
====== | ||
|
||
Work on this module was made possible by funding from neoTactics, Inc. | ||
|
||
http://neotactics.com/ | ||
|
||
|
||
Collectd | ||
======== | ||
|
||
Collectd is a very lightweight system statistics gathering daemon. To quote | ||
from http://collectd.org/ : | ||
|
||
> [...] it's written in C for performance and portability, [...] It includes | ||
> optimizations and features to handle hundreds of thousands of data sets. It | ||
> comes with over 60 plugins [...]. It provides powerful networking features | ||
> and is extensible in numerous ways. Last but not least: collectd is actively | ||
> developed and supported and well documented. | ||
|
||
|
||
The Module | ||
========== | ||
|
||
The collectd puppet module contains high-level defines to configure the most | ||
important modules as well as native puppet types to manage the configuration | ||
files as well as collectd's notification and threshold rules. | ||
|
||
The mapping tries to use collectd's config file keywords as much as possible. | ||
Therefore any know-how should carry over pretty straight forward. | ||
|
||
You can find the module at http://git.black.co.at/?p=module-collectd | ||
|
||
|
||
Please send any patches and comments to this list for discussion. | ||
|
||
|
||
Caveats | ||
======= | ||
|
||
1. Due to the heterogeneous syntax of collectd's configuration files, I opted | ||
to split the Key-Value-style configuration of the daemon itself and the | ||
sections for the plugins into different native types. This in turn necessitates | ||
to have each plugin configuration in a separate file. The default "collectd" | ||
class in the module will setup the proper structures to automatically create | ||
the default locations and include them into the daemon's configuration. | ||
|
||
|
||
2. There are currently only a few plugins explicitly implemented. To implement | ||
a new plugin configuration, one just needs to specify a mapping from puppet | ||
resources' parameters to the actual configuration, which is really straight | ||
forward using the provided infrastructure. | ||
|
||
|