module-icinga2/templates/icinga2.conf.erb
2014-09-13 19:46:24 -07:00

62 lines
2 KiB
Text

######################################################################################
# /etc/icinga2/icinga2.conf config file template. Based on the file included in
# the Icinga 2 apt and yum packages
# Autogenerated by Puppet
# (c) Nicholas Chappell, 2014
######################################################################################
###########################################
# !!!WARNING!!! #
###########################################
# This file is automatically generated by #
# Puppet. Any manual changes made to it #
# **WILL** get overwritten! #
###########################################
/**
* Icinga 2 configuration file
* - this is where you define settings for the Icinga application including
* which hosts/services to check.
*
* For an overview of all available configuration options please refer
* to the documentation that is distributed as part of Icinga 2.
*/
/**
* The constants.conf defines global constants.
*/
include "constants.conf"
/**
* The zones.conf defines zones for a cluster setup.
* Not required for single instance setups.
*/
include "zones.conf"
/**
* The Icinga Template Library (ITL) provides a number of useful templates
* and command definitions.
* Common monitoring plugin command definitions are included separately.
*/
include <itl>
include <plugins>
/**
* The features-available directory contains a number of configuration
* files for features which can be enabled and disabled using the
* icinga2-enable-feature / icinga2-disable-feature tools. These two tools work by creating
* and removing symbolic links in the features-enabled directory.
*/
include "features-enabled/*.conf"
/**
* Although in theory you could define all your objects in this file
* the preferred way is to create separate directories and files in the conf.d
* directory. Each of these files must have the file extension ".conf".
*/
include_recursive "conf.d"
/**
* Include all .conf files in the objects/ directory too:
*/
include_recursive "objects"