We are looking to monitor the UAG and our Monitoring software does not have canned probes to do so. We had scripts to monitor the SEC servers (services up/down and the Cert expiration). We are looking to do the same with the UAG but can not find PowerCLI commands to do so. Any help is much appreciated.
You can monitor it through the rest api on the UAG
https://<your device IP or name>:9443/rest/v1/monitor/stats
However, someone took it a step future and created a module for powershell to query it:
http://andrewmorgan.ie/2018/03/viewing-vmware-unified-access-gateway-statistics-with-rest/
If you have vROPs, it will monitor the UAG through the broker agent on the connection servers.
Thank you we are giving this a try.