This repository has been archived by the owner on Nov 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jboss.cfx
282 lines (282 loc) · 9.37 KB
/
jboss.cfx
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
<setup>
loglevel = 5
automonitors_update_interval = 5min
jboss7 = no
connectiontimeout = 60sec
jbossRemoteConnectionTimeout=60sec
retryCount=0
</setup>
<properties>
jar = *.jar
jar_common = jar/nimsoft.jar,jar/nimsoft-eb-jsr160.jar,jar/jboss.jar,jar/Twofish.jar
class = com.nimsoft.nimbus.probe.application.extractbase.Extract
miniprobe = com.nimsoft.nimbus.probe.application.extractbase.MiniProbe
ci = 3.5
<java_options>
min = -Xms64m
max = -Xmx225m
</java_options>
</properties>
<janitor>
active = yes
interval = 1min
silence = 1min
memorylimit = 200000
<qos>
active = no
</qos>
</janitor>
<qos>
<QOS_JBOSS_MEMORY_USAGE_BYTES> overwrite
name = QOS_JBOSS_MEMORY_USAGE_BYTES
group = QOS_JBOSS_DEFAULT
desc = Memory in B
unit = Byte
abbr = B
hasmax = no
isbool = no
asynch = no
mi = 4
</QOS_JBOSS_MEMORY_USAGE_BYTES>
<QOS_JBOSS_MEMORY_USAGE> overwrite
name = QOS_JBOSS_MEMORY_USAGE
group = QOS_JBOSS_DEFAULT
desc = Memory in KB
unit = KiloByte
abbr = KB
hasmax = no
isbool = no
asynch = no
mi = 3
</QOS_JBOSS_MEMORY_USAGE>
<QOS_JBOSS_THREADCOUNT> overwrite
name = QOS_JBOSS_THREADCOUNT
group = QOS_JBOSS_DEFAULT
desc = Counter
unit = cnt
abbr = n
hasmax = no
isbool = no
asynch = no
mi = 5
</QOS_JBOSS_THREADCOUNT>
<QOS_JBOSS_CONNECTIONCOUNT> overwrite
name = QOS_JBOSS_CONNECTIONCOUNT
group = QOS_JBOSS_DEFAULT
desc = Counter
unit = cnt
abbr = n
hasmax = no
isbool = no
asynch = no
mi = 6
</QOS_JBOSS_CONNECTIONCOUNT>
<QOS_JBOSS_COUNTER> overwrite
name = QOS_JBOSS_COUNTER
group = QOS_JBOSS_DEFAULT
desc = Counter
unit = cnt
abbr = n
hasmax = no
isbool = no
asynch = no
mi = 7
</QOS_JBOSS_COUNTER>
<QOS_JBOSS_METHOD_DELTA_COUNTER> overwrite
name = QOS_JBOSS_METHOD_DELTA_COUNTER
group = QOS_JBOSS_DEFAULT
desc = Method counters (delta)
unit = Counter
abbr = cnt
hasmax = no
isbool = no
asynch = no
mi = 10
</QOS_JBOSS_METHOD_DELTA_COUNTER>
<QOS_JBOSS_NETWORK_BYTES_RECEIVED> overwrite
name = QOS_JBOSS_NETWORK_BYTES_RECEIVED
group = QOS_JBOSS_DEFAULT
desc = Bytes Received per Second
unit = Bytes / Second
abbr = B / s
hasmax = no
isbool = no
asynch = no
mi = 9
</QOS_JBOSS_NETWORK_BYTES_RECEIVED>
<QOS_JBOSS_NETWORK_BYTES_SENT> overwrite
name = QOS_JBOSS_NETWORK_BYTES_SENT
group = QOS_JBOSS_DEFAULT
desc = Bytes Sent per Second
unit = Bytes / Second
abbr = B / s
hasmax = no
isbool = no
asynch = no
mi = 8
</QOS_JBOSS_NETWORK_BYTES_SENT>
</qos>
<messages>
<ResourceCritical> overwrite
name = ResourceCritical
token = resource_error
i18n_token = as#application.jboss.resource_critical_error
i18n_token_Ok = as#application.jboss.resource_critical_Ok
msn_err = The resource $resource is not responding.
msn_ok = The resource $resource is responding.
sev = 5
subsystem = 2.11.1.1
</ResourceCritical>
<ResourceWarning> overwrite
name = ResourceWarning
token = resource_error
i18n_token = as#application.jboss.resource_error
i18n_token_Ok = as#application.jboss.resource_Ok
msn_err = The resource $resource is not responding
msn_ok = The resource $resource is responding
sev = 3
subsystem = 2.11.1.1
</ResourceWarning>
<ProfileCritical> overwrite
name = ProfileCritical
token = profile_error
i18n_token = as#application.jboss.profile_error
i18n_token_Ok = as#application.jboss.profile_Ok
msn_err = The $host is not responding (reason: $descr)
msn_ok = The $host is now responding
sev = 5
subsystem = 2.11.1.2
</ProfileCritical>
<MonitorWarning> overwrite
name = MonitorWarning
token = monitor_error
i18n_token = as#application.jboss.monitor_error
i18n_token_Ok = as#application.jboss.monitor_Ok
msn_err = The $monitor on $resource.$profile exceeds threshold value ($value $oper $thr)
msn_ok = The $monitor on $resource.$profile is OK ($value)
sev = 4
subsystem = 2.11.1.3
</MonitorWarning>
<MemoryWarning> overwrite
name = MemoryWarning
token = monitor_error
i18n_token = as#application.jboss.memory_error
i18n_token_Ok = as#application.jboss.memory_Ok
msn_err = The memory usage for $monitor on $resource.$profile exceeds threshold value ($value $oper $thr)
msn_ok = The memory usage for monitor $monitor on $resource.$profile is OK
sev = 3
subsystem = 2.11.1.4
</MemoryWarning>
<ThreadCountWarning> overwrite
name = ThreadCountWarning
token = monitor_error
i18n_token = as#application.jboss.thread_count_error
i18n_token_Ok = as#application.jboss.thread_count_Ok
msn_err = The threadcount value for $monitor on $resource.$profile exceeds threshold value ($value $oper $thr)
msn_ok = The threadcount for $monitor on $resource.$profile is OK ($value)
sev = 3
subsystem = 2.11.1.5
</ThreadCountWarning>
<ConnectionWarning> overwrite
name = ConnectionWarning
token = monitor_error
i18n_token = as#application.jboss.connection_error
i18n_token_Ok = as#application.jboss.connection_Ok
msn_err = The connection count value for $monitor on $resource.$profile exceeds threshold value ($value $oper $thr)
msn_ok = The connection count for $monitor on $resource.$profile is OK ($value)
sev = 3
subsystem = 2.11.1.6
</ConnectionWarning>
<NetworkWarning> overwrite
name = NetworkWarning
token = monitor_error
i18n_token = as#application.jboss.network_error
i18n_token_Ok = as#application.jboss.network_Ok
msn_err = The network usage for $monitor on $resource.$profile exceeds threshold value ($value $oper $thr)
msn_ok = The network usage for $monitor on $resource.$profile is OK ($value)
sev = 3
subsystem = 2.11.1.7
</NetworkWarning>
<CounterWarning> overwrite
name = CounterWarning
token = monitor_error
i18n_token = as#application.jboss.counter_error
i18n_token_Ok = as#application.jboss.counter_Ok
msn_err = The counter value for $monitor on $resource.$profile exceeds threshold value ($value $oper $thr)
msn_ok = The counter for $monitor on $resource.$profile is OK ($value)
sev = 3
subsystem = 2.11.1.8
</CounterWarning>
</messages>
<template>
<Default Template>
name = Default Template
description = Default Template
<jboss.threads:name=ThreadPool,type=boundedQueueThreadPool~jboss.threads.boundedQueueThreadPool.ThreadPool@MaxThreads>
active = yes
key = jboss.threads:name=ThreadPool,type=boundedQueueThreadPool~jboss.threads.boundedQueueThreadPool.ThreadPool@MaxThreads
name = jboss.threads/boundedQueueThreadPool/*/jboss.threads:name=ThreadPool,type=boundedQueueThreadPool/ThreadPool@MaxThreads
tempMonName =
oldkey = "jboss.threads"."boundedQueueThreadPool"."ThreadPool"."MaxThreads"
oper = !=
thr = 16
unit = int
desc = Attribute exposed for management
group = General
alarm_on = yes
msg = MonitorWarning
qos_on = yes
qos =
notfoundalarm = no
alarm_always = no
Parent_Level = 2
Parent_Root_Node = "jboss.threads"."boundedQueueThreadPool"
</jboss.threads:name=ThreadPool,type=boundedQueueThreadPool~jboss.threads.boundedQueueThreadPool.ThreadPool@MaxThreads>
<java.lang:type=Memory~java.lang.Memory.name.HeapMemoryUsage@used>
active = yes
key = java.lang:type=Memory~java.lang.Memory.name.HeapMemoryUsage@used
name = java.lang/Memory/*/HeapMemoryUsage/used"
tempMonName =
oldkey = "java.lang"."Memory"."name"."HeapMemoryUsage"."used"
oper = !=
thr = 128815792
unit = java.lang.Long
desc = used
group = General
alarm_on = yes
msg = MonitorWarning
qos_on = yes
qos =
notfoundalarm = no
alarm_always = no
Parent_Level = 3
Parent_Root_Node = "java.lang"."Memory"
</java.lang:type=Memory~java.lang.Memory.name.HeapMemoryUsage@used>
<java.lang:name=PS MarkSweep,type=GarbageCollector~java.lang.GarbageCollector.PS MarkSweep@CollectionTime>
active = yes
key = java.lang:name=PS MarkSweep,type=GarbageCollector~java.lang.GarbageCollector.PS MarkSweep@CollectionTime
name = java.lang/GarbageCollector/*/java.lang:name=PS MarkSweep,type=GarbageCollector/PS MarkSweep@CollectionTime
tempMonName =
oldkey = "java.lang"."GarbageCollector"."PS MarkSweep"."CollectionTime"
oper = !=
thr = 502
unit = long
desc = CollectionTime
group = General
alarm_on = yes
msg = MonitorWarning
qos_on = yes
qos =
notfoundalarm = no
alarm_always = no
Parent_Level = 2
Parent_Root_Node = "java.lang"."GarbageCollector"
</java.lang:name=PS MarkSweep,type=GarbageCollector~java.lang.GarbageCollector.PS MarkSweep@CollectionTime>
</Default Template>
</template>
<startup>
<opt>
java_mem_max = -Xmx128m
java_mem_init = -Xms32m
</opt>
</startup>