I did this successfully for one Monitor but, when I try it again, for a different server and service, I get the error below.
I'm creating a monitor to monitor a Windows Service, with a Recovery Task to start the failed service.
-------------------------------------------------------
Error 1:
Found error in 1|Marion.County.Monitor.Apache.on.ERP.Servers|1.0.0.0|MomUIGenaratedRecoverye40d0c99d8dc4b9bbe7165be97514363|| with message:
Target class Microsoft.Windows.Computer for Recovery MomUIGenaratedRecoverye40d0c99d8dc4b9bbe7165be97514363 does not derive from Target class Microsoft.Windows.Server.10.0.Full.Computer of the monitor (UIGeneratedMonitorb7f0c88e08024cb88d9d39537f2cd406) that
this recovery is assigned to.
-------------------------------------------------------
I went to Authoring>Management Pack Objects> Monitors, and created a Unit Monitor. For Monitor Target, I chose "Windows Server". I disable the monitor before creating it. Then create an override for a specific server. The option for recovery target is automatically populated with Windows Computer. From the description in the error, this seems related to the targets. But I don't know why it worked the first time, and not again.