You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: monitoring/health-check.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,4 +7,10 @@ description: The VerneMQ health checker
7
7
A simple way to gauge the health of a VerneMQ cluster is to query the `/health` path on the [HTTP listener](../configuration/http-listeners.md).
8
8
9
9
The health check will return **200** when VerneMQ is accepting connections and is joined with the cluster \(for clustered setups\). **503** will be returned in case any of those two conditions are not met.
10
+
In addition to the simple `/health` path, the following options are available as well
10
11
12
+
-`/health/ping`: Cowboy (ie. Verne) is up.
13
+
-`/health/listeners`: will fail if any of the configured listeners is down or suspended
14
+
-`/health/listeners_full_cluster`: will fail if any listener is down or any of the cluster nodes is offline. (you probably don't want to use this to base automated actions on the status)
15
+
16
+
With the `ping` or `listeners` option, you can configure a health check for a single node, even if it is part of a cluster.
0 commit comments