I've installed multiple Java APM agents and would like to monitor them in a sense that if any stop responding I get an alert. The same principle would be for the Elastic-Agent. I saw some alerts for metrics and logs threshold but couldn't reach a sense for the way to approach.
Not directly answering your request, but the Java agent has health metrics - you would need to enable them and the experimental flag. Then you can choose a metric that should always be non-zero and alert if the value is not >0 in some interval?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.