icinga2::feature::idomysql::import_schema: true
site::profile::icinga2::object::user:
- icingaadmin:
+ 'icingaadmin':
target: '/etc/icinga2/conf.d/users.conf'
display_name: 'Icinga2-Admin'
import:
groups:
- 'icingaadmins'
email: 'thomas.dalichow@pixelpark.com'
+ 'generic-user':
+ target: '/etc/icinga2/conf.d/user-templates.conf'
+ template: true
site::profile::icinga2::object::usergroup:
- icingaadmins:
+ 'icingaadmins':
target: '/etc/icinga2/conf.d/users.conf'
display_name: 'Icinga2 Admin Group'
+site::profile::icinga2::object::host:
+ 'generic-host':
+ target: '/etc/icinga2/conf.d/host-templates.conf'
+ template: true
+ max_check_attempts: '3'
+ check_interval: '1m'
+ retry_interval: '30s'
+ check_command: 'hostalive'
+
+site::profile::icinga2::object::service:
+ 'generic-service':
+ target: '/etc/icinga2/conf.d/service-templates.conf'
+ template: true
+ max_check_attempts: '5'
+ check_interval: '1m'
+ retry_interval: '30s'
+ check_command: 'hostalive'
+
+site::profile::icinga2::object::notification:
+ 'mail-host-notification':
+ target: '/etc/icinga2/conf.d/notification-templates.conf'
+ command: 'mail-host-notification'
+ template: true
+ states:
+ - 'Up'
+ - 'Down'
+ types:
+ - 'Problem'
+ - 'Acknowledgement'
+ - 'Recovery'
+ - 'Custom'
+ - 'FlappingStart'
+ - 'FlappingEnd'
+ - 'DowntimeStart'
+ - 'DowntimeEnd'
+ - 'DowntimeRemoved'
+ period: '24x7'
+ 'mail-service-notification':
+ target: '/etc/icinga2/conf.d/notification-templates.conf'
+ command: 'mail-service-notification'
+ template: true
+ states:
+ - 'OK'
+ - 'Warning'
+ - 'Critical'
+ - 'Unknown'
+ types:
+ - 'Problem'
+ - 'Acknowledgement'
+ - 'Recovery'
+ - 'Custom'
+ - 'FlappingStart'
+ - 'FlappingEnd'
+ - 'DowntimeStart'
+ - 'DowntimeEnd'
+ - 'DowntimeRemoved'
+ period: '24x7'
+
# icinga2 end