blob: 49f494354e01ef8e39d77b34a215c01a95b8af97 [file] [log] [blame]
Ondrej Smola03ff34e2016-12-01 01:30:33 +01001parameters:
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
Éric Lemoine0aea85d2016-12-14 15:09:37 +000023 log_external_commands: 0
24 log_passive_checks: 0
25 log_initial_states: 1
Ondrej Smola03ff34e2016-12-01 01:30:33 +010026 ui:
27 enabled: true
28 port: ${_param:nagios_ui_port}
Éric Lemoine56a65d82016-12-14 15:10:19 +000029 auth:
30 basic:
31 username: ${_param:nagios_username}
32 password: ${_param:nagios_password}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010033 wsgi:
34 port: ${_param:nagios_status_port}
35 notification:
36 smtp:
37 host: ${_param:nagios_notification_smtp_server}
38 from: ${_param:nagios_notification_from}
39 dynamic:
40 enabled: true
41 grain_hostname: 'host'
Éric Lemoineaecf6592016-12-14 15:24:39 +000042 hostname_suffix: ${_param:stacklight_environment}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010043 hostgroups:
44 - target: '*'
45 name: All
46 expr_from: glob
47 - target: 'G@roles:nova.controller'
48 expr_from: compound # the default
49 name: Nova Controller
50 - target: 'G@roles:nova.compute'
51 name: Nova Compute
52 - target: 'G@roles:keystone.server'
53 name: Keystone server
54 - target: 'G@roles:influxdb.server'
55 name: InfluxDB server
56 - target: 'G@roles:elasticsearch.server'
57 name: Elasticsearchserver
58 hosts:
59 - target: 'G@services:openssh'
60 contact_groups: Operator
61 use: generic_host_tpl
62 interface:
63 - eth0
64 - ens3
65 - p4p1.602
66 services:
67 - target: 'G@roles:openssh.server'
68 name: SSH
69 use: generic_service_tpl
70 check_command: check_ssh
71 stacklight_alarms:
72 enabled: true
73 service_template: generic_service_tpl
74 stacklight_alarm_clusters:
75 enabled: true
76 service_template: generic_service_tpl
77 host_template: generic_host_tpl
78 dimension_key: ${_param:nagios_host_dimension_key}
79 default_host: ${_param:nagios_default_host_alarm_clusters}
80 objects:
81 contactgroups:
82 operator:
83 contactgroup_name: Operator
84 contacts:
85 operator:
86 alias: 'root_at_localhost'
87 contact_name: Operator
88 contactgroups:
89 - Operator
90 email: ${_param:nagios_notification_email}
91 host_notifications_enabled: 1
92 host_notification_period: 24x7
93 host_notification_options: 'd,r'
94 host_notification_commands: notify-host-by-smtp
95 service_notifications_enabled: 1
96 service_notification_period: 24x7
97 service_notification_options: 'w,u,c,r'
98 service_notification_commands: notify-service-by-smtp
99 hosts:
100 generic_host_tpl:
101 notifications_enabled: 1
102 event_handler_enabled: 1
103 flap_detection_enabled: 1
104 failure_prediction_enabled: 1
105 process_perf_data: 0
106 retain_status_information: 1
107 retain_nonstatus_information: 1
108 max_check_attempts: 10
109 notification_interval: 0
110 notification_period: 24x7
111 notification_options: d,u,r
112 contact_groups: Operator
113 register: 0
114 services:
115 generic_service_tpl:
116 register: 0
117 contact_groups: Operator
118 process_perf_data: 0
119 max_check_attempts: 3
120