Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 97853 invoked from network); 26 Sep 2007 14:41:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Sep 2007 14:41:23 -0000 Received: (qmail 84674 invoked by uid 500); 26 Sep 2007 14:40:59 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 84631 invoked by uid 500); 26 Sep 2007 14:40:59 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 84612 invoked by uid 99); 26 Sep 2007 14:40:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Sep 2007 07:40:58 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ginemesis@gmail.com designates 209.85.198.188 as permitted sender) Received: from [209.85.198.188] (HELO rv-out-0910.google.com) (209.85.198.188) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Sep 2007 14:41:00 +0000 Received: by rv-out-0910.google.com with SMTP id b22so1871994rvf for ; Wed, 26 Sep 2007 07:40:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:mime-version:content-type; bh=56zGnyrz58PLAcguscKtPHx3tY5ER6Qn0zv/FTbno6o=; b=dxcQakuBmBab+sYltkk8rIjSj28xxaDyae+nwL+N/YbvK6X5rNEusePrSxc23yeMh2pN4rt4RuE4Vesngj8AIzBr9dQmTBkkGNd1ANh0dejOksd+EBZ99ByVIFp79k/Ucz5vVCVt2RgIdCUZiPwafQ9z11cNgWqQ3OqiIXQieY0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=Q6xLgN+BwaE0fRnk5TkjpCtmp1W1VrC203ZXR+kJ4HjsoVHkDu65X4sUwZeVKCyRgzE8useJE1Yoz7iSfJPQXa/QgY9Y6SuOD+wJabc3x9M/MmT4wfce6Z/Wc7fPtrINZChYQXpW5fiO8wDnBjZpEmpWXvnjQ7lrPwDcFWfQ6qg= Received: by 10.141.190.9 with SMTP id s9mr216600rvp.1190817640040; Wed, 26 Sep 2007 07:40:40 -0700 (PDT) Received: by 10.141.209.3 with HTTP; Wed, 26 Sep 2007 07:40:40 -0700 (PDT) Message-ID: <4e8584bd0709260740v2b247faj8e4ca705d3006cb5@mail.gmail.com> Date: Wed, 26 Sep 2007 10:40:40 -0400 From: "Erik B. Craig" Reply-To: erik.craig@gmail.com To: dev@geronimo.apache.org Subject: [UPDATE] Server monitoring and Management plugin MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3307_23559285.1190817640043" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_3307_23559285.1190817640043 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Greetings, After a round of improvements to the monitoring and management plugin that Viet an I have been working on ( https://issues.apache.org/jira/browse/GERONIMO-3441), we felt it was time to update everyone on where things are at, and hopefully get a good deal of feedback and perhaps a feel for the direction everyone thinks would be best for this. Since the last time we brought it to the dev list, the method in which data is collected has been changed to utilize the JSR77 defined statistics. Currently we have implemented this for the Tomcat connectors 'TomcatWebConnector', 'TomcatWebSSLConnector', and 'TomcatAJPConnector'. This information is still having 'snapshots' taken, and is then stored locally at a set interval (now defined in a configuration file) in an XML file. There are still some issues revolving around surfacing the equivalent statistics for Jetty (We have tomcat CONNECTORS, but jetty CONTAINERS), largely due to geronimo losing a handle on them since jetty6, but it is being worked on. In addition to Jetty, we're also looking at getting MEJB stats surfaced and tracked very soon down the road... and if anyone has any other suggestions for what you think should be able to be collected, it would be greatly appreciated. In addition to using JSR77 on the mrc-server component, there are a number of other improvements, including * Archiving of snapshot data in a zip file every month - prevent the single active file from getting too large * Ability to start/stop the statistics collection thread * Specify the duration between snapshots * Ability to modify mbean attributes * Ability to add mbeans to track in the snapshot process As far as the client side of things goes... The plugin has been updated to be deployable on the latest iteration of the plugable console Paul has been working on, and is working fully on the latest 2.1 trunk with the plugable console deployed. It is also now doing page generation through JSPs from the portlet, where as previously it was simple line prints to the http response. The graphing is now far more dynamic, and able to accept any time frame (in minutes) from 2*snapshotduration up to however high you can count (or fit into an integer, whichever comes first). If there is not enough snapshot data to generate the requested graph, 'older' data will be inserted with values of 0. If there are gaps in the snapshots (I.E. the snapshot time of element 1 vs. element 2 is greater than the snapshot duration), the client will fill in dummy data between the two, so that the time frame and stamps on the generated graph is accurate. (To be further improved to indicate gaps via highlighting on the graphs). In addition to this, determining exactly 'what' is being graphed is now dynamically done depending on what is being collected on the server side. This will further be improved through a configuration page and file on the client side, that will allow enabling or disabling of graphs for statistics being collected on the server side , as well as configuring exactly how they are displayed (color, axis labels, size, etc). For some more information on the current status, check out the jira link above, or the wiki page here http://cwiki.apache.org/confluence/display/GMOxDEV/Monitoring+and+Management+Service Again - all feedback, questions, suggestions would be greatly appreciated On a side note - would it be possible to get an iteration of this stuff checked into either sandbox of the plugins directory? It would certainly make things much easier for collaboration and revision control =) Thanks, -- Erik B. Craig ------=_Part_3307_23559285.1190817640043 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Greetings,

After a round of improvements to the monitoring and manag= ement plugin that Viet an I have been working on (https://issues.apache.org/jira/brows= e/GERONIMO-3441 ), we felt it was time to update everyone on where things are at, and h= opefully get a good deal of feedback and perhaps a feel for the direction e= veryone thinks would be best for this.

Since the last = time we brought it to the dev list, the method in which data is collected h= as been changed to utilize the JSR77 defined statistics. Currently we have = implemented this for the Tomcat connectors 'TomcatWebConnector', &#= 39;TomcatWebSSLConnector', and 'TomcatAJPConnector'. This infor= mation is still having 'snapshots' taken, and is then stored locall= y at a set interval (now defined in a configuration file) in an XML file. T= here are still some issues revolving around surfacing the equivalent statis= tics for Jetty (We have tomcat CONNECTORS, but jetty CONTAINERS), largely d= ue to geronimo losing a handle on them since jetty6, but it is being worked= on. In addition to Jetty, we're also looking at getting MEJB stats sur= faced and tracked very soon down the road... and if anyone has any other su= ggestions for what you think should be able to be collected, it would be gr= eatly appreciated.=20

In addition to using JSR77 on the mrc-server component, there are a= number of other improvements, including
* Archiving of snapshot data in= a zip file every month - prevent the single active file from getting too l= arge
* Ability to start/stop the statistics collection thread
* Specify t= he duration between snapshots
* Ability to modify mbean attributes
* = Ability to add mbeans to track in the snapshot process

As far as the= client side of things goes...

The plugin has been updated to be deployable on the latest iteratio= n of the plugable console Paul has been working on, and is working fully on= the latest 2.1 trunk with the plugable console deployed. It is also now do= ing page generation through JSPs from the portlet, where as previously it w= as simple line prints to the http response. The graphing is now far more dy= namic, and able to accept any time frame (in minutes) from 2*snapshotdurati= on up to however high you can count (or fit into an integer, whichever come= s first). If there is not enough snapshot data to generate the requested gr= aph, 'older' data will be inserted with values of 0. If there are g= aps in the snapshots ( I.E. the snapshot time of element 1 vs. element 2 is greater than the snaps= hot duration), the client will fill in dummy data between the two, so that = the time frame and stamps on the generated graph is accurate. (To be furthe= r improved to indicate gaps via highlighting on the graphs).

In addition to this, determining exactly 'what' is being gr= aphed is now dynamically done depending on what is being collected on the s= erver side. This will further be improved through a configuration page and = file on the client side, that will allow enabling or disabling of graphs fo= r statistics being collected on the server side , as well as configuring ex= actly how they are displayed (color, axis labels, size, etc).

For some more information on the current status, check out the jira= link above, or the wiki page here
http://cwiki.ap= ache.org/confluence/display/GMOxDEV/Monitoring+and+Management+Service

Again - all feedback, questions, suggestions would be greatly a= ppreciated

On a side note - would it be possible to get an iteration= of this stuff checked into either sandbox of the plugins directory? It wou= ld certainly make things much easier for collaboration and revision control= =3D)

Thanks,

--
Erik B. Craig ------=_Part_3307_23559285.1190817640043--