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:
If you have vROPs, it will monitor the UAG through the broker agent on the connection servers.