forked from sacha81/XA-and-XD-HealthCheck
-
Notifications
You must be signed in to change notification settings - Fork 0
/
XA-and-XD-HealthCheck_Parameters.xml
191 lines (191 loc) · 5.45 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
<?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>Global</Scope>
</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>Global</Scope>
</Variable>
<Variable>
<!-- Define the if the of delivery controllers have a D: -->
<Name>ControllerHaveD</Name>
<Value>1</Value>
<Type>[int]</Type>
<Scope>Global</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>Global</Scope>
</Variable>
<Variable>
<!-- Maximum uptime of a virtual Desktop or a XenApp
Example: 7 -->
<Name>maxUpTimeDays</Name>
<Value>7</Value>
<Type>[int]</Type>
<Scope>Global</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>Global</Scope>
</Variable>
<Variable>
<!-- define the maximum of counted machines (default is only 250) -->
<Name>maxmachines</Name>
<Value>1000</Value>
<Type>[int]</Type>
<Scope>Global</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>Global</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>Global</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>Global</Scope>
</Variable>
<Variable>
<!-- Define the if the of XenApp servers having a D: -->
<Name>XAServerHaveD</Name>
<Value>1</Value>
<Type>[int]</Type>
<Scope>Global</Scope>
</Variable>
<Variable>
<!-- Set to 1 if you want to see connected XenApp Users -->
<Name>ShowConnectedXenAppUsers</Name>
<Value>1</Value>
<Type>[int]</Type>
<Scope>Global</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>Global</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>Global</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>Global</Scope>
</Variable>
<Variable>
<!-- Size of the local PVS write cache drive -->
<Name>PvsWriteMaxSize</Name>
<Value>15</Value> <!-- size in GB -->
<Type>[long]</Type>
<Scope>Global</Scope>
</Variable>
<!-- E-Mail Configuration -->
<Variable>
<!-- Address of the sender -->
<Name>emailFrom</Name>
<Value>citrix@mycompany.ch</Value>
<Type>[string]</Type>
<Scope>Global</Scope>
</Variable>
<Variable>
<!-- Address of the recipient -->
<Name>emailTo</Name>
<Value>citrix@mycompany.ch</Value>
<Type>[string]</Type>
<Scope>Global</Scope>
</Variable>
<Variable>
<!-- IP or name of SMTP server -->
<Name>smtpServer</Name>
<Value>mailrelay.mycompany.ch</Value>
<Type>[string]</Type>
<Scope>Global</Scope>
</Variable>
<Variable>
<!-- Port of SMTP server -->
<Name>smtpServerPort</Name>
<Value>25</Value>
<Type>[string]</Type>
<Scope>Global</Scope>
</Variable>
<Variable>
<!-- Use ssl for SMTP or not -->
<Name>smtpEnableSSL</Name>
<Value>False</Value> <!-- False or True -->
<Type>[bool]</Type>
<Scope>Global</Scope>
</Variable>
<Variable>
<!-- Priority of email -->
<Name>emailPrio</Name>
<Value>Low</Value>
<Type>[string]</Type>
<Scope>Global</Scope>
</Variable>
<Variable>
<!-- Username -->
<Name>smtpUser</Name>
<Value></Value>
<Type>[string]</Type>
<Scope>Global</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>Global</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>Global</Scope>
</Variable>
</Variables>
</settings>