forked from DataDog/chef-datadog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.yml
218 lines (203 loc) · 5.44 KB
/
.kitchen.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
---
driver_plugin: vagrant
provisioner:
name: chef_zero
client_rb:
ssl_verify_mode: :verify_none # Chef outputs an ugly SSL warning otherwise
platforms:
# Loop through two lists and output a total matrix of all possible platform + chef versions
<% %w(
ubuntu-12.04
ubuntu-10.04
centos-6.5
centos-5.10
debian-7.4.0
).each do |platform_version| %>
<% %w(
11.16.4
10.34.4
10.14.4
).each do |chef_version| %>
- name: <%= platform_version %>-<%= chef_version %>
driver_config:
box: opscode_<%= platform_version %>_chef-provisionerless
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_<%= platform_version %>_provisionerless.box
require_chef_omnibus: <%= chef_version %>
<% end %>
<% end %>
suites:
# - name: default
# run_list: ["recipe[datadog::default]"]
# attributes: {}
# # This should actually do nothing.
# # There is a sanity.bats test to simply verify that /tmp exists.
- name: dd-agent
run_list:
- recipe[datadog::dd-agent]
attributes:
datadog:
api_key: somethingnotnil
application_key: alsonotnil
- name: datadog_activemq
run_list:
- recipe[datadog::activemq]
attributes:
datadog:
api_key: somethingnotnil
application_key: alsonotnil
activemq:
instances:
- host: localhost
port: 1099
user: someuser
password: somepass
- name: datadog_apache
run_list:
- recipe[datadog::apache]
attributes:
datadog:
api_key: somethingnotnil
application_key: alsonotnil
apache:
instances:
- status_url: http://mysite.com/server-status?auto
apache_user: someusername
apache_password: sekret
tags:
- kitchen
- sink
- name: datadog_cacti
run_list:
- recipe[datadog::cacti]
attributes:
datadog:
api_key: somethingnotnil
application_key: alsonotnil
cacti:
instances:
- mysql_host: localhost
mysql_user: mysql_read_only
mysql_password: mysql_read_only_password
rrd_path: /path/to/cacti/rra
rrd_whitelist: /path/to/rrd_whitelist.txt
field_names:
- ifIndex
- dskDevice
- ifName
- name: datadog_cassandra
run_list:
- recipe[datadog::cassandra]
attributes:
datadog:
api_key: somethingnotnil
application_key: alsonotnil
cassandra:
instances:
- host: localhost
port: 7199
user: someuser
password: somepass
process_name_regex: .*cassandra.*
- name: datadog_couchdb
run_list:
- recipe[datadog::couchdb]
attributes:
datadog:
api_key: somethingnotnil
application_key: alsonotnil
couch:
instances:
- server: http://localhost:5984
user: someuser
password: somepass
- name: datadog_haproxy
run_list:
- recipe[datadog::haproxy]
attributes:
datadog:
api_key: somethingnotnil
application_key: alsonotnil
haproxy:
instances:
- username: admin
password: sekret
url: http://localhost:22002/status
status_check: false
collect_aggregates_only: true
collect_status_metrics: true
- name: datadog_jmx
run_list:
- recipe[datadog::jmx]
attributes:
datadog:
api_key: somethingnotnil
application_key: alsonotnil
jmx:
instances:
- host: localhost
port: 9999
extra_key: extra_val
conf:
- include:
domain: domain0
type: ThreadPool
bean: tomcat_bean
attributes:
maxThreads:
alias: tomcat.threads.max
metric_type: gauge
bytesReceived:
alias: tomcat.bytes_rcvd
metric_type: counter
include:
domain: org.apache.cassandra.db
attributes:
- BloomFilterDiskSpaceUsed
- Capacity
bean_name: com.datadoghq.test:type=BeanType,tag1=my_bean_name
foo: bar
exclude:
- domain: evil_domain
- name: datadog_mongo
run_list:
- recipe[datadog::mongo]
attributes:
datadog:
api_key: somethingnotnil
application_key: alsonotnil
mongo:
instances:
- host: localhost
port: 27017
- name: datadog_kafka
run_list:
- recipe[datadog::kafka]
attributes:
datadog:
api_key: somethingnotnil
application_key: alsonotnil
kafka:
instances:
- host: localhost
port: 9999
name: my_kafka
user: username
password: password
java_bin_path: /path/to/java
trust_store_path: /path/to/trustStore.jks
trust_store_password: password
- name: datadog_kafka_consumer
run_list:
- recipe[datadog::kafka_consumer]
attributes:
datadog:
api_key: somethingnotnil
application_key: alsonotnil
kafka_consumer:
instances:
- kafka_connect_str: localhost:19092
zk_connect_str: localhost:2181
zk_prefix: /0.8
consumer_groups:
my_consumer:
my_topic: [0, 1, 4, 12]