how to access built-in health checks via dispatcher/internet?
might be explained with an example:
- When I accessed the publisher health check directly, it is working fine. Sample URL: 10.0.0.1:4503/system/sling/monitoring/mbeans/org/apache/sling/healthcheck/HealthCheck/inactiveBundles.json
- When I try the same path but via dispatcher (sample URL: my-host.com/system/sling/monitoring/mbeans/org/apache/sling/healthcheck/HealthCheck/inactiveBundles.json, I get the website's default 404 page. in my dispatcher config, I have changed my filters to this => /0001 { /type "allow" /glob "*" }
- I also tried this curl command (curl -vvv -k https://localhost/system/health) inside the dispatcher. I got our website's default 404 page.
Any ideas on how to get this to work?
The reason why I'm asking is that our AEM "architecture" is using 3rd-party platform called "OpenCloud". This platform provides its own health checker servlet (http://localhost:4502/system/health and http://localhost:4503/system/health) and I want to access this path.
thank you.
EDIT:
This is the content of my /filters section
# Deny everything
/0001 { /type "deny" /glob "*" }
# Enable Health Check Servlet
/0006 { /type "allow" /method "GET" /url "/system/health*" }
#I have other lines in the filters section but I have commented them
my dispatcher config
<IfModule dispatcher_module>
DispatcherConfig "/etc/httpd/conf.modules.d/dispatcher.farms.any"
DispatcherLog /var/log/httpd/dispatcher.log
DispatcherLogLevel warn
DispatcherNoServerHeader off
DispatcherDeclineRoot off
DispatcherUseProcessedURL 1
DispatcherPassError 0
</IfModule>