Yes, I'm not 100% sure about this - I was just wondering about how to
disable a health check and had the idea instead of disabling the check in
any way, simply not making it available via JMX.

If we need that, we can probably add an opt-out way later on.

Carsten


2013/8/13 Bertrand Delacretaz <bdelacre...@apache.org>

> On Tue, Aug 13, 2013 at 5:09 PM, Carsten Ziegeler <cziege...@apache.org>
> wrote:
> > right now, all HCs are registered as mbeans - I'm just wondering if we
> need
> > an opt-in or opt-out mechanism?
>
> I think in general they should all be exposed, as long as they can be
> organized cleanly which is possible.
>
> You can place MBeans in a specific place in the JMX tree, if you set
> hc.mean.name = foo/thisbean for example, it will appear under
> org.apache.sling.healthcheck/foo/thisbean whereas by default MBeans go
> under org.apache.sling.healthcheck/HealthCheck. So you can already
> create subsets of interesting HC MBeans, without having too many
> options to care about.
>
> -Bertrand
>



-- 
Carsten Ziegeler
cziege...@apache.org

Reply via email to