forked from oracle-quickstart/oci-ebs-monitoring
-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.yaml
335 lines (292 loc) · 8.82 KB
/
schema.yaml
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
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
# Copyright (c) 2022, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
title: "Oracle E-Buisiness Suite Log Collection Quick Start"
description: "Monitoring EBS using Management Agent"
stackDescription: "
Monitors EBS Logs using Management Agent deployed on a new Compute Instance after applying necessary Dynamic Groups and Policies.
Logging Analytics plugin on the agent is also deployed to assist with the monitoring.
This stack enables Source-Entity Auto Association in Logging Analytics which can be disabled later
if auto association of entities is not desired.
"
version: "20190304"
schemaVersion: 1.1.0
locale: "en"
source:
type: quickstart
variableGroups:
- title: General OCI Configurations
visible: false
variables:
- tenancy_ocid
- compartment_ocid
- region
- title: Products
visible: true
variables:
- products
- title: VCN Info
visible: true
variables:
- db_compartment
- vcn_ocid
- subnet_ocid
- title: Database Info
visible: true
variables:
- db_host
- db_port
- db_service
- db_username
- db_cred_compartment
- db_credentials
- db_user_role
- title: Compute Instance details
visible: true
variables:
- instance_name
- availability_domain
- instance_shape
- user_ssh_secret
- title: Management Agent IAM Policies
visible: true
variables:
- setup_policies
- title: Schedule File Location
visible: true
variables:
- bucket_name
- file_name
- title: Log Analytics Configuration
visible: true
variables:
- resource_compartment
- la_entity_name
- create_log_group
- title: Select Log Analytics Log Group
visible:
not:
- create_log_group
variables:
- log_group_ocid
variables:
products:
type: enum
title: "Select Products"
description: Select the products.
required: true
enum:
- Oracle Advanced Benefits
- Oracle Advanced Supply Chain Planning
- Oracle Approvals Management
- Oracle Assets
- Oracle Cash Management
- Oracle Cost Management
- Oracle E-Business Suite Technology Stack
- Oracle Financials for EMEA
- Oracle General Ledger
- Oracle HRMS (UK)
- Oracle Human Resources
- Oracle Inventory Management
- Oracle iProcurement
- Oracle Materials Requirement Planning
- Oracle Order Management
- Oracle Payables
- Oracle Payroll
- Oracle Process Manufacturing Financials
- Oracle Process Manufacturing Process Execution
- Oracle Project Billing
- Oracle Project Costing
- Oracle Project Planning and Control
- Oracle Public Sector Financials
- Oracle Purchasing
- Oracle Receivables
- Oracle Shipping Execution
- Oracle Time and Labor
- Oracle Trading Community
- Oracle Work in Process
- Oracle Workflow
additionalProps:
allowMultiple: true
minItems: 1
uniqueItems: true
default: Oracle Advanced Benefits, Oracle Workflow
#default: ["Oracle Advanced Benefits", "Oracle Advanced Supply Chain Planning", "Oracle Approvals Management", "Oracle Assets", "Oracle Cash Management", "Oracle Cost Management", "Oracle E-Business Suite Technology Stack", "Oracle Financials for EMEA", "Oracle General Ledger", "Oracle HRMS (UK)", "Oracle Human Resources", "Oracle Inventory Management", "Oracle iProcurement", "Oracle Materials Requirement Planning", "Oracle Order Management", "Oracle Payables", "Oracle Payroll", "Oracle Process Manufacturing Financials", "Oracle Process Manufacturing Process Execution", "Oracle Project Billing", "Oracle Project Costing", "Oracle Project Planning and Control", "Oracle Public Sector Financials", "Oracle Purchasing", "Oracle Receivables", "Oracle Shipping Execution", "Oracle Time and Labor", "Oracle Trading Community", "Oracle Work in Process", "Oracle Workflow"]
db_compartment:
type: oci:identity:compartment:id
title: Select DB Compartment
description: The compartment where your EBS DB resides
required: true
default: compartment_ocid
vcn_ocid:
title: Select existing VCN
type: oci:core:vcn:id
dependsOn:
compartmentId: db_compartment
visible: true
required: true
subnet_ocid:
title: Select existing Subnet
type: oci:core:subnet:id
dependsOn:
compartmentId: db_compartment
vcnId: vcn_ocid
visible: true
required: true
instance_name:
type: string
title: Instance name
required: true
visible: true
description: The Compute Instance where Management Agent will be deployed
default: EBS-MgmtAgent
availability_domain:
title: Availability domain
type: oci:identity:availabilitydomain:name
required: true
dependsOn:
compartmentId: db_compartment
visible: true
instance_shape:
title: Instance shape
type: oci:core:instanceshape:name
dependsOn:
compartmentId: db_compartment
availabilityDomain: availability_domain
visible: true
required: true
default: VM.Standard.E2.1
user_ssh_secret:
type: oci:core:ssh:publickey
title: SSH Public Key
description: The public SSH key for the key-pair that you want to use, if you wish to login to the instances over SSH.
visible: true
required: false
db_host:
type: string
title: DB Host Name
description: The host for EBS Database.
required: true
db_port:
type: number
title: DB Port
description: The port for EBS Database.
required: true
default: 1521
db_service:
type: string
title: DB Service Name
description: Service name for EBS Database.
required: true
db_cred_compartment:
type: oci:identity:compartment:id
title: Select Vault Compartment
description: The compartment where your DB credential resides
required: true
default: compartment_ocid
db_username:
type: string
title: "DB Username"
description: "The username to use to connect to DB"
required: true
db_credentials:
type: "oci:kms:secret:id"
title: "Vault Secret"
description: The secret that contains DB Password for the above user.
dependsOn:
compartmentId: db_cred_compartment
required: true
db_user_role:
type: enum
title: "Database User Role"
description: Select the role of the database user.
required: true
enum:
- NORMAL
- SYSASM
- SYSDBA
default: NORMAL
setup_policies:
type: boolean
title: Setup default policies
description: Uncheck it if you already have all the required policies for Management Agent set.
required: true
default: true
resource_compartment:
type: oci:identity:compartment:id
title: Select Log Analytics Resource Compartment
description: The compartment where your log analytics resources reside.
required: true
default: compartment_ocid
la_entity_name:
type: string
title: "Log Analytics Entity Name"
description: "Entity Name for EBS DB in Log Analytics."
required: true
default: "EBS-DB"
bucket_name:
type: string
title: "Object Storage Bucket Name"
description: "Object Storage bucket name where schedule file is stored."
required: true
default: ebs_sensors_schedule
file_name:
type: string
title: "Schedule File Object Name"
description: "The name of object for Schedule file."
required: true
default: logan_schedule_database_sql_EBS.csv
create_log_group:
type: boolean
title: Create Log Group
description: Create Log Group (uncheck if you already have a log group).
required: true
visible: true
default: false
log_group_ocid:
type: oci:logan:loggroup:id
visible:
not:
- create_log_group
required:
not:
- create_log_group
title: "Log Analytics Log Group"
description: Select Log Group.
dependsOn:
compartmentId: ${resource_compartment}
auth_type:
type: string
title: "Authentication Type"
visible: false
required: true
default: instance
config_file_profile:
type: string
title: "Authentication Config Profile"
visible: false
required: true
default: DEFAULT
outputGroups:
- title: Resource dashboards
outputs:
- host_ocid
- agent_dashboard
- entity_dashboard
outputs:
agent_dashboard:
type: link
title: Management Agent
displayText: Agent
visible: true
# No need to create link manually, Resource Manager automatically creates hyperlink to the resource in console
host_ocid:
type: ocid
title: Compute Instance
displayText: Instance
visible: true
entity_dashboard:
type: link
title: Logging Analytics Entity
displayText: Entity
visible: true
primaryOutputButton: ${dashboard}