GithubHelp home page GithubHelp logo

icingaweb2's Introduction

icingaweb2

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 icingaweb2
  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

The icinga web 2 modules allows you to setup an Icinga Web 2 front end.

Module Description

This modules installs [icinga web 2] (http://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/getting-started#setting-up-icingaweb2) front end. It requires to access data generated on a database by an Icinga server backend, not provided by this module.

If you need an Icinga backend you can use this module.

Setup

What icingaweb2 affects

  • configuration files and directory (/etc/icingaweb2)
  • apache configuration (installs /etc/httpd/conf.d/icingaweb2.conf)
  • a new yum repository will be installed by default

The yum repository installation can be disabled passing with_repo => False to the icinga class.

  • Can be in list or paragraph form.

Setup Requirements

An Icinga backend server is required, although it does not need to be on the same host, since the communication will happen through the database.

Beginning with icingaweb2

To install Icinga Web 2 with default parameters

 class {'::icingaweb2': }

In the case you are installing Icinga Web 2 on the same host where is the Icinga2 server, one of the two classes will fail since they will conflict on the management of the repository.

In that case you should install Icinga Web 2 with:

class{'::icingaweb2': with_repo => False, }

Furthermore you will tipically adjust database parameters. An icinga web 2 will need access to two databases:

  • the backend database (icinga2), having informations about host checks, services, etc.;
  • the frontend database (icinga2), where user preferences are stored.

The configuration of both the databases can be passed to the class:

 class { '::icingaweb2':
 ## backend database
 dbhost     => 'icinga-db-server',
 dbtype	    => 'mysql',
 dbname	    => 'icinga',
 dbuser	    => 'icinga',
 dbpasswd   => 'icinga',
 dbame	    => 'icinga',
 ## frontend database
   	dbwebtype   => 'mysql',
   	dbwebhost   => 'localhost',
   	dbwebport   => '3306',
   	dbwebuser   => 'icinga_web',
   	dbwebpasswd => 'icinga_web',
   	dbwebname   => 'icinga_web',
 ##	modules list
    modules     => ['monitoring']
 }

Furthermore the module parameter contains the list of modules to enable. Actually the only available modules are:

  • monitoring
  • setup, for first installation.

Limitations

This module has been tested on Scientific Linux 6 and CentOS 6 with Puppet 3.1.1 and 3.7.4. It should be compatible with any RedHat 6 based distribution.

icingaweb2's People

Contributors

desalvo avatar talamoig avatar

Watchers

James Cloos avatar  avatar

Forkers

buzzdeee

icingaweb2's Issues

Modules missing

Hi there,
I managed to install those two amazing modules talamoig/icingaweb2 and talamoig/icinga, in different hosts with remote MySal server, now that I can authenticate through icingaweb2 with my admin and also I gave him the permissions to everything "*", when I activate the modules setup or monitoring a problem occurs and I can't find a clue for that..

For setup module:
`Could not enable module "setup"
While operation the following error occurred:
Cannot enable module "setup". Check the permissions for the enabledModules directory: /etc/icingaweb2/enabledModules

This could have one or more of the following reasons:

No file permissions to write into module directory
Errors on filesystems: Mount points, operational errors
General application error
Details can be seen in your application log (if you don't have access to this file, call your administrator in this case).`

for monitoring module:
`
Could not enable module "monitoring"
While operation the following error occurred:
Cannot enable module "monitoring". Check the permissions for the enabledModules directory: /etc/icingaweb2/enabledModules

This could have one or more of the following reasons:

No file permissions to write into module directory
Errors on filesystems: Mount points, operational errors
General application error
Details can be seen in your application log (if you don't have access to this file, call your administrator in this case).`

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.