icinga2

Puppet Module for Icinga2 Core and Icinga2 Web2 Interface

Smit Jain

smitjainsj

7,416 downloads

6,568 latest version

1.0 quality score

Version information

  • 1.0.0 (latest)
  • 0.2.0
  • 0.1.2
  • 0.1.1
  • 0.1.0
  • 0.0.1
released Mar 15th 2016
This version is compatible with:
  • Puppet Enterprise 3.x
  • Puppet 3.x
  • Debian
    ,
    CentOS
    ,
    RedHat
    ,
    Ubuntu

Start using this module

Documentation

smitjainsj/icinga2 — version 0.1.2 Mar 15th 2016

icinga2

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 icinga2
  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 will install Icinga2 with Icingaweb2 Interface and MySQL as backend DB. This Module is valid for Ubuntu 14.x , Ubuntu 15.x and CentOS 6.x

Module Description

This Module will help you install Icingaweb2 and enable monitoring across several devices. As I was not able to find the Icingaweb2 all in on module, so myself decided to make it. As of now it only works for Ubuntu 14.x and 15.x but I am in process to make CentOS & RedHat very s oon.

This module doesn't have much functionality and will only install the Icinga2 Core and icingaw Web2 with latest verion .

Setup

What icinga2 affects

This requires a Fresh system where no instances of Icinga2, Icingaweb2 or MySQL should be present. It will be able to install it properly, hence clean the whole system first.

Setup Requirements OPTIONAL

Before installing kindly download the Stdlib and VCSREPO module for cloning the Git Repo.

Beginning with icinga2

The very basic steps needed for a user to get the module up and running.

If you are interested in Git latest work you can reach to the Git Repo of Icinga official

:https://github.com/Icinga/icingaweb2/blob/master/doc/installation.md

After Installation, the web interface can viewed from http://yourhostip/icingaweb2

The credentails are username : icingaadmin & password:icingaadmin

Usage

Just include the icinga2 class on the Puppet Server and you are to good to install further.

class {'icinga2':}

Post Installation - update the parameter " date.timezone = '' " " in "/etc/php.ini" .

Restart Apache Service and Icinga2 Service.

Example : date.timezone = 'Asia/Kolkata'

Reference

Here are some of the Classes which are working in background : icinga.pp : Installs the core icinga2. mysql.pp : Install the MySQL and configures it. icingaweb2.pp : Install and configure icingweb2 and MySQL

Limitations

Since this is initial version, hence it's only limited to Ubuntu 14.x and 15.x and will install the latest Icinga2 and Icingaweb2 Versions.

Development

For any development, you my reach out to the GitHub repo : github.com/smitjainsj/icinga2

Contribution

For any contribution, you may mail me at smitjain1990@gmail.com