Giter Club home page Giter Club logo

puppet-shinken's Introduction

Build Status

shinken

Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with shinken
  4. Usage - Configuration options and additional functionality
  5. Reference - An under-the-hood peek at what the module is doing and how
  6. Limitations - OS compatibility, etc.
  7. Development - Guide for contributing to the module

Overview

This puppet module installs Shinken, an open source monitoring framework.

Module Description

Shinken is a useful open source monitoring framework, and this module provides a simplified way of creating configurations to manage your infrastructure.

This module installs Shinken and helps you to configure it.

Setup

What shinken affects

  • Configuration files and directories (created and written to)
  • package/service/configuration files for Shinken
  • Shinken modules

Setup Requirements

This module requires nothing extra before setting up.

Beginning with shinken

To install Shinken with the default parameters:

    class { 'shinken': }

The defaults are determined as below, and you can establish customized parameters.

    class { 'shinken':
      ensure      => present,
      user        => 'shinken',
      group       => 'shinken',
      modules     => [],
      conf_dir    => '/etc/shinken',
      modules_dir => '/etc/shinken/modules',
      daemons_dir => '/etc/shinken/daemons',
    }

Usage

This module modifies Shinken configuration files and directories and purges any configuration not managed by Puppet. Configuration of Shinken should be managed by Puppet, as non-Puppet configuration files can cause unexpected failures.

By default the webui is available:

Reference

Classes

Public Classes

Class: shinken

The shinken module's primary class, shinken, guides the basic setup of Shinken on your system.

You can use hiera to set some parameters.

Parameters within shinken:

group

Changes the group that Shinken will answer requests as. The parent process will continue to be run as root, but resource accesses by child processes will be done under this group. This group is also the owner group of the shinken items. Default: shinken

user

Changes the user that Shinken will answer requests as. The parent process will continue to be run as root, but resource accesses by child processes will be done under this user. This user is also the owner of the shinken items. Default: shinken

modules

is an array of shinken modules (See the official list.).

Private Classes

Class: shinken::files

Class: shinken::install

Class: shinken::service

Class: shinken::users

Private Defines

Define: shinken::file

Define: shinken::module

Define: shinken::undef_package

Limitations

This module is CI tested on Centos 5 & 6, Ubuntu 12.04 & 14.04, Debian 6 & 7, and RHEL 6 & 7 platforms against the OSS version of Puppet.

Development

oloc modules on the Puppet Forge are open projects, and community contributions are essential for keeping them great. Do not hesitate to contribute by pull requests.

puppet-shinken's People

Contributors

jjpryor avatar oloc avatar

Watchers

 avatar  avatar

puppet-shinken's Issues

CentOS7 Support

Error: Execution of '/bin/yum -d 0 -e 0 -y list nagios-plugins-standard' returned 1: Error: No matching Packages to list
Error: /Stage[main]/Shinken::Packages/Shinken::Undef_package[nagios-plugins-standard]/Package[nagios-plugins-standard]/ensure: change from absent to present failed: Execution of '/bin/yum -d 0 -e 0 -y list nagios-plugins-standard' returned 1: Error: No matching Packages to list
Notice: /Stage[main]/Motd/Exec[remove-old-puppet-environment]/returns: executed successfully
Notice: /Stage[main]/Motd/Exec[update-puppet-environment]/returns: executed successfully
Error: Execution of '/bin/yum -d 0 -e 0 -y list python-cherrypy3' returned 1: Error: No matching Packages to list
Error: /Stage[main]/Shinken::Packages/Shinken::Undef_package[python-cherrypy3]/Package[python-cherrypy3]/ensure: change from absent to present failed: Execution of '/bin/yum -d 0 -e 0 -y list python-cherrypy3' returned 1: Error: No matching Packages to list
Notice: /Package[requests]: Dependency Package[python-cherrypy3] has failures: true

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.