Check Service Status of Octopus Via A Web API

Hi,

Trying to figure out how to get the Master Octopus Server service status via a web api url. Plan to add that to a monitoring tool to tell me if the service ever goes down.

I can read the API like so “http://octopus.domain.co.uk/api/serverstatus” but see nothing about the status of the service. Believe via Octopus HTTP API I can build a script that does this but our monitoring tool simply wants a URL.

Could someone please point me in the right direction.

D

Hi Dennis,

Thanks for reaching out. Do you have more than one node in your Octopus setup, or is it just one? Also which version of Octopus are you running?

Thanks,
Dalmiro

Hi Dalmiro,

Yes we have one master node and multiple machines with tentacles.
Current version 3.3.25.

D

Hi Dennis,

If all you want to do is check the status of the Octopus Server service, any API URL you want to hit will do. The Octopus Server service hosts the API itself, so if at any moment your monitoring tools doens’t get a reply back from http://octopus.domain.co.uk/api/serverstatus (or literally any API endpoint), it should mean the service is down.

Let me know if that makes sense to you.

Thanks,
Dalmiro

Hi Dalmiro,

Thank you for clarifying.

Regards,
Dennis