No description
Find a file
2014-07-06 16:57:39 -07:00
manifests Add parameters for Nagios plugin pacakges and install them with a package resource in the icinga2::server::packages class so we can get the Nagios plugin packages Icinga 2 servers. 2014-07-05 22:00:20 -07:00
templates Add the objects/ directory as one to recursively include when looking for ojbect definitions. 2014-07-05 16:34:12 -07:00
CHANGELOG.md Initial commit. 2014-05-02 19:36:32 -07:00
LICENSE Initial commit. 2014-05-02 19:36:32 -07:00
Modulefile Initial commit. 2014-05-02 19:36:32 -07:00
README.md Added server requirements section text. 2014-07-06 16:57:39 -07:00

#puppet-icinga2


This module installs and configures the Icinga 2 monitoring system. It can also install and configure NRPE on client systems that are being monitored by an Icinga 2 server.

The module has only been tested on CentOS 6.5 and Ubuntu 12.04 and 14.04. Red Hat and other EL derivatives, like Fedora, should work, but have not been tested.

###Requirements

Coming soon...

####Server requirements

Icinga 2 requires either a MySQL or a Postgres database.

Currently, this module does not set up any databases. You'll have to create one before installing Icinga 2 via the module.

After setting up either a MySQL or Postgres database, specify the type of database with the server_db_type parameter (default is pgsql for Postgres):

  #Install Icinga 2:
  class { 'icinga2::server': 
    server_db_type => 'pgsql',
	...
	...
  }

Database connection parameters can be specified by the db_host, db_port, db_name, db_user and db_password parameters:

  #Install Icinga 2:
  class { 'icinga2::server': 
    server_db_type => 'pgsql',
	db_host => 'localhost'
	db_port => '5432'
	db_name => 'icinga2_data'
	db_user => 'icinga2'
	db_password => 'password'
  }

When the server_db_type parameter is set, the right IDO database connection packages are automatically installed and the schema is loaded.

Note: For production use, you'll probably want to get the database password via a Hiera lookup so the password isn't sitting in your site manifests in plain text.

###Usage

Coming soon...