You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by ak...@apache.org on 2007/12/18 05:41:27 UTC

svn commit: r605082 - in /geronimo/sandbox/monitoring: mconsole-jetty/pom.xml mconsole-tomcat/pom.xml mconsole-war/src/main/webapp/WEB-INF/view/monitoringHelp.jsp

Author: akulshreshtha
Date: Mon Dec 17 20:41:20 2007
New Revision: 605082

URL: http://svn.apache.org/viewvc?rev=605082&view=rev
Log:
GERONIMO-3697 Added help page. This page could use some help..
              Fixed typo.
              

Modified:
    geronimo/sandbox/monitoring/mconsole-jetty/pom.xml
    geronimo/sandbox/monitoring/mconsole-tomcat/pom.xml
    geronimo/sandbox/monitoring/mconsole-war/src/main/webapp/WEB-INF/view/monitoringHelp.jsp

Modified: geronimo/sandbox/monitoring/mconsole-jetty/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/sandbox/monitoring/mconsole-jetty/pom.xml?rev=605082&r1=605081&r2=605082&view=diff
==============================================================================
--- geronimo/sandbox/monitoring/mconsole-jetty/pom.xml (original)
+++ geronimo/sandbox/monitoring/mconsole-jetty/pom.xml Mon Dec 17 20:41:20 2007
@@ -46,7 +46,7 @@
         
         <dependency>
             <groupId>org.apache.geronimo.plugins</groupId>
-            <artifactId>mconsole-jetty</artifactId>
+            <artifactId>console-jetty</artifactId>
             <version>${geronimoVersion}</version>
             <type>car</type>
         </dependency>

Modified: geronimo/sandbox/monitoring/mconsole-tomcat/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/sandbox/monitoring/mconsole-tomcat/pom.xml?rev=605082&r1=605081&r2=605082&view=diff
==============================================================================
--- geronimo/sandbox/monitoring/mconsole-tomcat/pom.xml (original)
+++ geronimo/sandbox/monitoring/mconsole-tomcat/pom.xml Mon Dec 17 20:41:20 2007
@@ -46,7 +46,7 @@
         
         <dependency>
             <groupId>org.apache.geronimo.plugins</groupId>
-            <artifactId>mconsole-tomcat</artifactId>
+            <artifactId>console-tomcat</artifactId>
             <version>${geronimoVersion}</version>
             <type>car</type>
         </dependency>

Modified: geronimo/sandbox/monitoring/mconsole-war/src/main/webapp/WEB-INF/view/monitoringHelp.jsp
URL: http://svn.apache.org/viewvc/geronimo/sandbox/monitoring/mconsole-war/src/main/webapp/WEB-INF/view/monitoringHelp.jsp?rev=605082&r1=605081&r2=605082&view=diff
==============================================================================
--- geronimo/sandbox/monitoring/mconsole-war/src/main/webapp/WEB-INF/view/monitoringHelp.jsp (original)
+++ geronimo/sandbox/monitoring/mconsole-war/src/main/webapp/WEB-INF/view/monitoringHelp.jsp Mon Dec 17 20:41:20 2007
@@ -17,6 +17,43 @@
 <p><font face="Verdana" size="+1">
 <center><b>This is the help for the Monitoring Portlet.</b></center>
 </font></p>
-<P>The stats page needs help documentation</P>
+  <p>The Monitoring Console is designed to monitor a geronimo instance running in a separate JVM. For a quick demo we will look inside the Geronimo instance the Monitoring Console is running on.</p>
+<ol>
+  <li>Click on 'Monitoring &rarr; Add Server'. Choose:
+    <ul style="list-style:none">
+      <li>name = localhost</li>
+      <li>IP/Hostname = 127.0.0.1</li>
+      <li>Port = 4201</li>
+      <li>username = system</li>
+      <li>password = manager</li>
+    </ul>
+    The Server 'localhost' will appear 'online' i.e. the monitoring console can talk to it.</li>
+  <li>Enable data collection by clicking on 'Enable Query'.</li>
+  <li>Click on 'localhost' to view live statistics for chosen MBeans. By default 4 Mbeans are chosen for statistics collection. Use '<b>x</b>' to remove MBeans from 'Statistics Collected'. Use '<b>+</b>' in 'Statistics Available' to add an MBean to 'Statistics Collected' MBeans.</li>
+  <li>To plot a graph for a statistics click on a link in 'Live Statistics'.
+    <ol type="A">
+      <li>As an example choose 'JMV Heap Size Current'. Choose the following values:
+	<ul style="list-style:none">
+	  <li>Name : must be a unique name</li>
+	  <li>Description : something</li>
+	  <li>X label : The lable for the graph</li>
+	  <li>Y label : Y axis for the graph, e.g. JVM Heap - MB</li>
+	  <li>Data Series1 :' As is'</li>
+	  <li>    Save the graph using 'save'</li>
+	</ul>
+      <li>To plot a graph for bytes sent each interval click on 'BytesSent' for TomcatWebConnector.  Use the following values:</li>
+      <ul style="list-style:none">
+	<li>Name : must be a unique name</li>
+        <li>Description : something</li>
+	<li>X label : The lable for the graph</li>
+	<li>Y label : Y axis for the graph, e.g. Bytes Sent/sec</li>
+	<li>data series 1 : 'Change(delta)in', i.e. the bytes sent during 5 minutes (300 sec)</li>
+	<li>Math Operation :  /300</li>
+	<li>Save the graph using 'save'</li>
+      </ul>
+    </li></ol>
+  <li>Create a view using 'Add view'. Select all the graphs and save the view.</li>
+  <li>To see the graphs use 'Show this view'</li>
+</ol>
 <P>To return to the main Monitoring panel select the "view" link
 from the header of this portlet.</P>