diff options
author | Emile Joubert <emile@rabbitmq.com> | 2012-03-26 10:36:10 +0100 |
---|---|---|
committer | Emile Joubert <emile@rabbitmq.com> | 2012-03-26 10:36:10 +0100 |
commit | ba60685def0c21d523ab0d5c0e260cbb2c656eb5 (patch) | |
tree | a08aa65ea1b4683bd7e3c627283fcb3d2f71fb47 /Makefile | |
parent | 9f11d813162b7330f2df481990ea67484873fc7a (diff) | |
download | rabbitmq-server-ba60685def0c21d523ab0d5c0e260cbb2c656eb5.tar.gz |
Generalise memory alarm
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -216,12 +216,12 @@ start-rabbit-on-node: all stop-rabbit-on-node: all echo "rabbit:stop()." | $(ERL_CALL) -set-memory-alarm: all - echo "alarm_handler:set_alarm({{vm_memory_high_watermark, node()}, []})." | \ +set-resource-alarm: all + echo "alarm_handler:set_alarm({{resource_limit, $(SOURCE), node()}, []})." | \ $(ERL_CALL) -clear-memory-alarm: all - echo "alarm_handler:clear_alarm({vm_memory_high_watermark, node()})." | \ +clear-resource-alarm: all + echo "alarm_handler:clear_alarm({resource_limit, $(SOURCE), node()})." | \ $(ERL_CALL) stop-node: |