Since GA4.8.0, you can use JMX monitoring to remotely monitor the GatewayMonitor and DashboardMonitor MBeans.
This article serves as a quick example on how to use Web Dashboard's Mbeans via JMX plugin.
Related to the following references:
DashboardMonitor MBean (click the image to enlarge)
GatewayMonitor MBean (click the image to enlarge)
Note: change the serviceURL to your web dashboard's hostname and the JMX port