Author: buildbot
Date: Wed Jul 24 09:52:26 2013
New Revision: 870964
Log:
Staging update by buildbot for sling
Modified:
websites/staging/sling/trunk/content/ (props changed)
websites/staging/sling/trunk/content/documentation/bundles/sling-health-check-tool.html
Propchange: websites/staging/sling/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Jul 24 09:52:26 2013
@@ -1 +1 @@
-1506469
+1506475
Modified:
websites/staging/sling/trunk/content/documentation/bundles/sling-health-check-tool.html
==============================================================================
---
websites/staging/sling/trunk/content/documentation/bundles/sling-health-check-tool.html
(original)
+++
websites/staging/sling/trunk/content/documentation/bundles/sling-health-check-tool.html
Wed Jul 24 09:52:26 2013
@@ -110,10 +110,22 @@ plugin form, or using them as selectors
tags and optionally showing only results from rules that have something to
report (as in "no news is good news").</p>
<p>The screenshot below shows an example, as of svn revision 1490286.</p>
<p><img alt="" src="sling-hc-plugin.jpg" /></p>
+<h2 id="jmx-access-to-health-check-rules-results">JMX access to Health Check
Rules results</h2>
+<p>Creating <em>org.apache.sling.hc.sling.impl.RulesMBeans</em> OSGi
configurations causes the results of health
+check rules to be made available via JMX MBeans in the
<em>org.apache.sling.healthcheck</em> JMX tree.</p>
+<p>The slingdemo module provides an example configuration, which is used in
the screenshot below.</p>
+<p>To create such a configuration you need to specify the root path where rule
definitions are found in the
+repository, an optional MBean name that's used to name this set of rules below
the
+<em>org.apache.sling.healthcheck</em> JMX tree root, and an optional set of
rules tags to select which rules
+to include.</p>
+<p>Multiple <em>RulesMBeans</em> configurations can be used to provide various
views on the health check rules.
+This can cause a rule to appear in multiple places in the JMX tree, which is
not really a problem as the rule
+data is read-only.</p>
+<p><img alt="" src="jconsole-hc.jpg" /></p>
<h2 id="known-issues">Known issues</h2>
<p>See <a
href="https://issues.apache.org/jira/browse/SLING-2822">SLING-2822</a> for
details.</p>
<div class="timestamp" style="margin-top: 30px; font-size: 80%;
text-align: right;">
- Rev. 1490312 by bdelacretaz on Thu, 6 Jun 2013 14:52:41 +0000
+ Rev. 1506475 by bdelacretaz on Wed, 24 Jul 2013 09:52:19 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache
Sling project