Migrate from Sling to Felix Health Checks
Hi
Because the Sling Health Checks are deprecated, we want to migrate to Felix Health Check. Everything works so far with the new Felix Health Executor Servlet, but we troubles to switch also the Granite healthreportlist (/granite/operations/content/healthreports/healthreportlist.html). Our tile with the Composite HC (Mbean-Name: companyGlobalHc) shows always "Status: MBean does not exist.", even they exist as MBean.
This is, what we create in CXR:
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
xmlns:rep="internal"
sling:configCollectionInherit="true"
jcr:primaryType="sling:Folder">
<css_infra_healthcheck jcr:primaryType="nt:unstructured"
name="Company Healthchecks"
resource="/system/sling/monitoring/mbeans/org/apache/felix/healthcheck/HealthCheck/companyGlobalHc"
sling:resourceType="granite/operations/components/mbean"/>
</jcr:root>
Does anyone has an idea?
However, is it recommended to switch to the Felix HC with AEM 6.5.12?
Best, Mario