Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame^] | 1 | parameters: |
| 2 | _param: |
| 3 | nagios_notification_email: root@localhost |
| 4 | nagios_host_dimension_key: nagios_host |
| 5 | nagios_default_host_alarm_clusters: 00-clusters |
| 6 | nagios : |
| 7 | server: |
| 8 | enabled: true |
| 9 | check_external_commands: 1 |
| 10 | command_check_interval: 15s |
| 11 | log_external_commands: 1 |
| 12 | log_passive_checks: 1 |
| 13 | log_rotation_method: d |
| 14 | accept_passive_service_checks: 1 |
| 15 | accept_passive_host_checks: 0 |
| 16 | enable_notifications: 1 |
| 17 | execute_service_checks: 1 |
| 18 | execute_host_checks: 1 |
| 19 | process_performance_data: 0 |
| 20 | check_service_freshness: 1 |
| 21 | check_host_freshness: 0 |
| 22 | purge_distribution_config: true |
| 23 | ui: |
| 24 | enabled: true |
| 25 | port: ${_param:nagios_ui_port} |
| 26 | basic_auth: |
| 27 | username: ${_param:nagios_username} |
| 28 | password: ${_param:nagios_password} |
| 29 | wsgi: |
| 30 | port: ${_param:nagios_status_port} |
| 31 | notification: |
| 32 | smtp: |
| 33 | host: ${_param:nagios_notification_smtp_server} |
| 34 | from: ${_param:nagios_notification_from} |
| 35 | dynamic: |
| 36 | enabled: true |
| 37 | grain_hostname: 'host' |
| 38 | hostgroups: |
| 39 | - target: '*' |
| 40 | name: All |
| 41 | expr_from: glob |
| 42 | - target: 'G@roles:nova.controller' |
| 43 | expr_from: compound # the default |
| 44 | name: Nova Controller |
| 45 | - target: 'G@roles:nova.compute' |
| 46 | name: Nova Compute |
| 47 | - target: 'G@roles:keystone.server' |
| 48 | name: Keystone server |
| 49 | - target: 'G@roles:influxdb.server' |
| 50 | name: InfluxDB server |
| 51 | - target: 'G@roles:elasticsearch.server' |
| 52 | name: Elasticsearchserver |
| 53 | hosts: |
| 54 | - target: 'G@services:openssh' |
| 55 | contact_groups: Operator |
| 56 | use: generic_host_tpl |
| 57 | interface: |
| 58 | - eth0 |
| 59 | - ens3 |
| 60 | - p4p1.602 |
| 61 | services: |
| 62 | - target: 'G@roles:openssh.server' |
| 63 | name: SSH |
| 64 | use: generic_service_tpl |
| 65 | check_command: check_ssh |
| 66 | stacklight_alarms: |
| 67 | enabled: true |
| 68 | service_template: generic_service_tpl |
| 69 | stacklight_alarm_clusters: |
| 70 | enabled: true |
| 71 | service_template: generic_service_tpl |
| 72 | host_template: generic_host_tpl |
| 73 | dimension_key: ${_param:nagios_host_dimension_key} |
| 74 | default_host: ${_param:nagios_default_host_alarm_clusters} |
| 75 | objects: |
| 76 | contactgroups: |
| 77 | operator: |
| 78 | contactgroup_name: Operator |
| 79 | contacts: |
| 80 | operator: |
| 81 | alias: 'root_at_localhost' |
| 82 | contact_name: Operator |
| 83 | contactgroups: |
| 84 | - Operator |
| 85 | email: ${_param:nagios_notification_email} |
| 86 | host_notifications_enabled: 1 |
| 87 | host_notification_period: 24x7 |
| 88 | host_notification_options: 'd,r' |
| 89 | host_notification_commands: notify-host-by-smtp |
| 90 | service_notifications_enabled: 1 |
| 91 | service_notification_period: 24x7 |
| 92 | service_notification_options: 'w,u,c,r' |
| 93 | service_notification_commands: notify-service-by-smtp |
| 94 | hosts: |
| 95 | generic_host_tpl: |
| 96 | notifications_enabled: 1 |
| 97 | event_handler_enabled: 1 |
| 98 | flap_detection_enabled: 1 |
| 99 | failure_prediction_enabled: 1 |
| 100 | process_perf_data: 0 |
| 101 | retain_status_information: 1 |
| 102 | retain_nonstatus_information: 1 |
| 103 | max_check_attempts: 10 |
| 104 | notification_interval: 0 |
| 105 | notification_period: 24x7 |
| 106 | notification_options: d,u,r |
| 107 | contact_groups: Operator |
| 108 | register: 0 |
| 109 | services: |
| 110 | generic_service_tpl: |
| 111 | register: 0 |
| 112 | contact_groups: Operator |
| 113 | process_perf_data: 0 |
| 114 | max_check_attempts: 3 |
| 115 | |