icinga2.conf.erb 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. ######################################################################################
  2. # /etc/icinga2/icinga2.conf config file template. Based on the file included in
  3. # the Icinga 2 apt and yum packages
  4. # Autogenerated by Puppet
  5. # (c) Nicholas Chappell, 2014
  6. ######################################################################################
  7. ###########################################
  8. # !!!WARNING!!! #
  9. ###########################################
  10. # This file is automatically generated by #
  11. # Puppet. Any manual changes made to it #
  12. # **WILL** get overwritten! #
  13. ###########################################
  14. /**
  15. * Icinga 2 configuration file
  16. * - this is where you define settings for the Icinga application including
  17. * which hosts/services to check.
  18. *
  19. * For an overview of all available configuration options please refer
  20. * to the documentation that is distributed as part of Icinga 2.
  21. */
  22. /**
  23. * The constants.conf defines global constants.
  24. */
  25. include "constants.conf"
  26. /**
  27. * The zones.conf defines zones for a cluster setup.
  28. * Not required for single instance setups.
  29. */
  30. include "zones.conf"
  31. /**
  32. * The Icinga Template Library (ITL) provides a number of useful templates
  33. * and command definitions.
  34. * Common monitoring plugin command definitions are included separately.
  35. */
  36. include <itl>
  37. include <plugins>
  38. /**
  39. * The features-available directory contains a number of configuration
  40. * files for features which can be enabled and disabled using the
  41. * icinga2-enable-feature / icinga2-disable-feature tools. These two tools work by creating
  42. * and removing symbolic links in the features-enabled directory.
  43. */
  44. include "features-enabled/*.conf"
  45. /**
  46. * Although in theory you could define all your objects in this file
  47. * the preferred way is to create separate directories and files in the conf.d
  48. * directory. Each of these files must have the file extension ".conf".
  49. */
  50. include_recursive "conf.d"
  51. /**
  52. * Include all .conf files in the objects/ directory too:
  53. */
  54. include_recursive "objects"