summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@rabbitmq.com>2011-02-24 18:15:34 +0000
committerMatthew Sackman <matthew@rabbitmq.com>2011-02-24 18:15:34 +0000
commit6fd77744201852a1fb961809f693d8b27acf7346 (patch)
treeec435583bd44f02bdef618a522ab94ea27a7cab6 /Makefile
parent5b5c93a5612203ce2db313fc451f223fc2e83c61 (diff)
downloadrabbitmq-server-6fd77744201852a1fb961809f693d8b27acf7346.tar.gz
Make memory alarms work correctly over clusters
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 00c7809d..cdb86aad 100644
--- a/Makefile
+++ b/Makefile
@@ -177,11 +177,11 @@ stop-rabbit-on-node: all
echo "rabbit:stop()." | $(ERL_CALL)
set-memory-alarm: all
- echo "alarm_handler:set_alarm({vm_memory_high_watermark, []})." | \
+ echo "alarm_handler:set_alarm({{vm_memory_high_watermark, node()}, []})." | \
$(ERL_CALL)
clear-memory-alarm: all
- echo "alarm_handler:clear_alarm(vm_memory_high_watermark)." | \
+ echo "alarm_handler:clear_alarm({vm_memory_high_watermark, node()})." | \
$(ERL_CALL)
stop-node: