[jira] [Commented] (SLING-2977) JMX access to Health Check rules results

2013-07-24 Thread Bertrand Delacretaz (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-2977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13718089#comment-13718089
 ] 

Bertrand Delacretaz commented on SLING-2977:


TODO:

Use Rule tags in the RulesMBeans config to select a subset of rules to expose 
to JMX (including negative tags, -foo excludes rules having the foo tag).

Specific the bean name in the RulesMBeans config. Combined with the rule tags, 
allows for exposing, for example security rules under 
org.apache.sling.healthcheck/security and performance rules under 
org.apache.sling.healthcheck/performance.

 JMX access to Health Check rules results
 

 Key: SLING-2977
 URL: https://issues.apache.org/jira/browse/SLING-2977
 Project: Sling
  Issue Type: Improvement
  Components: Extensions
Reporter: Bertrand Delacretaz
Assignee: Bertrand Delacretaz
Priority: Minor
 Attachments: jconsole.jpg


 The health check rules should be accessible via JMX, I'll implement a first 
 basic version and use it in the Sling demo bundle. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (SLING-2977) JMX access to Health Check rules results

2013-07-23 Thread Bertrand Delacretaz (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-2977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13716439#comment-13716439
 ] 

Bertrand Delacretaz commented on SLING-2977:


Basic JMX support added in http://svn.apache.org/r1506073

The rules appear under org.apache.sling.healthcheck in the JMX tree.

The log output of the rules is still missing.

 JMX access to Health Check rules results
 

 Key: SLING-2977
 URL: https://issues.apache.org/jira/browse/SLING-2977
 Project: Sling
  Issue Type: Improvement
  Components: Extensions
Reporter: Bertrand Delacretaz
Assignee: Bertrand Delacretaz
Priority: Minor

 The health check rules should be accessible via JMX, I'll implement a first 
 basic version and use it in the Sling demo bundle. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (SLING-2977) JMX access to Health Check rules results

2013-07-23 Thread Bertrand Delacretaz (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-2977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13716523#comment-13716523
 ] 

Bertrand Delacretaz commented on SLING-2977:


Works in revision 1506131, the demo rules are provided as MBeans.

The log is provided as a List of String, where each line starts with the level, 
like

   DEBUG something happened

We might want a more structured format.

 JMX access to Health Check rules results
 

 Key: SLING-2977
 URL: https://issues.apache.org/jira/browse/SLING-2977
 Project: Sling
  Issue Type: Improvement
  Components: Extensions
Reporter: Bertrand Delacretaz
Assignee: Bertrand Delacretaz
Priority: Minor
 Attachments: jconsole.jpg


 The health check rules should be accessible via JMX, I'll implement a first 
 basic version and use it in the Sling demo bundle. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira