Monitoring and managing windows services


I’m currently investigating capabilites of Octopus Deploy and one of our requirements is capability to monitor windows services status (running,stopped) and to start,stop specific services on specific machines , manually.
Would it be possible for us to integrate something like that into Octopus Deploy?

One way to solve this that I can see is defining project variable for each service with desired state (stopped, started), use this variables in deployment and then periodically check if services are in correct state otherwise redeploy current release.

Hi there

Thanks for getting in touch! Sorry for the delay in replying - yesterday was a public holiday here in Australia.

At the moment, we don’t really support monitoring windows services as a first class citizen, but its definitely something we’ve talked about a lot internally and are hoping to support.

You could use custom health checks to check the machines and if it finds an issue, trigger a deployment to get it back into the correct state, but its not as seamless as it could be.

As for starting and stopping services manually, this can definitely be done using the script console.

Hope that helps!