-
Notifications
You must be signed in to change notification settings - Fork 33
/
XA-and-XD-HealthCheck_Parameters.xml
256 lines (256 loc) · 7.69 KB
/
XA-and-XD-HealthCheck_Parameters.xml
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
<?xml version="1.0" encoding="utf-8"?>
<settings>
<Variables>
<Variable>
<!-- Define a EnvironmentName e.g. Integration/Production etc. - this will be used in HTML & Email Subject -->
<Name>EnvironmentName</Name>
<Value>XenApp and XenDesktop</Value>
<Type>[string]</Type>
<Scope>Script</Scope>
</Variable>
<Variable>
<!-- Is the HealthCheck used in a Citrix Cloud enviornment and running on a CloudConnector -->
<Name>CitrixCloudCheck</Name>
<Value>0</Value> <!-- 1 or 0 -->
<Type>[int]</Type>
<Scope>Script</Scope> <!-- global ? -->
</Variable>
<Variable>
<!-- Cloud API for Enviornments in Citrix Cloud e.g. https://eu.cloud.com/identity/api-access/secure-clients -->
<Name>CustomerID</Name>
<Value>a12345b78cde</Value> <!-- this is the short ID like a12345b78cde -->
<Type>[string]</Type>
<Scope>Script</Scope> <!-- global ? -->
</Variable>
<Variable>
<!-- Cloud API for Enviornments in Citrix Cloud https://eu.cloud.com/identity/api-access/secure-clients -->
<Name>SecureClientFile</Name>
<Value>C:\Company\myCredentialfiles\secureclient.csv</Value> <!-- you need to download the CSV file and locate it on the server running this script, e.g the CloudConnector -->
<Type>[string]</Type>
<Scope>Script</Scope> <!-- global ? -->
</Variable>
<Variable>
<!-- Define the hostnames of delivery controllers, you can use localhost if you run localy
Example: CXDC01.domain.tld,CXDC02.domain.tld -->
<Name>DeliveryControllers</Name>
<Value>localhost</Value> <!-- Add Server separated by comma -->
<Type>[array]</Type>
<Scope>Script</Scope>
</Variable>
<Variable>
<!-- Information about the disk you want to check. -->
<Name>diskLettersControllers</Name>
<Value>C,D</Value>
<Type>[array]</Type>
<Scope>Script</Scope>
</Variable>
<Variable>
<!-- Raise alert if delivery controllers have been rebooted in less than this number of days -->
<Name>minUpTimeDaysDDC</Name>
<Value>1</Value>
<Type>[int]</Type>
<Scope>Script</Scope>
</Variable>
<Variable>
<!-- Maximum uptime of a virtual Desktop or a XenApp
Example: 7 -->
<Name>maxUpTimeDays</Name>
<Value>7</Value>
<Type>[int]</Type>
<Scope>Script</Scope>
</Variable>
<Variable>
<!-- Exclude Catalogs, e.g Testing or Poc-Catalogs
Example: Windows 7,Windows 8 Test -->
<Name>ExcludedCatalogs</Name>
<Value></Value>
<Type>[array]</Type>
<Scope>Script</Scope>
</Variable>
<Variable>
<!-- Exclude Tags, e.g excludeFromReport, UAT, etc -->
<Name>ExcludedTags</Name>
<Value>excludeFromReport</Value>
<Type>[array]</Type>
<Scope>Script</Scope>
</Variable>
<Variable>
<!-- define the maximum of counted machines (default is only 250) -->
<Name>maxmachines</Name>
<Value>1000</Value>
<Type>[int]</Type>
<Scope>Script</Scope>
</Variable>
<!-- XenDesktop Options -->
<Variable>
<!-- # Set to 1 if you want to Check a Environment with XenDesktop (V 5.x and higher) -->
<Name>ShowDesktopTable</Name>
<Value>1</Value>
<Type>[int]</Type>
<Scope>Script</Scope>
</Variable>
<Variable>
<!-- Define if you ONLY want to see bad XENAPP (Unregistered, to high Uptime, Ping-Time-out)
I propose to set this value to 1 in not small environments >50 Desktops -->
<Name>ShowOnlyErrorXA</Name>
<Value>0</Value>
<Type>[int]</Type>
<Scope>Script</Scope>
</Variable>
<Variable>
<!-- Define if you ONLY want to see bad DESKTOPS (Unregistered, to high Uptime, Ping-Time-out)
I propose to set this value to 1 in not small environments >50 Desktops -->
<Name>ShowOnlyErrorVDI</Name>
<Value>0</Value>
<Type>[int]</Type>
<Scope>Script</Scope>
</Variable>
<Variable>
<!-- Define if you want to see the used graphic mode)
-->
<Name>ShowGraphicsMode</Name>
<Value>1</Value>
<Type>[int]</Type>
<Scope>Script</Scope>
</Variable>
<!-- XenApp Options -->
<Variable>
<!-- Set to 1 if you want to Check a Environment with XenApp (V 7.x and higher) - if you need a Script for versions below visit http://deptive.co.nz/xenapp-farm-health-check-v2/ -->
<Name>ShowXenAppTable</Name>
<Value>1</Value>
<Type>[int]</Type>
<Scope>Script</Scope>
</Variable>
<Variable>
<!-- Information about the disk you want to check. -->
<Name>diskLettersWorkers</Name>
<Value>C,D</Value>
<Type>[array]</Type>
<Scope>Script</Scope>
</Variable>
<Variable>
<!-- Set to 1 if you want to see connected XenApp Users -->
<Name>ShowConnectedXenAppUsers</Name>
<Value>1</Value>
<Type>[int]</Type>
<Scope>Script</Scope>
</Variable>
<Variable>
<!-- Set value for a load of a XenApp server that is be fine, but is needed to escalate -->
<Name>loadIndexWarning</Name>
<Value>6000</Value>
<Type>[int]</Type>
<Scope>Script</Scope>
</Variable>
<Variable>
<!-- Set value for a load of a XenApp server that is be critical -->
<Name>loadIndexError</Name>
<Value>8500</Value>
<Type>[int]</Type>
<Scope>Script</Scope>
</Variable>
<Variable>
<!-- # Set to 1 if you want to Check a Citrix license usage -->
<Name>ShowCTXLicense</Name>
<Value>1</Value>
<Type>[int]</Type>
<Scope>Script</Scope>
</Variable>
<Variable>
<!-- # Select types of licenses to report, eg: XDT_PLT_UD, PVSD_STD_CCS -->
<Name>CTXLicenseMode</Name>
<Value>XDT_PLT_UD,PVSD_STD_CCS</Value>
<Type>[array]</Type>
<Scope>Script</Scope>
</Variable>
<!-- PVS-Section: If you are using WriteCache to HD -->
<Variable>
<!-- Drive to PVS vDisk write cache file -->
<Name>PvsWriteCacheDrive</Name>
<Value>D</Value>
<Type>[string]</Type>
<Scope>Script</Scope>
</Variable>
<Variable>
<!-- Size of the local PVS write cache drive -->
<Name>PvsWriteMaxSize</Name>
<Value>15</Value> <!-- size in GB -->
<Type>[long]</Type>
<Scope>Script</Scope>
</Variable>
<!-- E-Mail Configuration -->
<Variable>
<!-- Set to 1 if you want to send E-mail -->
<Name>CheckSendMail</Name>
<Value>1</Value>
<Type>[int]</Type>
<Scope>Script</Scope>
</Variable>
<Variable>
<!-- Address of the sender -->
<Name>emailFrom</Name>
<Value>[email protected]</Value>
<Type>[string]</Type>
<Scope>Script</Scope>
</Variable>
<Variable>
<!-- Address of the recipient -->
<Name>emailTo</Name>
<Value>[email protected]</Value>
<Type>[string]</Type>
<Scope>Script</Scope>
</Variable>
<Variable>
<!-- IP or name of SMTP server -->
<Name>smtpServer</Name>
<Value>mailrelay.mycompany.ch</Value>
<Type>[string]</Type>
<Scope>Script</Scope>
</Variable>
<Variable>
<!-- Port of SMTP server -->
<Name>smtpServerPort</Name>
<Value>25</Value>
<Type>[string]</Type>
<Scope>Script</Scope>
</Variable>
<Variable>
<!-- Use ssl for SMTP or not -->
<Name>smtpEnableSSL</Name>
<Value>False</Value> <!-- False or True -->
<Type>[bool]</Type>
<Scope>Script</Scope>
</Variable>
<Variable>
<!-- Priority of email -->
<Name>emailPrio</Name>
<Value>Low</Value>
<Type>[string]</Type>
<Scope>Script</Scope>
</Variable>
<Variable>
<!-- Username -->
<Name>smtpUser</Name>
<Value></Value>
<Type>[string]</Type>
<Scope>Script</Scope>
</Variable>
<Variable>
<!-- Key for password encryption -->
<Name>smtpKey</Name>
<Value>7,13,25,32,42,64,72,88,91,55,88,55,77,59,22,82,200,0,3,88,10,55,93,244</Value>
<Type>[array]</Type>
<Scope>Script</Scope>
</Variable>
<Variable>
<!-- Password
Create password with follow two lines
$Credential = Get-Credential
$credential.Password | ConvertFrom-SecureString -Key $smtpKey -->
<Name>smtpPW</Name>
<Value></Value>
<Type>[string]</Type>
<Scope>Script</Scope>
</Variable>
</Variables>
</settings>