Based on https://discuss.elastic.co/t/no-monitoring-data-collected/160348/:
For Monitoring to work, at least one of the nodes in the Monitoring cluster must be an Ingest node. Otherwise, users will see an error like this in their Elasticsearch logs:
Caused by: java.lang.IllegalStateException: There are no ingest nodes in this cluster, unable to forward request to an ingest node.
We should document this requirement for Monitoring in the appropriate place(s), even though by default all ES nodes are Ingest nodes.