The following is how I've set this up. It's been in place for several years and really keeps things going.
You will need 2 servers running AutoMate. Basically this method enables servers to monitor each other.
Monitor that Automate service and task triggering are running:
Create a health check task:
Task creates a dummy.txt file on the remote server. This task runs every hour (of course you can change this to meet your needs). You would have this task on both servers. This same task then waits 10 minutes after it created the dummy file to see if the remote server deletes it (see health keep alive task below). If the file is deleted we know AutoMate service is running and task triggering is working as expected. If it's not then you need to check if the AutoMate service and AMTask.exe are running on remote server
Example to get AutoMate service status and AMTask.exe process status on remote server.
<AMSERVICES ACTIVITY="state" SERVICE="AutoMate 9" REMOTEMACHINE="%HostName%" REMOTEDOMAIN="MYDOMAIN" REMOTEUSERNAME="username" REMOTEPASSWORD="AM2CkmLdNUX6LI7Sbl05hfcsg==aME" RESULTVARIABLE="amservicestatus" />
<AMIF ACTIVITY="process_running" DOMAINNAME="MYDOMAIN" REMOTEMACHINE="%HostName%" USERNAME="username" PASSWORD="AM2CkmLdNUX6LI7Sbl05hfcsg==aME" ACTION="end" PROCESS="AMTask.exe">
Create a health keep alive task:
This task deletes the dummy.txt file on the local server. This job runs every 1 minute. You would have this task on both servers.