GithubHelp home page GithubHelp logo

isabella232 / puppet-kapacitor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from unity-technologies/puppet-kapacitor

0.0 0.0 0.0 3 KB

A Puppet module for installing and configuring Kapacitor - https://influxdata.com/time-series-platform/kapacitor

License: MIT License

Puppet 100.00%

puppet-kapacitor's Introduction

kapacitor

Module Description

Kapacitor is a data processing engine. It can process both stream (subscribe realtime) and batch (bulk query) data from InfluxDB. Kapacitor lets you define custom logic to process alerts with dynamic thresholds, match metrics for patterns, compute statistical anomalies, etc. This module installs Kapacitor and provides the ability to customise the configuration. This module aims to be generic and simple.

Setup

What the kapacitor Puppet module affects:

  • Package installation
  • Service management
  • Configuration files

Usage

include kapacitor

This will simply call the package as a standard resource and thus assumes you have configured a repository that contains the package, be it your own or a third party. For most production environments this assumption should be appropriate as external access is often restricted.

If you do not have such restrictions and do not want to configure a repository you can simply request that the package be fetched from the internet:

class { 'kapacitor':
    package_source => 'web',
}

Hiera Support

It is recommended that Hiera is used, but not required. Below is an example configuration:

site.pp

hiera_include('classes', [])

mynode.example.org.yaml

clases:
    - kapacitor

kapacitor::package_source: web

Reference

Classes

Class: kapacitor

Guides the basic setup and installation of kapacitor on your system.

When this class is declared with the default options, Puppet:

  • Installs the appropriate Kapacitor software package for your operating system (assumes you have a repository configured).
  • Places the required configuration files in a directory, with the default location determined by your operating system.
  • Starts the Kapacitor service.

Paramters within kapacitor:

package_source Determines how to install the package. Valid options: undef, 'web'. Default: undef

Limitations

Puppet Future Parser

This module is written using features that are found in the future parser and is not backwards compatible.

Development

Contributing

Please feel free to fork this module, make the appropriate changes in a feature branch, and submit a pull request.

Running Tests

TBD

puppet-kapacitor's People

Contributors

pckls avatar

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.