Produced by Araxis Merge on 3/25/2019 8:58:09 AM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
# | Location | File | Last Modified |
---|---|---|---|
1 | C:\AraxisMergeCompare\Pri_un\IMAG_Source\VISA\Java\VixServerHealth\main\src\java\gov\va\med\imaging\health\configuration | JMXHealthConfigurationEntry.java | Mon Mar 18 20:39:09 2019 UTC |
2 | C:\AraxisMergeCompare\Pri_re\IMAG_Source\VISA\Java\VixServerHealth\main\src\java\gov\va\med\imaging\health\configuration | JMXHealthConfigurationEntry.java | Tue Mar 19 12:04:34 2019 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 3 | 1482 |
Changed | 2 | 4 |
Inserted | 0 | 0 |
Removed | 0 | 0 |
Whitespace | |
---|---|
Character case | Differences in character case are significant |
Line endings | Differences in line endings (CR and LF characters) are ignored |
CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
1 | /** | |
2 | * | |
3 | Package: MAG - Vis tA Imaging | |
4 | WARNING: Per VHA D irective 2 004-038, t his routin e should n ot be modi fied. | |
5 | Date Cre ated: Jun 4, 2009 | |
6 | Site Nam e: Washin gton OI Fi eld Office , Silver S pring, MD | |
7 | Developer: DNS werfej | |
8 | Descript ion: | |
9 | ||
10 | ;; +-------- ---------- ---------- ---------- ---------- ---------- ---------- + | |
11 | ;; Property of the US Government . | |
12 | ;; No permis sion to co py or redi stribute t his softwa re is give n. | |
13 | ;; Use of un released v ersions of this soft ware requi res the us er | |
14 | ;; to execu te a writt en test ag reement wi th the Vis tA Imaging | |
15 | ;; Developm ent Office of the De partment o f Veterans Affairs, | |
16 | ;; telephon e (301) 73 4-0100. | |
17 | ;; | |
18 | ;; The Food and Drug A dministrat ion classi fies this software a s | |
19 | ;; a Class I I medical device. A s such, it may not b e changed | |
20 | ;; in any wa y. Modifi cations to this soft ware may r esult in a n | |
21 | ;; adulterat ed medical device un der 21CFR8 20, the us e of which | |
22 | ;; is consid ered to be a violati on of US F ederal Sta tutes. | |
23 | ;; +-------- ---------- ---------- ---------- ---------- ---------- ---------- + | |
24 | ||
25 | */ | |
26 | package go v.va.med.i maging.hea lth.config uration; | |
27 | ||
28 | import gov .va.med.im aging.Imag ingMBean; | |
29 | import gov .va.med.im aging.heal th.VixServ erHealthPr operties; | |
30 | ||
31 | import jav a.io.Seria lizable; | |
32 | import jav a.util.Arr ayList; | |
33 | import jav a.util.Has htable; | |
34 | import jav a.util.Lis t; | |
35 | ||
36 | import org .apache.lo gging.log4 j.LogManag er; | |
37 | import org .apache.lo gging.log4 j.Logger; | |
38 | ||
39 | /** | |
40 | * Entry t hat contai ns informa tion about a value i n JMX to b e containe d in the V IX Health report. | |
41 | * | |
42 | * @author DNS werfej | |
43 | * | |
44 | */ | |
45 | public cla ss JMXHeal thConfigur ationEntry | |
46 | implements Serializa ble | |
47 | { | |
48 | ||
49 | pr ivate stat ic final l ong serial VersionUID = -863707 2763622246 821L; | |
50 | pr ivate fina l static L ogger logg er = LogMa nager.getL ogger(JMXH ealthConfi gurationEn try.class) ; | |
51 | ||
52 | pr ivate Stri ng mBeanDo main; | |
53 | pr ivate Stri ng vixHeal thKey; | |
54 | pr ivate Stri ng jmxAttr ibuteName; | |
55 | pr ivate Hash table<Stri ng, String > objectNa meKeys = | |
56 | new Hashtable< String, St ring>(); | |
57 | pr ivate bool ean queryL ist; | |
58 | pr ivate bool ean enable d; | |
59 | ||
60 | pu blic JMXHe althConfig urationEnt ry() | |
61 | { | |
62 | mBea nDomain = ""; | |
63 | vixH ealthKey = ""; | |
64 | jmxA ttributeNa me = ""; | |
65 | quer yList = fa lse; | |
66 | enab led = true ; | |
67 | } | |
68 | ||
69 | pu blic JMXHe althConfig urationEnt ry(String mBeanDomai n, String vixHealthK ey, | |
70 | String jmxAttrib ute, Hasht able<Strin g, String> objectNam eKeys) | |
71 | { | |
72 | this (mBeanDoma in, vixHea lthKey, jm xAttribute , objectNa meKeys, fa lse, true) ; | |
73 | } | |
74 | ||
75 | pu blic JMXHe althConfig urationEnt ry(String mBeanDomai n, String vixHealthK ey, | |
76 | String jmxAttrib ute, Hasht able<Strin g, String> objectNam eKeys, boo lean query List, bool ean enable d) | |
77 | { | |
78 | this .mBeanDoma in = mBean Domain; | |
79 | this .jmxAttrib uteName = jmxAttribu te; | |
80 | this .objectNam eKeys = ob jectNameKe ys; | |
81 | this .vixHealth Key = vixH ealthKey; | |
82 | this .queryList = queryLi st; | |
83 | this .enabled = enabled; | |
84 | } | |
85 | ||
86 | /* * | |
87 | * @return t he mBeanDo main | |
88 | * / | |
89 | pu blic Strin g getMBean Domain() { | |
90 | retu rn mBeanDo main; | |
91 | } | |
92 | ||
93 | /* * | |
94 | * @param be anDomain t he mBeanDo main to se t | |
95 | * / | |
96 | pu blic void setMBeanDo main(Strin g beanDoma in) { | |
97 | mBea nDomain = beanDomain ; | |
98 | } | |
99 | ||
100 | /* * | |
101 | * @return t he vixHeal thKey | |
102 | * / | |
103 | pu blic Strin g getVixHe althKey() { | |
104 | retu rn vixHeal thKey; | |
105 | } | |
106 | ||
107 | /* * | |
108 | * @param vi xHealthKey the vixHe althKey to set | |
109 | * / | |
110 | pu blic void setVixHeal thKey(Stri ng vixHeal thKey) { | |
111 | this .vixHealth Key = vixH ealthKey; | |
112 | } | |
113 | ||
114 | /* * | |
115 | * @return t he jmxAttr ibuteName | |
116 | * / | |
117 | pu blic Strin g getJmxAt tributeNam e() { | |
118 | retu rn jmxAttr ibuteName; | |
119 | } | |
120 | ||
121 | /* * | |
122 | * @param jm xAttribute Name the j mxAttribut eName to s et | |
123 | * / | |
124 | pu blic void setJmxAttr ibuteName( String jmx AttributeN ame) { | |
125 | this .jmxAttrib uteName = jmxAttribu teName; | |
126 | } | |
127 | ||
128 | /* * | |
129 | * @return t he objectN ameKeys | |
130 | * / | |
131 | pu blic Hasht able<Strin g, String> getObject NameKeys() { | |
132 | retu rn objectN ameKeys; | |
133 | } | |
134 | ||
135 | /* * | |
136 | * @param ob jectNameKe ys the obj ectNameKey s to set | |
137 | * / | |
138 | pu blic void setObjectN ameKeys(Ha shtable<St ring, Stri ng> object NameKeys) { | |
139 | this .objectNam eKeys = ob jectNameKe ys; | |
140 | } | |
141 | ||
142 | /* * | |
143 | * Determine s if the J MX health entry repr esents a q uery to ge t multiple entries f rom JMX | |
144 | * | |
145 | * @return t he queryLi st | |
146 | * / | |
147 | pu blic boole an isQuery List() { | |
148 | retu rn queryLi st; | |
149 | } | |
150 | ||
151 | /* * | |
152 | * @param qu eryList th e queryLis t to set | |
153 | * / | |
154 | pu blic void setQueryLi st(boolean queryList ) { | |
155 | this .queryList = queryLi st; | |
156 | } | |
157 | ||
158 | /* * | |
159 | * @return t he enabled | |
160 | * / | |
161 | pu blic boole an isEnabl ed() { | |
162 | retu rn enabled ; | |
163 | } | |
164 | ||
165 | /* * | |
166 | * @param en abled the enabled to set | |
167 | * / | |
168 | pu blic void setEnabled (boolean e nabled) { | |
169 | this .enabled = enabled; | |
170 | } | |
171 | ||
172 | ||
173 | ||
174 | pr ivate fina l static S tring VIX_ REALM_MBEA N_DOMAIN_N AME = "gov .va.med.im aging.tomc at.vistare alm"; | |
175 | pr ivate fina l static S tring JAVA _JVM_MBEAN _DOMAIN_NA ME = "java .lang"; | |
176 | pr ivate fina l static S tring CATA LINA_MBEAN _DOMAIN_NA ME= "Catal ina"; | |
177 | ||
178 | /* * | |
179 | * Get the d efault lis t of entri es to load from JMX | |
180 | * @param re almSiteNum ber | |
181 | * @return | |
182 | * / | |
183 | pu blic stati c List<JMX HealthConf igurationE ntry> getD efaultJmxH ealthConfi gurationEn tries(Stri ng realmSi teNumber, | |
184 | boolea n listThre adPoolData , boolean listThread Processing Time, bool ean includ eAwiv, boo lean inclu deHdig) | |
185 | { | |
186 | List <JMXHealth Configurat ionEntry> entries = new ArrayL ist<JMXHea lthConfigu rationEntr y>(); | |
187 | ||
188 | logg er.info("L oading def ault JMX c onfigurati on"); | |
189 | Hash table<Stri ng, String > vixCache JMXKeys = new Hashta ble<String , String>( ); | |
190 | vixC acheJMXKey s.put("typ e", "Cache "); | |
191 | vixC acheJMXKey s.put("nam e", "Imagi ngExchange Cache"); | |
192 | ||
193 | entr ies.add(ne w JMXHealt hConfigura tionEntry( ImagingMBe an.VIX_MBE AN_DOMAIN_ NAME, | |
194 | VixServe rHealthPro perties.VI X_SERVER_H EALTH_VIX_ JMX_CACHE_ URI, "loca tionUri", vixCacheJM XKeys)); | |
195 | entr ies.add(ne w JMXHealt hConfigura tionEntry( ImagingMBe an.VIX_MBE AN_DOMAIN_ NAME, | |
196 | VixServe rHealthPro perties.VI X_SERVER_H EALTH_VIX_ JMX_CACHE_ ENABLED, " enabled", vixCacheJM XKeys)); | |
197 | entr ies.add(ne w JMXHealt hConfigura tionEntry( ImagingMBe an.VIX_MBE AN_DOMAIN_ NAME, | |
198 | VixServe rHealthPro perties.VI X_SERVER_H EALTH_VIX_ JMX_CACHE_ OPERATIONS _INITIATED , "getOper ationIniti atedCount" , vixCache JMXKeys)); | |
199 | entr ies.add(ne w JMXHealt hConfigura tionEntry( ImagingMBe an.VIX_MBE AN_DOMAIN_ NAME, | |
200 | VixServe rHealthPro perties.VI X_SERVER_H EALTH_VIX_ JMX_CACHE_ OPERATIONS _ERROR, "g etOperatio nErrorCoun t", vixCac heJMXKeys) ); | |
201 | entr ies.add(ne w JMXHealt hConfigura tionEntry( ImagingMBe an.VIX_MBE AN_DOMAIN_ NAME, | |
202 | VixServe rHealthPro perties.VI X_SERVER_H EALTH_VIX_ JMX_CACHE_ OPERATIONS _INSTANCE_ NOT_FOUND, "getOpera tionInstan ceNotFound Count", vi xCacheJMXK eys)); | |
203 | entr ies.add(ne w JMXHealt hConfigura tionEntry( ImagingMBe an.VIX_MBE AN_DOMAIN_ NAME, | |
204 | VixServe rHealthPro perties.VI X_SERVER_H EALTH_VIX_ JMX_CACHE_ OPERATIONS _SUCCESSFU L, "getOpe rationSucc essfulCoun t", vixCac heJMXKeys) ); | |
205 | ||
206 | if(r ealmSiteNu mber != nu ll) | |
207 | { | |
208 | logger .info("Rea lm '" + re almSiteNum ber + "' s pecified, adding ent ries to in clude in h ealth moni tor result s"); | |
209 | Hashta ble<String , String> vixRealmJM XKeys = ne w Hashtabl e<String, String>(); | |
210 | vixRea lmJMXKeys. put("realm ", realmSi teNumber); | |
211 | ||
212 | entrie s.add(new JMXHealthC onfigurati onEntry(VI X_REALM_MB EAN_DOMAIN _NAME, | |
213 | VixServerH ealthPrope rties.VIX_ SERVER_HEA LTH_REALM_ JMX_VISTA_ PORT, "Vis taPort", v ixRealmJMX Keys)); | |
214 | entrie s.add(new JMXHealthC onfigurati onEntry(VI X_REALM_MB EAN_DOMAIN _NAME, | |
215 | VixServerH ealthPrope rties.VIX_ SERVER_HEA LTH_REALM_ JMX_VISTA_ SERVER, "V istaServer ", vixReal mJMXKeys)) ; | |
216 | } | |
217 | ||
218 | Hash table<Stri ng, String > vixJvmKe ys = new H ashtable<S tring, Str ing>(); | |
219 | vixJ vmKeys.put ("type", " Runtime"); | |
220 | entr ies.add(ne w JMXHealt hConfigura tionEntry( JAVA_JVM_M BEAN_DOMAI N_NAME, | |
221 | VixServe rHealthPro perties.VI X_SERVER_H EALTH_VIX_ JVM_UPTIME , "Uptime" , vixJvmKe ys)); | |
222 | entr ies.add(ne w JMXHealt hConfigura tionEntry( JAVA_JVM_M BEAN_DOMAI N_NAME, | |
223 | VixServe rHealthPro perties.VI X_SERVER_H EALTH_VIX_ JVM_STARTT IME, "Star tTime", vi xJvmKeys)) ; | |
224 | ||
225 | /* | |
226 | // JMW 10/25/ 2010 P104 - buffer p ool no lon ger used, exclude fr om results | |
227 | Hash table<Stri ng, String > vixBuffe rPoolKeys = new Hash table<Stri ng, String >(); | |
228 | vixB ufferPoolK eys.put("t ype", "Byt eBufferPoo lManager") ; | |
229 | vixB ufferPoolK eys.put("n ame", "Man ager"); | |
230 | entr ies.add(ne w JMXHealt hConfigura tionEntry( ImagingMBe an.VIX_MBE AN_DOMAIN_ NAME, | |
231 | VixServe rHealthPro perties.VI X_SERVER_H EALTH_BUFF ER_POOL_MA NAGER_POOL _COUNT, "B ufferPoolC ount", vix BufferPool Keys)); | |
232 | entr ies.add(ne w JMXHealt hConfigura tionEntry( ImagingMBe an.VIX_MBE AN_DOMAIN_ NAME, | |
233 | VixServe rHealthPro perties.VI X_SERVER_H EALTH_BUFF ER_POOL_MA NAGER_HIGH EST_OVERLO AD_REQUEST , "Highest Overloaded BufferSize Request", vixBufferP oolKeys)); | |
234 | entr ies.add(ne w JMXHealt hConfigura tionEntry( ImagingMBe an.VIX_MBE AN_DOMAIN_ NAME, | |
235 | VixServe rHealthPro perties.VI X_SERVER_H EALTH_BUFF ER_POOL_MA NAGER_OVER LOAD_REQUE ST_COUNT, "Overloade dBufferSiz eRequests" , vixBuffe rPoolKeys) ); | |
236 | entr ies.add(ne w JMXHealt hConfigura tionEntry( ImagingMBe an.VIX_MBE AN_DOMAIN_ NAME, | |
237 | VixServe rHealthPro perties.VI X_SERVER_H EALTH_BUFF ER_POOL_MA NAGER_TOTA L_REQUEST_ COUNT, "To talRequest BufferCoun t", vixBuf ferPoolKey s)); | |
238 | entr ies.add(ne w JMXHealt hConfigura tionEntry( ImagingMBe an.VIX_MBE AN_DOMAIN_ NAME, | |
239 | VixServe rHealthPro perties.VI X_SERVER_H EALTH_BUFF ER_POOL_MA NAGER_TOTA L_BUFER_SI ZE_USE, "T otalBuffer SizeUse", vixBufferP oolKeys)); | |
240 | */ | |
241 | ||
242 | Hash table<Stri ng, String > requestP rocessorKe ys = new H ashtable<S tring, Str ing>(); | |
243 | requ estProcess orKeys.put ("type", " RequestPro cessor"); | |
244 | requ estProcess orKeys.put ("worker", "*"); | |
245 | requ estProcess orKeys.put ("name", " *"); | |
246 | entr ies.add(ne w JMXHealt hConfigura tionEntry( CATALINA_M BEAN_DOMAI N_NAME, | |
247 | VixServe rHealthPro perties.VI X_SERVER_H EALTH_CATA LINA_REQUE ST_PROCESS ING_TIME, "requestPr ocessingTi me", | |
248 | requestP rocessorKe ys, true, listThread Processing Time)); | |
249 | ||
250 | Hash table<Stri ng, String > threadPo olKeys = n ew Hashtab le<String, String>() ; | |
251 | thre adPoolKeys .put("type ", "Thread Pool"); | |
252 | thre adPoolKeys .put("name ", "*"); | |
253 | entr ies.add(ne w JMXHealt hConfigura tionEntry( CATALINA_M BEAN_DOMAI N_NAME, | |
254 | VixServe rHealthPro perties.VI X_SERVER_H EALTH_CATA LINA_THREA D_POOL_COU NT, "curre ntThreadCo unt", | |
255 | threadPo olKeys, tr ue, true)) ; | |
256 | entr ies.add(ne w JMXHealt hConfigura tionEntry( CATALINA_M BEAN_DOMAI N_NAME, | |
257 | VixServe rHealthPro perties.VI X_SERVER_H EALTH_CATA LINA_THREA D_POOL_MAX _THREADS, "maxThread s", | |
258 | threadPo olKeys, tr ue, true)) ; | |
259 | entr ies.add(ne w JMXHealt hConfigura tionEntry( CATALINA_M BEAN_DOMAI N_NAME, | |
260 | VixServe rHealthPro perties.VI X_SERVER_H EALTH_CATA LINA_THREA D_POOL_THR EADS_BUSY, "currentT hreadsBusy ", | |
261 | threadPo olKeys, tr ue, listTh readPoolDa ta)); | |
262 | ||
263 | ||
264 | // a lways incl uding Exch ange to su pport v1 o n site VIX | |
265 | Hash table<Stri ng, String > exchange ServletKey s = new Ha shtable<St ring, Stri ng>(); | |
266 | exch angeServle tKeys.put( "j2eeType" , "Servlet "); | |
267 | exch angeServle tKeys.put( "name", "* "); | |
268 | exch angeServle tKeys.put( "WebModule ", "*Imagi ngExchange WebApp"); | |
269 | exch angeServle tKeys.put( "J2EEAppli cation", " none"); | |
270 | exch angeServle tKeys.put( "J2EEServe r", "none" ); | |
271 | ||
272 | entr ies.add(ne w JMXHealt hConfigura tionEntry( CATALINA_M BEAN_DOMAI N_NAME, | |
273 | VixServe rHealthPro perties.VI X_SERVER_H EALTH_CATA LINA_EXCHA NGE_REQUES T_COUNT, " requestCou nt", | |
274 | exchange ServletKey s, true, t rue)); | |
275 | ||
276 | Hash table<Stri ng, String > federati onServletK eys = new Hashtable< String, St ring>(); | |
277 | fede rationServ letKeys.pu t("j2eeTyp e", "Servl et"); | |
278 | fede rationServ letKeys.pu t("name", "*"); | |
279 | fede rationServ letKeys.pu t("WebModu le", "*Fed erationWeb App"); | |
280 | fede rationServ letKeys.pu t("J2EEApp lication", "none"); | |
281 | fede rationServ letKeys.pu t("J2EESer ver", "non e"); | |
282 | ||
283 | entr ies.add(ne w JMXHealt hConfigura tionEntry( CATALINA_M BEAN_DOMAI N_NAME, | |
284 | VixServe rHealthPro perties.VI X_SERVER_H EALTH_CATA LINA_FEDER ATION_REQU EST_COUNT, "requestC ount", | |
285 | federati onServletK eys, true, true)); | |
286 | ||
287 | ||
288 | if(i ncludeHdig ) | |
289 | { | |
290 | Hashta ble<String , String> vixActivit yKeys = ne w Hashtabl e<String, String>(); | |
291 | vixAct ivityKeys. put( "type ", "DicomS erviceStat s" ); | |
292 | vixAct ivityKeys. put( "name ", "DICOMA ctivity"); | |
293 | //vixA ctivityKey s.put("num ber", "*") ; | |
294 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
295 | VixServerH ealthPrope rties.VIX_ SERVICE_AC COUNT_VALI D, "Servic eAccountVa lid", | |
296 | vixActivit yKeys, tru e, true)); | |
297 | ||
298 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
299 | VixServerH ealthPrope rties.VIX_ TOTAL_RAD_ OBJECTS_TO _CORRECT, "TotalRADO bjectsToCo rrectForHD IG", | |
300 | vixActivit yKeys, tru e, true)); | |
301 | ||
302 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
303 | VixServerH ealthPrope rties.VIX_ TOTAL_CON_ OBJECTS_TO _CORRECT, "TotalCONO bjectsToCo rrectForHD IG", | |
304 | vixActivit yKeys, tru e, true)); | |
305 | ||
306 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
307 | VixServerH ealthPrope rties.VIX_ TOTAL_DICO M_CORRECT_ WORK_ITEMS , "DicomCo rrectWorkI temCount", | |
308 | vixActivit yKeys, tru e, true)); | |
309 | ||
310 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
311 | VixServerH ealthPrope rties.VIX_ TOTAL_NETW ORK_IMPORT _WORK_ITEM S, "Networ kImportWor kItemCount ", | |
312 | vixActivit yKeys, tru e, true)); | |
313 | ||
314 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
315 | VixServerH ealthPrope rties.VIX_ TOTAL_STAG ED_MEDIA_W ORK_ITEMS, "StagedMe diaWorkIte mCount", | |
316 | vixActivit yKeys, tru e, true)); | |
317 | ||
318 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
319 | VixServerH ealthPrope rties.VIX_ TOTAL_FAIL ED_WORK_IT EMS, "Fail edWorkItem Count", | |
320 | vixActivit yKeys, tru e, true)); | |
321 | ||
322 | Hashta ble<String , String> dcfLicense Keys = new Hashtable <String, S tring>(); | |
323 | dcfLic enseKeys.p ut( "type" , "DCFLice nseInfo" ) ; | |
324 | dcfLic enseKeys.p ut( "name" , "License "); | |
325 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
326 | VixServerH ealthPrope rties.VIX_ DCF_VERSIO N, "DCFVer sion", | |
327 | dcfLicense Keys)); | |
328 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
329 | VixServerH ealthPrope rties.VIX_ DCF_LICENS E_EXPIRATI ON_DATE, " DCFLicense Expiration Date", | |
330 | dcfLicense Keys)); | |
331 | ||
332 | ||
333 | Hashta ble<String , String> listeningP ortKeys = new Hashta ble<String , String>( ); | |
334 | listen ingPortKey s.put( "ty pe", "Dico mServiceSt ats" ); | |
335 | listen ingPortKey s.put( "na me", "Port "); | |
336 | listen ingPortKey s.put("num ber", "*") ; | |
337 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
338 | VixServerH ealthPrope rties.VIX_ LISTENING_ PORT, "Por tName", | |
339 | listeningP ortKeys, t rue, true) ); | |
340 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
341 | VixServerH ealthPrope rties.VIX_ LISTENING_ PORT_CURRE NT_STATUS, "CurrentS tatus", | |
342 | listeningP ortKeys, t rue, true) ); | |
343 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
344 | VixServerH ealthPrope rties.VIX_ LISTENING_ PORT_LIVE_ SINCE, "Li steningSin ce", | |
345 | listeningP ortKeys, t rue, true) ); | |
346 | ||
347 | Hashta ble<String , String> inboundAss ociationKe ys = new H ashtable<S tring, Str ing>(); | |
348 | inboun dAssociati onKeys.put ( "type", "DicomServ iceStats" ); | |
349 | inboun dAssociati onKeys.put ( "name", "InboundAs sociations "); | |
350 | inboun dAssociati onKeys.put ("number", "*"); | |
351 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
352 | VixServerH ealthPrope rties.VIX_ INBOUND_AS SOCIATION_ AETITLE, " AeTitle", | |
353 | inboundAss ociationKe ys, true, true)); | |
354 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
355 | VixServerH ealthPrope rties.VIX_ INBOUND_AS SOCIATION_ IP_ADDRESS , "IpAddre ss", | |
356 | inboundAss ociationKe ys, true, true)); | |
357 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
358 | VixServerH ealthPrope rties.VIX_ INBOUND_AS SOCIATION_ LAST_ACCES S_TIMESTAM P, "TimeSt ampOfLastA ctivity", | |
359 | inboundAss ociationKe ys, true, true)); | |
360 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
361 | VixServerH ealthPrope rties.VIX_ INBOUND_AS SOCIATION_ TOTAL_ACCE PTED_ASSOC IATIONS, " TotalAccep tedAssocia tions", | |
362 | inboundAss ociationKe ys, true, true)); | |
363 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
364 | VixServerH ealthPrope rties.VIX_ INBOUND_AS SOCIATION_ TOTAL_REJE CTED_ASSOC IATIONS, " TotalRejec tedAssocia tions", | |
365 | inboundAss ociationKe ys, true, true)); | |
366 | ||
367 | Hashta ble<String , String> dimseKeys = new Hash table<Stri ng, String >(); | |
368 | dimseK eys.put( " type", "Di comService Stats" ); | |
369 | dimseK eys.put( " name", "In boundDimse Messages") ; | |
370 | dimseK eys.put("n umber", "* "); | |
371 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
372 | VixServerH ealthPrope rties.VIX_ INBOUND_DI MSE_AETITL E, "AeTitl e", | |
373 | dimseKeys, true, tru e)); | |
374 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
375 | VixServerH ealthPrope rties.VIX_ INBOUND_DI MSE_SERVIC E_NAME, "D imseServic eName", | |
376 | dimseKeys, true, tru e)); | |
377 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
378 | VixServerH ealthPrope rties.VIX_ INBOUND_DI MSE_TOTAL_ PROCESSED_ MESSAGES, "TotalProc essedDimse Messages", | |
379 | dimseKeys, true, tru e)); | |
380 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
381 | VixServerH ealthPrope rties.VIX_ INBOUND_DI MSE_TOTAL_ REJECTED_M ESSAGES, " TotalRejec tedDimseMe ssages", | |
382 | dimseKeys, true, tru e)); | |
383 | ||
384 | Hashta ble<String , String> storageSCP Keys = new Hashtable <String, S tring>(); | |
385 | storag eSCPKeys.p ut( "type" , "DicomSe rviceStats " ); | |
386 | storag eSCPKeys.p ut( "name" , "Inbound Objects"); | |
387 | storag eSCPKeys.p ut("number ", "*"); | |
388 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
389 | VixServerH ealthPrope rties.VIX_ INBOUND_OB JECTS_AETI TLE, "AeTi tle", | |
390 | storageSCP Keys, true , true)); | |
391 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
392 | VixServerH ealthPrope rties.VIX_ INBOUND_OB JECTS_TOTA L_OBJECTS_ PROCESSED, "TotalObj ectsProces sed", | |
393 | storageSCP Keys, true , true)); | |
394 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
395 | VixServerH ealthPrope rties.VIX_ INBOUND_OB JECTS_TOTA L_OBJECTS_ REJECTED, "TotalObje ctsRejecte d", | |
396 | storageSCP Keys, true , true)); | |
397 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
398 | VixServerH ealthPrope rties.VIX_ INBOUND_OB JECTS_TOTA L_OBJECTS_ PASSED_TO_ LEGACY_DGW , "TotalOb jectsPasse dToLegacyG W", | |
399 | storageSCP Keys, true , true)); | |
400 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
401 | VixServerH ealthPrope rties.VIX_ INBOUND_OB JECTS_TOTA L_OBJECTS_ PASSED_TO_ HDIG_DATA_ STRUCTURE, "TotalObj ectsPassed ToHDIGData Structure" , | |
402 | storageSCP Keys, true , true)); | |
403 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
404 | VixServerH ealthPrope rties.VIX_ INBOUND_OB JECTS_TOTA L_DUPLICAT E_OBJECTS, "TotalDup licateObje cts", | |
405 | storageSCP Keys, true , true)); | |
406 | ||
407 | Hashta ble<String , String> modalityDe viceKeys = new Hasht able<Strin g, String> (); | |
408 | modali tyDeviceKe ys.put( "t ype", "Dic omServiceS tats" ); | |
409 | modali tyDeviceKe ys.put( "n ame", "Inb oundModali tyDevices" ); | |
410 | modali tyDeviceKe ys.put("nu mber", "*" ); | |
411 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
412 | VixServerH ealthPrope rties.VIX_ INBOUND_MO DALITY_DEV ICE_MANUFA CTURER, "M anufacture r", | |
413 | modalityDe viceKeys, true, true )); | |
414 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
415 | VixServerH ealthPrope rties.VIX_ INBOUND_MO DALITY_DEV ICE_MODEL, "Model", | |
416 | modalityDe viceKeys, true, true )); | |
417 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
418 | VixServerH ealthPrope rties.VIX_ INBOUND_MO DALITY_DEV ICE_TOTAL_ OBJECTS_PR OCESSED, " TotalDicom ObjectsPro cessed", | |
419 | modalityDe viceKeys, true, true )); | |
420 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
421 | VixServerH ealthPrope rties.VIX_ INBOUND_MO DALITY_DEV ICE_TOTAL_ OBJECTS_RE JECTED, "T otalDicomO bjectsReje cted", | |
422 | modalityDe viceKeys, true, true )); | |
423 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
424 | VixServerH ealthPrope rties.VIX_ INBOUND_MO DALITY_DEV ICE_TOTAL_ OBJECTS_WI TH_IOD_VIO LATIONS, " TotalDicom ObjectsWit hIODViolat ions", | |
425 | modalityDe viceKeys, true, true )); | |
426 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
427 | VixServerH ealthPrope rties.VIX_ INBOUND_MO DALTIY_DEV ICE_TOTAL_ DUPLICATE_ INSTANCE_U IDS, "Tota lDuplicate InstanceUI Ds", | |
428 | modalityDe viceKeys, true, true )); | |
429 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
430 | VixServerH ealthPrope rties.VIX_ INBOUND_MO DALITY_DEV ICE_TOTAL_ DUPLICATE_ OBJECTS, " TotalDupli cateObject s", | |
431 | modalityDe viceKeys, true, true )); | |
432 | ||
433 | Hashta ble<String , String> sopClassKe ys = new H ashtable<S tring, Str ing>(); | |
434 | sopCla ssKeys.put ( "type", "DicomServ iceStats" ); | |
435 | sopCla ssKeys.put ( "name", "InboundSO PClasses") ; | |
436 | sopCla ssKeys.put ("number", "*"); | |
437 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
438 | VixServerH ealthPrope rties.VIX_ INBOUND_SO P_CLASS, " ModalityCo de", | |
439 | sopClassKe ys, true, true)); | |
440 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
441 | VixServerH ealthPrope rties.VIX_ INBOUND_SO P_CLASS_TO TAL_OBJECT S_PROCESSE D, "TotalD icomObject sProcessed ", | |
442 | sopClassKe ys, true, true)); | |
443 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
444 | VixServerH ealthPrope rties.VIX_ INBOUND_SO P_CLASS_TO TAL_OBJECT S_REJECTED , "TotalDi comObjects Rejected", | |
445 | sopClassKe ys, true, true)); | |
446 | ||
447 | Hashta ble<String , String> storageSCU Keys = new Hashtable <String, S tring>(); | |
448 | storag eSCUKeys.p ut( "type" , "DicomSe rviceStats " ); | |
449 | storag eSCUKeys.p ut( "name" , "Outboun dObjects") ; | |
450 | storag eSCUKeys.p ut("number ", "*"); | |
451 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
452 | VixServerH ealthPrope rties.VIX_ OUTBOUND_O BJECTS_AET ITLE, "AeT itle", | |
453 | storageSCU Keys, true , true)); | |
454 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
455 | VixServerH ealthPrope rties.VIX_ OUTBOUND_O BJECTS_TOT AL_OBJECTS _TRANSMITT ED_TO_SCP, "TotalObj ectsTransm ittedToSCP ", | |
456 | storageSCU Keys, true , true)); | |
457 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
458 | VixServerH ealthPrope rties.VIX_ OUTBOUND_O BJECTS_TOT AL_OBJECTS _REJECTED_ BY_SCP, "T otalObject sRejectedB ySCP", | |
459 | storageSCU Keys, true , true)); | |
460 | ||
461 | Hashta ble<String , String> outboundAs sociationK eys = new Hashtable< String, St ring>(); | |
462 | outbou ndAssociat ionKeys.pu t( "type", "DicomSer viceStats" ); | |
463 | outbou ndAssociat ionKeys.pu t( "name", "Outbound Associatio ns"); | |
464 | outbou ndAssociat ionKeys.pu t("number" , "*"); | |
465 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
466 | VixServerH ealthPrope rties.VIX_ OUTBOUND_A SSOCIATION _AETITLE, "AeTitle", | |
467 | outboundAs sociationK eys, true, true)); | |
468 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
469 | VixServerH ealthPrope rties.VIX_ OUTBOUND_A SSOCIATION _TOTAL_ACC EPTED_ASSO CIATIONS, "TotalAcce ptedAssoci ations", | |
470 | outboundAs sociationK eys, true, true)); | |
471 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
472 | VixServerH ealthPrope rties.VIX_ OUTBOUND_A SSOCIATION _TOTAL_REJ ECTED_ASSO CIATIONS, "TotalReje ctedAssoci ations", | |
473 | outboundAs sociationK eys, true, true)); | |
474 | ||
475 | } | |
476 | else | |
477 | { | |
478 | // inc lude site service if not HDIG | |
479 | ||
480 | // the re are man y possible entries f or the sit e service (for all p ossible UR L options) | |
481 | Hashta ble<String , String> siteServic eServletKe ys = new H ashtable<S tring, Str ing>(); | |
482 | siteSe rviceServl etKeys.put ("j2eeType ", "Servle t"); | |
483 | siteSe rviceServl etKeys.put ("name", " *"); | |
484 | siteSe rviceServl etKeys.put ("WebModul e", "*site serviceweb app"); | |
485 | siteSe rviceServl etKeys.put ("J2EEAppl ication", "none"); | |
486 | siteSe rviceServl etKeys.put ("J2EEServ er", "none "); | |
487 | entrie s.add(new JMXHealthC onfigurati onEntry(CA TALINA_MBE AN_DOMAIN_ NAME, | |
488 | VixServerH ealthPrope rties.VIX_ SERVER_HEA LTH_CATALI NA_SITE_SE RVICE_REQU EST_COUNT + "_1", "r equestCoun t", | |
489 | siteServic eServletKe ys, true, true)); | |
490 | ||
491 | siteSe rviceServl etKeys = n ew Hashtab le<String, String>() ; | |
492 | siteSe rviceServl etKeys.put ("j2eeType ", "Servle t"); | |
493 | siteSe rviceServl etKeys.put ("name", " *"); | |
494 | siteSe rviceServl etKeys.put ("WebModul e", "*Vist AWebSvcs") ; // capit al A | |
495 | siteSe rviceServl etKeys.put ("J2EEAppl ication", "none"); | |
496 | siteSe rviceServl etKeys.put ("J2EEServ er", "none "); | |
497 | entrie s.add(new JMXHealthC onfigurati onEntry(CA TALINA_MBE AN_DOMAIN_ NAME, | |
498 | VixServerH ealthPrope rties.VIX_ SERVER_HEA LTH_CATALI NA_SITE_SE RVICE_REQU EST_COUNT + "_2", "r equestCoun t", | |
499 | siteServic eServletKe ys, true, true)); | |
500 | ||
501 | siteSe rviceServl etKeys = n ew Hashtab le<String, String>() ; | |
502 | siteSe rviceServl etKeys.put ("j2eeType ", "Servle t"); | |
503 | siteSe rviceServl etKeys.put ("name", " *"); | |
504 | siteSe rviceServl etKeys.put ("WebModul e", "*Vist aWebSvcs") ; // lower case A | |
505 | siteSe rviceServl etKeys.put ("J2EEAppl ication", "none"); | |
506 | siteSe rviceServl etKeys.put ("J2EEServ er", "none "); | |
507 | entrie s.add(new JMXHealthC onfigurati onEntry(CA TALINA_MBE AN_DOMAIN_ NAME, | |
508 | VixServerH ealthPrope rties.VIX_ SERVER_HEA LTH_CATALI NA_SITE_SE RVICE_REQU EST_COUNT + "_3", "r equestCoun t", | |
509 | siteServic eServletKe ys, true, true)); | |
510 | ||
511 | siteSe rviceServl etKeys = n ew Hashtab le<String, String>() ; | |
512 | siteSe rviceServl etKeys.put ("j2eeType ", "Servle t"); | |
513 | siteSe rviceServl etKeys.put ("name", " *"); | |
514 | siteSe rviceServl etKeys.put ("WebModul e", "*vist awebsvcs") ; // all l owercase | |
515 | siteSe rviceServl etKeys.put ("J2EEAppl ication", "none"); | |
516 | siteSe rviceServl etKeys.put ("J2EEServ er", "none "); | |
517 | entrie s.add(new JMXHealthC onfigurati onEntry(CA TALINA_MBE AN_DOMAIN_ NAME, | |
518 | VixServerH ealthPrope rties.VIX_ SERVER_HEA LTH_CATALI NA_SITE_SE RVICE_REQU EST_COUNT + "_4", "r equestCoun t", | |
519 | siteServic eServletKe ys, true, true)); | |
520 | ||
521 | //Move d code her e to avoid problems with HDIG. | |
522 | Hashta ble<String , String> transactio nLogKeys = new Hasht able<Strin g, String> (); | |
523 | transa ctionLogKe ys.put("ty pe", "Tran sactionLog Database") ; | |
524 | transa ctionLogKe ys.put("na me", "Stat istics"); | |
525 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
526 | VixServe rHealthPro perties.VI X_SERVER_H EALTH_TRAN SACTION_LO G_STATISTI CS_TRANSAC TIONS_WRIT TEN, "Tran sactionsWr itten", tr ansactionL ogKeys)); | |
527 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
528 | VixServe rHealthPro perties.VI X_SERVER_H EALTH_TRAN SACTION_LO G_STATISTI CS_TRANSAC TIONS_QUER IED, "Tran sactionsQu eried", tr ansactionL ogKeys)); | |
529 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
530 | VixServe rHealthPro perties.VI X_SERVER_H EALTH_TRAN SACTION_LO G_STATISTI CS_TRANSAC TIONS_PURG ED, "Trans actionsPur ged", tran sactionLog Keys)); | |
531 | // JMW 2/1/2012 - include error prop erties fro m the tran saction lo g | |
532 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
533 | VixServerH ealthPrope rties.VIX_ SERVER_HEA LTH_TRANSA CTION_LOG_ STATISTICS _TRANSACTI ON_WRITE_E RRORS, "Tr ansactionW riteErrors ", transac tionLogKey s)); | |
534 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
535 | VixServerH ealthPrope rties.VIX_ SERVER_HEA LTH_TRANSA CTION_LOG_ STATISTICS _TRANSACTI ON_READ_ER RORS, "Tra nsactionRe adErrors", transacti onLogKeys) ); | |
536 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
537 | VixServerH ealthPrope rties.VIX_ SERVER_HEA LTH_TRANSA CTION_LOG_ STATISTICS _TRANSACTI ON_ERRORS, "Transact ionErrors" , transact ionLogKeys )); | |
538 | ||
539 | Hashta ble<String , String> VixDicomSe rvicesActi vityKeys = new Hasht able<Strin g, String> (); | |
540 | VixDic omServices ActivityKe ys.put( "t ype", "Vix DicomServi cesStats" ); | |
541 | VixDic omServices ActivityKe ys.put( "n ame", "Vix SendToAEFa ilures"); | |
542 | VixDic omServices ActivityKe ys.put("nu mber", "*" ); | |
543 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
544 | VixServerH ealthPrope rties.VIX_ DICOM_SERV ICES_STORE _SCU_AETIT LE, "AeTit le", | |
545 | VixDicomSe rvicesActi vityKeys, true, true )); | |
546 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
547 | VixServerH ealthPrope rties.VIX_ DICOM_SERV ICES_STORE _SCU_SOPCL ASS, "SopC lass", | |
548 | VixDicomSe rvicesActi vityKeys, true, true )); | |
549 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
550 | VixServerH ealthPrope rties.VIX_ DICOM_SERV ICES_STORE _SCU_TOTAL _VIX_SEND_ TO_AE_FAIL URES, "Tot alVixSendT oAEFailure s", | |
551 | VixDicomSe rvicesActi vityKeys, true, true )); | |
552 | ||
553 | } | |
554 | ||
555 | if(i ncludeAwiv ) | |
556 | { | |
557 | // CVI X only val ues | |
558 | Hashta ble<String , String> awivServle tKeys = ne w Hashtabl e<String, String>(); | |
559 | awivSe rvletKeys. put("j2eeT ype", "Ser vlet"); | |
560 | awivSe rvletKeys. put("name" , "*"); | |
561 | awivSe rvletKeys. put("WebMo dule", "*A WIVWebApp" ); | |
562 | awivSe rvletKeys. put("J2EEA pplication ", "none") ; | |
563 | awivSe rvletKeys. put("J2EES erver", "n one"); | |
564 | ||
565 | entrie s.add(new JMXHealthC onfigurati onEntry(CA TALINA_MBE AN_DOMAIN_ NAME, | |
566 | VixServerH ealthPrope rties.VIX_ SERVER_HEA LTH_CATALI NA_AWIV_RE QUEST_COUN T, "reques tCount", | |
567 | awivServle tKeys, tru e, true)); | |
568 | ||
569 | Hashta ble<String , String> xcaServlet Keys = new Hashtable <String, S tring>(); | |
570 | xcaSer vletKeys.p ut("j2eeTy pe", "Serv let"); | |
571 | xcaSer vletKeys.p ut("name", "*"); | |
572 | xcaSer vletKeys.p ut("WebMod ule", "*XC ARespondin gGateway") ; | |
573 | xcaSer vletKeys.p ut("J2EEAp plication" , "none"); | |
574 | xcaSer vletKeys.p ut("J2EESe rver", "no ne"); | |
575 | entrie s.add(new JMXHealthC onfigurati onEntry(CA TALINA_MBE AN_DOMAIN_ NAME, | |
576 | VixServerH ealthPrope rties.VIX_ SERVER_HEA LTH_CATALI NA_XCA_REQ UEST_COUNT , "request Count", | |
577 | xcaServlet Keys, true , true)); | |
578 | ||
579 | Hashta ble<String , String> dodRequest Keys = new Hashtable <String, S tring>(); | |
580 | dodReq uestKeys.p ut("name", "Statisti cs"); | |
581 | dodReq uestKeys.p ut("type", "DODReque sts"); | |
582 | ||
583 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
584 | VixServerH ealthPrope rties.VIX_ SERVER_TOT AL_DOD_PAT IENT_ARTIF ACT_REQUES TS, | |
585 | "TotalDodP atientArti factReques ts", dodRe questKeys) ); | |
586 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
587 | VixServerH ealthPrope rties.VIX_ SERVER_TOT AL_DOD_EXA M_REQUESTS , | |
588 | "TotalDodE xamRequest s", dodReq uestKeys)) ; | |
589 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
590 | VixServerH ealthPrope rties.VIX_ SERVER_NON _CORRELATE D_DOD_PATI ENT_ARTIFA CT_REQUEST S, | |
591 | "NonCorrel atedDodPat ientArtifa ctRequests ", dodRequ estKeys)); | |
592 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
593 | VixServerH ealthPrope rties.VIX_ SERVER_NON _CORRELATE D_DOD_EXAM _REQUESTS, | |
594 | "NonCorrel atedDodExa mRequests" , dodReque stKeys)); | |
595 | } | |
596 | else | |
597 | { | |
598 | // Sit e VIX only values | |
599 | Hashta ble<String , String> clinicalDi splayServl etKeys = n ew Hashtab le<String, String>() ; | |
600 | clinic alDisplayS ervletKeys .put("j2ee Type", "Se rvlet"); | |
601 | clinic alDisplayS ervletKeys .put("name ", "*"); | |
602 | clinic alDisplayS ervletKeys .put("WebM odule", "* ClinicalDi splayWebAp p"); | |
603 | clinic alDisplayS ervletKeys .put("J2EE Applicatio n", "none" ); | |
604 | clinic alDisplayS ervletKeys .put("J2EE Server", " none"); | |
605 | entrie s.add(new JMXHealthC onfigurati onEntry(CA TALINA_MBE AN_DOMAIN_ NAME, | |
606 | VixServerH ealthPrope rties.VIX_ SERVER_HEA LTH_CATALI NA_CLINICA L_DISPLAY_ REQUEST_CO UNT, "requ estCount", | |
607 | clinicalDi splayServl etKeys, tr ue, true)) ; | |
608 | ||
609 | Hashta ble<String , String> vistaRadSe rvletKeys = new Hash table<Stri ng, String >(); | |
610 | vistaR adServletK eys.put("j 2eeType", "Servlet") ; | |
611 | vistaR adServletK eys.put("n ame", "*") ; | |
612 | vistaR adServletK eys.put("W ebModule", "*VistaRa dWebApp"); | |
613 | vistaR adServletK eys.put("J 2EEApplica tion", "no ne"); | |
614 | vistaR adServletK eys.put("J 2EEServer" , "none"); | |
615 | entrie s.add(new JMXHealthC onfigurati onEntry(CA TALINA_MBE AN_DOMAIN_ NAME, | |
616 | VixServerH ealthPrope rties.VIX_ SERVER_HEA LTH_CATALI NA_VISTARA D_REQUEST_ COUNT, "re questCount ", | |
617 | vistaRadSe rvletKeys, true, tru e)); | |
618 | ||
619 | // JMW 4/20/2012 - propert ies for RO I processi ng | |
620 | Hashta ble<String , String> roiPeriodi cProcessin gKeys = ne w Hashtabl e<String, String>(); | |
621 | roiPer iodicProce ssingKeys. put("type" , "ROIProc essingComm ands" ); | |
622 | roiPer iodicProce ssingKeys. put("name" , "Statist ics" ); | |
623 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
624 | VixServerH ealthPrope rties.VIX_ SERVER_HEA LTH_ROI_PE RIODIC_PRO CESSING_EN ABLED, | |
625 | "RoiPeriod icProcessi ng", roiPe riodicProc essingKeys )); | |
626 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
627 | VixServerH ealthPrope rties.VIX_ SERVER_HEA LTH_ROI_PE RIODIC_PRO CESSING_ER ROR, | |
628 | "RoiPeriod icProcessi ngError", roiPeriodi cProcessin gKeys)); | |
629 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
630 | VixServerH ealthPrope rties.VIX_ SERVER_HEA LTH_ROI_CO MPLETED_IT EM_PURGE_E NABLED, | |
631 | "RoiComple tedItemsPu rgeProcess ing", roiP eriodicPro cessingKey s)); | |
632 | ||
633 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
634 | VixServerH ealthPrope rties.VIX_ SERVER_HEA LTH_ROI_DI SCLOSURE_R EQUESTS, | |
635 | "RoiDisclo sureReques ts", roiPe riodicProc essingKeys )); | |
636 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
637 | VixServerH ealthPrope rties.VIX_ SERVER_HEA LTH_ROI_DI SCLOSURE_P ROCESSING_ ERRORS, | |
638 | "RoiDisclo sureProces singErrors ", roiPeri odicProces singKeys)) ; | |
639 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
640 | VixServerH ealthPrope rties.VIX_ SERVER_HEA LTH_ROI_DI SCLOSURES_ COMPLETED, | |
641 | "RoiDisclo suresCompl eted", roi PeriodicPr ocessingKe ys)); | |
642 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
643 | VixServerH ealthPrope rties.VIX_ SERVER_HEA LTH_ROI_ST UDIES_SENT _TO_EXPORT _QUEUE, | |
644 | "RoiStudie sSentToExp ortQueue", roiPeriod icProcessi ngKeys)); | |
645 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
646 | VixServerH ealthPrope rties.VIX_ SERVER_HEA LTH_ROI_DI SCLOSURES_ CANCELLED, | |
647 | "RoiDisclo suresCance lled", roi PeriodicPr ocessingKe ys)); | |
648 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
649 | VixServerH ealthPrope rties.VIX_ SERVER_HEA LTH_ROI_PR OCESS_WORK _ITEMS_IMM EDIATELY, | |
650 | "RoiProces sWorkItemI mmediately ", roiPeri odicProces singKeys)) ; | |
651 | ||
652 | // JMW 2/1/2013 - addition al propert ies relate d to ROI | |
653 | Hashta ble<String , String> imageGearP rocessingK eys = new Hashtable< String, St ring>(); | |
654 | imageG earProcess ingKeys.pu t("type", "ImageGear DataSource Provider" ); | |
655 | imageG earProcess ingKeys.pu t("name", "Statistic s" ); | |
656 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
657 | VixServerH ealthPrope rties.VIX_ SERVER_HEA LTH_IMAGE_ GEAR_BURN_ ANNOTATION _FAILURES, | |
658 | "BurnAnnot ationFailu res", imag eGearProce ssingKeys) ); | |
659 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
660 | VixServerH ealthPrope rties.VIX_ SERVER_HEA LTH_IMAGE_ GEAR_BURN_ ANNOTATION _REQUESTS, | |
661 | "BurnAnnot ationReque sts", imag eGearProce ssingKeys) ); | |
662 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
663 | VixServerH ealthPrope rties.VIX_ SERVER_HEA LTH_IMAGE_ GEAR_BURN_ ANNOTATION _SUCCESS, | |
664 | "BurnAnnot ationSucce ss", image GearProces singKeys)) ; | |
665 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
666 | VixServerH ealthPrope rties.VIX_ SERVER_HEA LTH_IMAGE_ GEAR_DISCL OSURE_FAIL URES, | |
667 | "Disclosur eWriteFail ures", ima geGearProc essingKeys )); | |
668 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
669 | VixServerH ealthPrope rties.VIX_ SERVER_HEA LTH_IMAGE_ GEAR_DISCL OSURE_REQU ESTS, | |
670 | "Disclosur eWriteRequ ests", ima geGearProc essingKeys )); | |
671 | entrie s.add(new JMXHealthC onfigurati onEntry(Im agingMBean .VIX_MBEAN _DOMAIN_NA ME, | |
672 | VixServerH ealthPrope rties.VIX_ SERVER_HEA LTH_IMAGE_ GEAR_DISCL OSURE_SUCC ESS, | |
673 | "Disclosur eWriteSucc ess", imag eGearProce ssingKeys) ); | |
674 | ||
675 | } | |
676 | ||
677 | Hash table<Stri ng, String > siteServ iceKeys = new Hashta ble<String , String>( ); | |
678 | site ServiceKey s.put("nam e", "Confi guration") ; | |
679 | site ServiceKey s.put("typ e", "SiteS ervice"); | |
680 | ||
681 | entr ies.add(ne w JMXHealt hConfigura tionEntry( ImagingMBe an.VIX_MBE AN_DOMAIN_ NAME, | |
682 | VixServe rHealthPro perties.VI X_SITE_SER VICE_URL, "SiteServi ceUrl", si teServiceK eys)); | |
683 | entr ies.add(ne w JMXHealt hConfigura tionEntry( ImagingMBe an.VIX_MBE AN_DOMAIN_ NAME, | |
684 | VixServe rHealthPro perties.VI X_SITE_SER VICE_LAST_ UPDATED, " LastUpdate ", siteSer viceKeys)) ; | |
685 | entr ies.add(ne w JMXHealt hConfigura tionEntry( ImagingMBe an.VIX_MBE AN_DOMAIN_ NAME, | |
686 | VixServe rHealthPro perties.VI X_SITE_SER VICE_SOURC E_VERSION, "SiteServ iceDataSou rceVersion ", siteSer viceKeys)) ; | |
687 | ||
688 | ||
689 | ||
690 | // O perating S ystem and Server Inf ormation ( for VIX/CV IX/HDIG) | |
691 | Hash table<Stri ng, String > operatin gSystemKey s = new Ha shtable<St ring, Stri ng>(); | |
692 | oper atingSyste mKeys.put( "type", "O peratingSy stem"); | |
693 | entr ies.add(ne w JMXHealt hConfigura tionEntry( JAVA_JVM_M BEAN_DOMAI N_NAME, | |
694 | VixServe rHealthPro perties.VI X_SERVER_A VAILABLE_P ROCESSORS, "Availabl eProcessor s", operat ingSystemK eys)); | |
695 | entr ies.add(ne w JMXHealt hConfigura tionEntry( JAVA_JVM_M BEAN_DOMAI N_NAME, | |
696 | VixServe rHealthPro perties.VI X_SERVER_O PERATING_S YSTEM_ARCH ITECTURE, "Arch", op eratingSys temKeys)); | |
697 | entr ies.add(ne w JMXHealt hConfigura tionEntry( JAVA_JVM_M BEAN_DOMAI N_NAME, | |
698 | VixServe rHealthPro perties.VI X_SERVER_O PERATING_S YSTEM_NAME , "Name", operatingS ystemKeys) ); | |
699 | entr ies.add(ne w JMXHealt hConfigura tionEntry( JAVA_JVM_M BEAN_DOMAI N_NAME, | |
700 | VixServe rHealthPro perties.VI X_SERVER_O PERATING_S YSTEM_VERS ION, "Vers ion", oper atingSyste mKeys)); | |
701 | entr ies.add(ne w JMXHealt hConfigura tionEntry( JAVA_JVM_M BEAN_DOMAI N_NAME, | |
702 | VixServe rHealthPro perties.VI X_SERVER_C OMMITTED_V IRTUAL_MEM ORY_SIZE, | |
703 | "Committ edVirtualM emorySize" , operatin gSystemKey s)); | |
704 | entr ies.add(ne w JMXHealt hConfigura tionEntry( JAVA_JVM_M BEAN_DOMAI N_NAME, | |
705 | VixServe rHealthPro perties.VI X_SERVER_F REE_PHYSIC AL_MEMORY_ SIZE, | |
706 | "FreePhy sicalMemor ySize", op eratingSys temKeys)); | |
707 | entr ies.add(ne w JMXHealt hConfigura tionEntry( JAVA_JVM_M BEAN_DOMAI N_NAME, | |
708 | VixServe rHealthPro perties.VI X_SERVER_T OTAL_PHYSI CAL_MEMORY _SIZE, | |
709 | "TotalPh ysicalMemo rySize", o peratingSy stemKeys)) ; | |
710 | entr ies.add(ne w JMXHealt hConfigura tionEntry( JAVA_JVM_M BEAN_DOMAI N_NAME, | |
711 | VixServe rHealthPro perties.VI X_SERVER_F REE_SWAP_S PACE_SIZE, | |
712 | "FreeSwa pSpaceSize ", operati ngSystemKe ys)); | |
713 | entr ies.add(ne w JMXHealt hConfigura tionEntry( JAVA_JVM_M BEAN_DOMAI N_NAME, | |
714 | VixServe rHealthPro perties.VI X_SERVER_T OTAL_SWAP_ SPACE_SIZE , | |
715 | "TotalSw apSpaceSiz e", operat ingSystemK eys)); | |
716 | ||
717 | Hash table<Stri ng, String > threadin gKeys = ne w Hashtabl e<String, String>(); | |
718 | thre adingKeys. put("type" , "Threadi ng"); | |
719 | entr ies.add(ne w JMXHealt hConfigura tionEntry( JAVA_JVM_M BEAN_DOMAI N_NAME, | |
720 | VixServe rHealthPro perties.VI X_SERVER_T HREAD_COUN T, | |
721 | "ThreadC ount", thr eadingKeys )); | |
722 | ||
723 | // b ytes throu gh each in terface | |
724 | Hash table<Stri ng, String > globalRe questProce ssorKeys = new Hasht able<Strin g, String> (); | |
725 | glob alRequestP rocessorKe ys.put("ty pe", "Glob alRequestP rocessor") ; | |
726 | glob alRequestP rocessorKe ys.put("na me", "*"); | |
727 | entr ies.add(ne w JMXHealt hConfigura tionEntry( CATALINA_M BEAN_DOMAI N_NAME, | |
728 | VixServe rHealthPro perties.VI X_SERVER_H EALTH_CATA LINA_GLOBA L_REQUEST_ PROCESSING _BYTES_REC EIVED, | |
729 | "bytesRe ceived", g lobalReque stProcesso rKeys, tru e, true)); | |
730 | entr ies.add(ne w JMXHealt hConfigura tionEntry( CATALINA_M BEAN_DOMAI N_NAME, | |
731 | VixServe rHealthPro perties.VI X_SERVER_H EALTH_CATA LINA_GLOBA L_REQUEST_ PROCESSING _BYTES_SEN T, | |
732 | "bytesSe nt", globa lRequestPr ocessorKey s, true, t rue)); | |
733 | entr ies.add(ne w JMXHealt hConfigura tionEntry( CATALINA_M BEAN_DOMAI N_NAME, | |
734 | VixServe rHealthPro perties.VI X_SERVER_H EALTH_CATA LINA_GLOBA L_REQUEST_ PROCESSING _PROCESSIN G_TIME, | |
735 | "process ingTime", globalRequ estProcess orKeys, tr ue, true)) ; | |
736 | entr ies.add(ne w JMXHealt hConfigura tionEntry( CATALINA_M BEAN_DOMAI N_NAME, | |
737 | VixServe rHealthPro perties.VI X_SERVER_H EALTH_CATA LINA_GLOBA L_REQUEST_ PROCESSING _REQUEST_C OUNT, | |
738 | "request Count", gl obalReques tProcessor Keys, true , true)); | |
739 | ||
740 | ||
741 | retu rn entries ; | |
742 | } | |
743 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.