Mideye Server Health Check API
Overview
Section titled “Overview”Mideye Server provides a health check API endpoint for monitoring service status and cloud connectivity. Use this endpoint for load balancer health probes.
Health Check Endpoint
Section titled “Health Check Endpoint”To monitor the Mideye service and the connections to the central Mideye switches, there is a health check API reachable on https://<ServerIP>:<webGUIport>/management/health.
| Status | Response | Meaning |
|---|---|---|
| Healthy | {"status":"UP"} | Service running, Mideye Switch reachable |
| Unhealthy | {"status":"DOWN"} | Service running, no Mideye Switch connection |
The URL will return {“status”:”UP”} if the Mideye service is running and at least one Mideye Switch is reachable. If the Mideye Server is up and no Mideye Switch is reachable, the URL will return {“status”:”DOWN”}.
➜ ~ curl https://mideyeserver.company.se:8443/management/health -k{"status":"UP"}%For log configuration see Server Logs