blob: b5fea3b646616bac0217894139ddcd070e4c3ffe [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'
42 hostgroups:
43 - target: '*'
44 name: All
45 expr_from: glob
46 - target: 'G@roles:nova.controller'
47 expr_from: compound # the default
48 name: Nova Controller
49 - target: 'G@roles:nova.compute'
50 name: Nova Compute
51 - target: 'G@roles:keystone.server'
52 name: Keystone server
53 - target: 'G@roles:influxdb.server'
54 name: InfluxDB server
55 - target: 'G@roles:elasticsearch.server'
56 name: Elasticsearchserver
57 hosts:
58 - target: 'G@services:openssh'
59 contact_groups: Operator
60 use: generic_host_tpl
61 interface:
62 - eth0
63 - ens3
64 - p4p1.602
65 services:
66 - target: 'G@roles:openssh.server'
67 name: SSH
68 use: generic_service_tpl
69 check_command: check_ssh
70 stacklight_alarms:
71 enabled: true
72 service_template: generic_service_tpl
73 stacklight_alarm_clusters:
74 enabled: true
75 service_template: generic_service_tpl
76 host_template: generic_host_tpl
77 dimension_key: ${_param:nagios_host_dimension_key}
78 default_host: ${_param:nagios_default_host_alarm_clusters}
79 objects:
80 contactgroups:
81 operator:
82 contactgroup_name: Operator
83 contacts:
84 operator:
85 alias: 'root_at_localhost'
86 contact_name: Operator
87 contactgroups:
88 - Operator
89 email: ${_param:nagios_notification_email}
90 host_notifications_enabled: 1
91 host_notification_period: 24x7
92 host_notification_options: 'd,r'
93 host_notification_commands: notify-host-by-smtp
94 service_notifications_enabled: 1
95 service_notification_period: 24x7
96 service_notification_options: 'w,u,c,r'
97 service_notification_commands: notify-service-by-smtp
98 hosts:
99 generic_host_tpl:
100 notifications_enabled: 1
101 event_handler_enabled: 1
102 flap_detection_enabled: 1
103 failure_prediction_enabled: 1
104 process_perf_data: 0
105 retain_status_information: 1
106 retain_nonstatus_information: 1
107 max_check_attempts: 10
108 notification_interval: 0
109 notification_period: 24x7
110 notification_options: d,u,r
111 contact_groups: Operator
112 register: 0
113 services:
114 generic_service_tpl:
115 register: 0
116 contact_groups: Operator
117 process_perf_data: 0
118 max_check_attempts: 3
119