summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_health_check.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rabbit_health_check.erl b/src/rabbit_health_check.erl
index d384354dc8..f41c1e6e1b 100644
--- a/src/rabbit_health_check.erl
+++ b/src/rabbit_health_check.erl
@@ -36,6 +36,8 @@ node(Node, Timeout) ->
-spec local() -> ok | {error_string, string()}.
local() ->
+ rabbit_log:warning("rabbitmqctl node_health_check and its HTTP API counterpart are DEPRECATED. "
+ "See https://www.rabbitmq.com/monitoring.html#health-checks for replacement options."),
run_checks([list_channels, list_queues, alarms, rabbit_node_monitor]).
%%----------------------------------------------------------------------------