Can monit start services on remote host based on monitored host?

Muhamed Huseinbašić <[email protected]>
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <VI1PR02MB3053D9D6993CF8D31246B971F91F0@VI1PR02MB3053.eurprd02.prod.outlook.com>
Imagine this:
Process 1 is running on host1.
Process 2 is not yet running on host2.

Is it possible to achieve this with monit or m/monit:

If process 1 fails on host1, start the process 2 on host2 and start monitoring the new process.
If process 2 then, after some time, fails on host2, start process 1 on host1 again.

Thanks,
Muhamed Huseinbašić

-- 
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.