-
Is there any health check URL for a mirth server running in docker. My idea was to just check the main URL where you launch the Mirth Administrator GUI. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You could try to hit the API URL, which in theory would only be accessible of Mirth was up and running normally:
You could also setup a HTTP listener channel in Mirth that returns a '200 OK Status' you could use as the URL Health-check. EDIT: I don't docker, but I forgot at one point I had setup a TCP Listener and used a Powershell script to send a TCP message to that endpoint, then scheduled it to run on a Windows server seperate from the Mirth server, and it sends a message every 1 minute. |
Beta Was this translation helpful? Give feedback.
You could try to hit the API URL, which in theory would only be accessible of Mirth was up and running normally:
https://servername:8443/api
You could also setup a HTTP listener channel in Mirth that returns a '200 OK Status' you could use as the URL Health-check.
EDIT: I don't docker, but I forgot at one point I had setup a TCP Listener and used a Powershell script to send a TCP message to that endpoint, then scheduled it to run on a Windows server seperate from the Mirth server, and it sends a message every 1 minute.