Forge Home

icinga2

Puppet Module for Icinga2 Core and Icinga2 Web2 Interface

8,632 downloads

7,630 latest version

1.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

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

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'smitjainsj-icinga2', '0.1.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add smitjainsj-icinga2
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install smitjainsj-icinga2 --version 0.1.2

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

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