We would like to monitor our OSGI components (possibly using JMX) so that if one fails to start, we will be notified. Could someone point us in the right direction?
There is already a sling health check for active bundles. If there are any inactive bundles other than mentioned in the InactiveBundlesHealthCheck configuration, it will show up the status there. You can see the JMX for the same at [1]. You can access the healthcheck at [2] or that as a JSON endpoint at [3]
There is already a sling health check for active bundles. If there are any inactive bundles other than mentioned in the InactiveBundlesHealthCheck configuration, it will show up the status there. You can see the JMX for the same at [1]. You can access the healthcheck at [2] or that as a JSON endpoint at [3]