--- icinga2_db_type: mysql icinga2_ido_host: 127.0.0.1 icinga2_ido_database: icinga2 icinga2_ido_user: icinga2 icinga2_master: false icinga2_endpoints: localhost: 127.0.0.1 icinga2_zones: master: endpoints: - localhost icinga2_templates: generic-host: type: host vars: os: Linux options: check_command: hostalive check_interval: 1m retry_interval: 30s max_check_attempts: 3 generic-service: type: service options: max_check_attempts: 5 check_interval: 1m retry_interval: 30s icinga2_services: ping: check_command: ping assign: host.address ssh: check_command: ssh assign: (host.address || host.address6) && host.vars.os == "Linux" icinga2_hosts: localhost: template: generic-host address: 127.0.0.1 icinga2_timeperiods: 24x7: ranges: monday: 00:00-24:00 tuesday: 00:00-24:00 wednesday: 00:00-24:00 thursday: 00:00-24:00 friday: 00:00-24:00 saturday: 00:00-24:00 sunday: 00:00-24:00 9to5: ranges: monday: 09:00-17:00 tuesday: 09:00-17:00 wednesday: 09:00-17:00 thursday: 09:00-17:00 friday: 09:00-17:00 nevers: icinga2_notifications: mail-icingaadmin-host: type: Host import: mail-host-notification assign: host.vars.notification.mail groups: host.vars.notification.mail.groups users: host.vars.notification.mail.users mail-icingaadmin-service: type: Service import: mail-service-notification assign: host.vars.notification.mail groups: host.vars.notification.mail.groups users: host.vars.notification.mail.users icinga2_notification_commands: mail-host-notification: script: mail-host-notification.sh env: NOTIFICATIONTYPE: $notification.type$ HOSTDISPLAYNAME: $host.display_name$ HOSTNAME: $host.name$ HOSTADDRESS: $address$ HOSTSTATE: $host.state$ LONGDATETIME: $icinga.long_date_time$ HOSTOUTPUT: $host.output$ NOTIFICATIONAUTHORNAME: $notification.author$ NOTIFICATIONCOMMENT: $notification.comment$ USEREMAIL: $user.email$ MAILFROM: $notification_from$ mail-service-notification: script: mail-service-notification.sh env: NOTIFICATIONTYPE: $notification.type$ SERVICENAME: $service.name$ HOSTNAME: $host.name$ HOSTDISPLAYNAME: $host.display_name$ HOSTADDRESS: $address$ SERVICESTATE: $service.state$ LONGDATETIME: $icinga.long_date_time$ SERVICEOUTPUT: $service.output$ NOTIFICATIONAUTHORNAME: $notification.author$ NOTIFICATIONCOMMENT: $notification.comment$ SERVICEDISPLAYNAME: $service.display_name$ USEREMAIL: $user.email$ MAILFROM: $notification_from$ icinga2_features: {} icinga2_user_groups: {} icinga2_host_groups: {} icinga2_service_groups: {} icinga2_users: {} icinga2_api_users: {} icinga2_check_commands: {} icinga2_event_commands: {} icinga2_dependencies: {} icinga2_scripts: {}