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