Author: eric Date: Mon Dec 6 13:54:40 2010 New Revision: 1042645 URL: http://svn.apache.org/viewvc?rev=1042645&view=rev Log: Documentation on statistics usage via JMX.
Modified: james/server/trunk/src/site/xdoc/monitor-jmx.xml Modified: james/server/trunk/src/site/xdoc/monitor-jmx.xml URL: http://svn.apache.org/viewvc/james/server/trunk/src/site/xdoc/monitor-jmx.xml?rev=1042645&r1=1042644&r2=1042645&view=diff ============================================================================== --- james/server/trunk/src/site/xdoc/monitor-jmx.xml (original) +++ james/server/trunk/src/site/xdoc/monitor-jmx.xml Mon Dec 6 13:54:40 2010 @@ -46,16 +46,34 @@ <li>DNSService</li> <li>Queues</li> </ul> + + </section> + + <section name="Statistics via JMX"> + + <p>You can enable satistics collection for SMTP/LMPT/POP3 Servers via JMX. + Configure for example smtpserver.xml with</p> + + <source> +<handler class="org.apache.james.smtpserver.jmx.HookResultJMXMonitor"/> +<handler class="org.apache.james.smtpserver.jmx.ConnectHandlerResultJMXMonitor"/> +<handler class="org.apache.james.smtpserver.jmx.LineHandlerResultJMXMonitor"/> +<handler class="org.apache.james.smtpserver.jmx.CommandHandlerResultJMXMonitor"/> + </source> + + </section> + <section name="JMX Remote Access"> + <p>If you want a remote access, you can install a web application management tool such as jmanage. You will get screens such as the following one.</p> - + <p><img src="images/jmx-monitoring/jmx-current-connections.png"/></p> <p><img src="images/jmx-monitoring/jmx-memory.png"/></p> <p><img src="images/jmx-monitoring/jmx-gc.png"/></p> - + </section> </body> --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org