Monitoring AEM with JMX Exporter and Prometheus + Grafana (AEM Dashboard?)
Is anyone monitoring AEM 6.5 with JMX Exporter and Prometheus + Grafana? We have a rudimentary configuration which only seems to capture JVM metrics about memory use, threads, class loading, etc. which is great - but I would like to gather more details related to specific AEM functionality like replication, etc.
I saw the following solution from @wimsymonsvrt here:
but haven't tried doing something similar in my jmx-config.yaml file due to the age of the post.
I'm using the following JVM options in my crx-quickstart/bin/start file:
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=9010
-Dcom.sun.management.jmxremote.rmi.port=9010
-Dcom.sun.management.jmxremote.local.only=false
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
-javaagent:/opt/prometheus/jmx_prometheus_javaagent-0.17.2.jar=9404:/opt/prometheus/jmx-config.yaml
My jmx-config.yaml file looks like this:
startDelaySeconds: 0
ssl: false
rules:
- pattern: ".*"
which I think means get everything - nothing is whitelisted of blacklisted.
I'm using the following dashboard in Grafana:
https://grafana.com/grafana/dashboards/14845-jmx-dashboard-basic/
If I curl the exporter:
curl 127.0.0.1:9404
I do see a ton of Adobe and Apache related info. I expect Prometheus is storing this data. But the dashboard I'm using doesn't display anything beyond basic info re: memory, threads, class loading, etc.
Maybe I need a better AEM specific dashboard?
Thanks for any info and help!