Automated Monitoring of HA Status

Automated Monitoring of HA Status

Is it possible to verify the HA Status without logging into the GUI?

For use in automated monitoring like Nagios.