-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathTemplate SPLM TC Business Logic Server_dotNET.xml
328 lines (328 loc) · 14.8 KB
/
Template SPLM TC Business Logic Server_dotNET.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
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
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<date>2021-08-16T20:20:05Z</date>
<groups>
<group>
<name>Teamcenter Server Components</name>
</group>
</groups>
<templates>
<template>
<template>Template SPLM TC Business Logic Server_dotNET</template>
<name>Template SPLM TC Business Logic Server_dotNET</name>
<description>This template is for Teamcenter up to version 12.3</description>
<groups>
<group>
<name>Teamcenter Server Components</name>
</group>
</groups>
<applications>
<application>
<name>Business Logic (Teamcenter)</name>
</application>
<application>
<name>CPU</name>
</application>
<application>
<name>Memory</name>
</application>
</applications>
<items>
<item>
<name>Configured Process Max</name>
<type>ZABBIX_ACTIVE</type>
<key>ConfiguredProcessMax</key>
<delay>{$UPDATE}</delay>
<history>{$HISTORY}</history>
<trends>{$TREND}</trends>
<value_type>FLOAT</value_type>
<applications>
<application>
<name>Business Logic (Teamcenter)</name>
</application>
</applications>
</item>
<item>
<name>Configured Process Warm</name>
<type>ZABBIX_ACTIVE</type>
<key>ConfiguredProcessWarm</key>
<delay>{$UPDATE}</delay>
<history>{$HISTORY}</history>
<trends>{$TREND}</trends>
<value_type>FLOAT</value_type>
<applications>
<application>
<name>Business Logic (Teamcenter)</name>
</application>
</applications>
</item>
<item>
<name>Current Assigned Servers</name>
<type>ZABBIX_ACTIVE</type>
<key>CurrentAssignedServers</key>
<delay>{$UPDATE}</delay>
<history>{$HISTORY}</history>
<trends>{$TREND}</trends>
<value_type>FLOAT</value_type>
<applications>
<application>
<name>Business Logic (Teamcenter)</name>
</application>
</applications>
<triggers>
<trigger>
<expression>{last()}>={$MAX.PROCESSES_ALARM}</expression>
<name>Teamcenter Alert: Available servers are practically full</name>
<priority>HIGH</priority>
<description>You should checking the configuration file - PoolConfiguration.xml
If this Business Logic Server has a good hardware, you can try to increase of maxProcess value, otherviese you must add extra business logic server</description>
<manual_close>YES</manual_close>
</trigger>
</triggers>
</item>
<item>
<name>Current Available Servers</name>
<type>ZABBIX_ACTIVE</type>
<key>CurrentAvailableServers</key>
<delay>{$UPDATE}</delay>
<history>{$HISTORY}</history>
<trends>{$TREND}</trends>
<value_type>FLOAT</value_type>
<applications>
<application>
<name>Business Logic (Teamcenter)</name>
</application>
</applications>
</item>
<item>
<name>Current Busy Level</name>
<type>ZABBIX_ACTIVE</type>
<key>CurrentBusyLevel</key>
<delay>{$UPDATE}</delay>
<history>{$HISTORY}</history>
<trends>{$TREND}</trends>
<value_type>FLOAT</value_type>
<applications>
<application>
<name>Business Logic (Teamcenter)</name>
</application>
</applications>
</item>
<item>
<name>Current Process Target</name>
<type>ZABBIX_ACTIVE</type>
<key>CurrentProcessTarget</key>
<delay>{$UPDATE}</delay>
<history>{$HISTORY}</history>
<trends>{$TREND}</trends>
<value_type>FLOAT</value_type>
<applications>
<application>
<name>Business Logic (Teamcenter)</name>
</application>
</applications>
</item>
<item>
<name>Current Starting Servers</name>
<type>ZABBIX_ACTIVE</type>
<key>CurrentStartingServers</key>
<delay>{$UPDATE}</delay>
<history>{$HISTORY}</history>
<trends>{$TREND}</trends>
<value_type>FLOAT</value_type>
<applications>
<application>
<name>Business Logic (Teamcenter)</name>
</application>
</applications>
</item>
<item>
<name>Number of mention about "Explain Plan" in logs</name>
<type>ZABBIX_ACTIVE</type>
<key>logrt.count["C:\\TCLOGS\\tcserver\.([a-zA-Z0-9])+.syslog","(Explain Plan)",,,all,,]</key>
<delay>1s</delay>
<history>{$HISTORY}</history>
<trends>{$TREND}</trends>
<status>DISABLED</status>
<applications>
<application>
<name>Business Logic (Teamcenter)</name>
</application>
</applications>
<triggers>
<trigger>
<expression>{last(1m)}<>0</expression>
<name>Teamcenter Alert: Business Logic Server has a problem DBMS performance</name>
<url>http://dba-oracle.com/googlesearchsite_proc.htm?cx=000522505899594707971%3A4-ldikxixw4&cof=FORID%3A10&ie=UTF-8&q=Slow+Oracle+SQL&sa=Search&siteurl=www.dba-oracle.com%2Ft_find_slow_oracle_sql.htm&ref=www.google.com%2F&ss=3229j10291705j3</url>
<priority>HIGH</priority>
<description>1.Check your Teamcenter syslog and the seeking the strings that contained "Explain Plan"
2.Check your Database</description>
<manual_close>YES</manual_close>
</trigger>
</triggers>
</item>
<item>
<name>Number of failed connection TC-DBMS</name>
<type>ZABBIX_ACTIVE</type>
<key>logrt.count["C:\\TCLOGS\\tcserver\.([a-zA-Z0-9])+.syslog","(the DBMS is not online)",,,all,,]</key>
<delay>1s</delay>
<history>{$HISTORY}</history>
<trends>{$TREND}</trends>
<status>DISABLED</status>
<applications>
<application>
<name>Business Logic (Teamcenter)</name>
</application>
</applications>
<triggers>
<trigger>
<expression>{last(1m)}<>0</expression>
<name>Teamcenter Alert: Business Logic Server can not connect to DBMS</name>
<url>https://support.sw.siemens.com/en-US/product/282219420/knowledge-base/PL8009139?pid=sc%3Asearch&pid_context=install%20-ayt&index=content-external&audience=external</url>
<priority>DISASTER</priority>
<description>Teamcenter business logic cannot connect to DBMS.
1.Check your Teamcenter syslog.
2.Check your Database and passwod life of infodba user.</description>
<manual_close>YES</manual_close>
</trigger>
</triggers>
</item>
<item>
<name>User that has failed login</name>
<type>ZABBIX_ACTIVE</type>
<key>logrt[c:\siemens\Teamcenter12\net_webtier_kalinka\tc\logs\TcWebTier.log,"(?<=Login failed for user: ).*",,,skip,,]</key>
<delay>1s</delay>
<history>{$HISTORY}</history>
<trends>0</trends>
<value_type>LOG</value_type>
<applications>
<application>
<name>Business Logic (Teamcenter)</name>
</application>
</applications>
<logtimefmt>yyyy-MM-dd hh:mm:ss</logtimefmt>
<preprocessing>
<step>
<type>REGEX</type>
<params>(?<=Login failed for user: ).*
\0</params>
</step>
</preprocessing>
<triggers>
<trigger>
<expression>{change()}=0</expression>
<name>Teamcenter Alert: Failed Login Attempts exceeded threshold</name>
<priority>HIGH</priority>
<description>A tcserver issue while authenticating users.
Users are entering incorrect credentials. This could indicate that a system attack is in progress.
1.Examine the names of the users for the failed login attempts for a pattern that might indicate an attack.
2.Examine the enterprise tier and syslogs for a root cause of the failed login attempts.</description>
<manual_close>YES</manual_close>
</trigger>
</triggers>
</item>
<item>
<name>Is TC WebApp & Business Logic (.NET) avaliable?</name>
<type>SIMPLE</type>
<key>net.tcp.service[{$WEBAPP.SERVICE},,{$WEBAPP.PORT}]</key>
<delay>{$UPDATE}</delay>
<history>{$HISTORY}</history>
<trends>{$TREND}</trends>
<applications>
<application>
<name>Business Logic (Teamcenter)</name>
</application>
</applications>
<valuemap>
<name>Service state</name>
</valuemap>
<triggers>
<trigger>
<expression>{last(30s)}=0</expression>
<name>TC WebApp (.NET) is not running</name>
<priority>DISASTER</priority>
</trigger>
</triggers>
</item>
</items>
<macros>
<macro>
<macro>{$HISTORY}</macro>
<value>30d</value>
</macro>
<macro>
<macro>{$MAX.PROCESSES_ALARM}</macro>
<value>25</value>
<description>It should be correlated with value of processMax parameter</description>
</macro>
<macro>
<macro>{$TREND}</macro>
<value>365d</value>
</macro>
<macro>
<macro>{$UPDATE}</macro>
<value>1m</value>
</macro>
<macro>
<macro>{$WEBAPP.PORT}</macro>
<value>8081</value>
<description>TC WebApp listening port.</description>
</macro>
<macro>
<macro>{$WEBAPP.SERVICE}</macro>
<value>http</value>
<description>The service (http/https/etc) for port check. See "net.tcp.service" documentation page for more information: https://www.zabbix.com/documentation/current/ru/manual/config/items/itemtypes/simple_checks</description>
</macro>
</macros>
</template>
</templates>
<graphs>
<graph>
<name>Teamcenter Information</name>
<graph_items>
<graph_item>
<sortorder>1</sortorder>
<color>1A7C11</color>
<item>
<host>Template SPLM TC Business Logic Server_dotNET</host>
<key>CurrentAssignedServers</key>
</item>
</graph_item>
<graph_item>
<sortorder>2</sortorder>
<color>F63100</color>
<item>
<host>Template SPLM TC Business Logic Server_dotNET</host>
<key>CurrentAvailableServers</key>
</item>
</graph_item>
<graph_item>
<sortorder>3</sortorder>
<color>2774A4</color>
<item>
<host>Template SPLM TC Business Logic Server_dotNET</host>
<key>CurrentBusyLevel</key>
</item>
</graph_item>
</graph_items>
</graph>
</graphs>
<value_maps>
<value_map>
<name>Service state</name>
<mappings>
<mapping>
<value>0</value>
<newvalue>Down</newvalue>
</mapping>
<mapping>
<value>1</value>
<newvalue>Up</newvalue>
</mapping>
</mappings>
</value_map>
</value_maps>
</zabbix_export>