Restart Windows Service from API poll failure?

Hey! I don't know if it's possible but we have a windows server that has a process that has trouble sometimes. Our F5 has a health monitor, it fails that monitor. The windows service is still up and running when that health check fails.

So I'm trying to restart that Windows service if that monitor fails on the F5.  I see SAM has API pollers. So I could do the poll from the server node, but I'm not sure how I get SW to restart that service if that API poller comes back with anything but a 200 OK.


Parents Reply Children
No Data