You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2013/07/24 11:52:19 UTC

svn commit: r1506475 - /sling/site/trunk/content/documentation/bundles/sling-health-check-tool.mdtext

Author: bdelacretaz
Date: Wed Jul 24 09:52:19 2013
New Revision: 1506475

URL: http://svn.apache.org/r1506475
Log:
Add JMX access info

Modified:
    sling/site/trunk/content/documentation/bundles/sling-health-check-tool.mdtext

Modified: sling/site/trunk/content/documentation/bundles/sling-health-check-tool.mdtext
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/documentation/bundles/sling-health-check-tool.mdtext?rev=1506475&r1=1506474&r2=1506475&view=diff
==============================================================================
--- sling/site/trunk/content/documentation/bundles/sling-health-check-tool.mdtext (original)
+++ sling/site/trunk/content/documentation/bundles/sling-health-check-tool.mdtext Wed Jul 24 09:52:19 2013
@@ -34,5 +34,23 @@ The screenshot below shows an example, a
 
 ![](sling-hc-plugin.jpg)
 
+## JMX access to Health Check Rules results
+Creating  _org.apache.sling.hc.sling.impl.RulesMBeans_ OSGi configurations causes the results of health 
+check rules to be made available via JMX MBeans in the _org.apache.sling.healthcheck_ JMX tree.
+
+The slingdemo module provides an example configuration, which is used in the screenshot below.
+
+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 
+_org.apache.sling.healthcheck_ JMX tree root,  and an optional set of rules tags to select which rules 
+to include.
+
+Multiple _RulesMBeans_ 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.
+
+![](jconsole-hc.jpg)
+
+
 ## Known issues
-See [SLING-2822](https://issues.apache.org/jira/browse/SLING-2822) for details.
+See [SLING-2822](https://issues.apache.org/jira/browse/SLING-2822) for details.
\ No newline at end of file