Motiation
Some "emarks
,isc$ssion
2013 kippdata informationstechnologie GmbH 3 Monitoring Apache Tomcat and Web Serer ! "ainer #$ng ! Apache%on &A 2013
Motiation
Some "emarks
,isc$ssion
2013 kippdata informationstechnologie GmbH - Monitoring Apache Tomcat and Web Serer ! "ainer #$ng ! Apache%on &A 2013
Motiation ! Monitoring
Monitoring Goals
Hard to f$lfill
2013 kippdata informationstechnologie GmbH 7 Monitoring Apache Tomcat and Web Serer ! "ainer #$ng ! Apache%on &A 2013
Motiation ! Monitoring
3olling
Storing
4ses9
%apacit1 management
3ools/ caches
"eso$rce $sage
Motiation
Some "emarks
,isc$ssion
2013 kippdata informationstechnologie GmbH D Monitoring Apache Tomcat and Web Serer ! "ainer #$ng ! Apache%on &A 2013
#aa Management '(tensions
%onfig$ration settings
6perations s$pported
MGeans
Simple e(ample9
Name: Catalina:type=ThreadPool,name="http-bio-8080"
^^Domain^^
currentThreadCount: 10
currentThread!uy: 1
ma"Thread: #00
connectionCount: #
2013 kippdata informationstechnologie GmbH 11 Monitoring Apache Tomcat and Web Serer ! "ainer #$ng ! Apache%on &A 2013
#aa Management '(tensions ! MGeans and MGeanSerer
http900docsEoracleEcom0;aase0<0docs0technotes0g$ides0management0agentEhtmlJgdef
2,comEs$nEmanagementE;m(remote K
2,comEs$nEmanagementE;m(remoteEportLDC>< EEE
#His$alHM
#His$alHM ,emo
Motiation
Some "emarks
,isc$ssion
2013 kippdata informationstechnologie GmbH 1> Monitoring Apache Tomcat and Web Serer ! "ainer #$ng ! Apache%on &A 2013
Some "emarks
H$rdles
More H$rdles
Might lead to $nacceptable polling load if tool does not s$pport appropriate
b$lk reB$ests
'(ample9 ma(im$m and c$rrent pool si8e/ b$t not c$rrent percentage
Motiation
Some "emarks
,isc$ssion
2013 kippdata informationstechnologie GmbH 21 Monitoring Apache Tomcat and Web Serer ! "ainer #$ng ! Apache%on &A 2013
Monitoring Apache Tomcat ! Getting the ,ata
https900tomcatEapacheEorg0tomcat2>E02doc0manager2
ho:toEhtmlJ4singNtheN#M*N3ro(1NSerlet
,emo
#olokia )http900:::E;olokiaEorg0+
6peratingS1stem
Name: $a%a&lan':type=(peratin')ytem
*%ailableProceor: +
ProceCpuTime: 1++,0000000
^^^nano econd^^^
)ytem-oad*%era'e: 0&1++,.1#,
TotalPhyical/emory)i0e: +08011.1#8
Total)2ap)pace)i0e: 8811340880
5reePhyical/emory)i0e: 4118.,1.3
5ree)2ap)pace)i0e: ..,3303+3+
Committed6irtual/emory)i0e: #.##1+,#8
(pen5ileDecriptorCount: .1
/a"5ileDecriptorCount: 3,,.3
2013 kippdata informationstechnologie GmbH 2- Monitoring Apache Tomcat and Web Serer ! "ainer #$ng ! Apache%on &A 2013
Monitoring Apache Tomcat ! 3lattform MGeans
6peratingS1stem
"$ntime
Threading
%lassFoading
%ompilation
Memor1
Memor13ool
Garbage%ollector
Garbage%ollector
memor14sageGeforeGc9
memor14sageAfterGc9
AP) (ld <enB=?committed=+#,.#83+, init=+#,.#83+,
ma"=3804140+0, ued=14,3.#80@
AP) (ld <enB=?committed=+#,.#83+, init=+#,.#83+,
ma"=3804140+0, ued=18.43388@
2013 kippdata informationstechnologie GmbH 31 Monitoring Apache Tomcat and Web Serer ! "ainer #$ng ! Apache%on &A 2013
Monitoring Apache Tomcat ! Global Tomcat MGeans
Global"eB$est3rocessor contin$ed
delta)processingTime+0delta)reB$est%o$nt+9 aerage
reB$est processing time in the last interal )I+
Manager contin$ed
Manager contin$ed
Manager contin$ed
Serlet
#S3Monitor
WebMod$le )Webapp+
Motiation
Some "emarks
,isc$ssion
2013 kippdata informationstechnologie GmbH -< Monitoring Apache Tomcat and Web Serer ! "ainer #$ng ! Apache%on &A 2013
Monitoring the Apache Web Serer ! Getting the ,ata
'(ample9
http900:::EapacheEorg0serer2stat$s
HTMF ie:
,ata interesting
&eeds to be parsed
2013 kippdata informationstechnologie GmbH -C Monitoring Apache Tomcat and Web Serer ! "ainer #$ng ! Apache%on &A 2013
Monitoring the Apache Web Serer ! Getting the ,ata
'(ample Oa$toP9
0serer2stat$s=a$to
Te(t ie:
@ncomplete data
Triial to parse
2013 kippdata informationstechnologie GmbH -D Monitoring Apache Tomcat and Web Serer ! "ainer #$ng ! Apache%on &A 2013
Monitoring the Apache Web Serer ! Getting the ,ata
O'(tendedStat$s 6nP
0serer2stat$s=notable
'asier to parse
S1stem load n$mbers that 1o$ :o$ld also get from the
6S O$ptimeP command
4se threshold
The follo:ing
t1picall1 s$m $p9
Ob$s1P T O:ritingP T Okeep2alieP T OclosingP L OtotalP
&ote ho: fe: are Ob$s1P compared :ith the other states
2013 kippdata informationstechnologie GmbH 77 Monitoring Apache Tomcat and Web Serer ! "ainer #$ng ! Apache%on &A 2013
Motiation
Some "emarks
,isc$ssion
2013 kippdata informationstechnologie GmbH 7< Monitoring Apache Tomcat and Web Serer ! "ainer #$ng ! Apache%on &A 2013
,isc$ssion
An1 B$estions=