ctdb-scripts: Memory monitoring uses thresholds expressed as percentages
authorMartin Schwenke <martin@meltin.net>
Mon, 3 Aug 2015 05:59:50 +0000 (15:59 +1000)
committerAmitay Isaacs <amitay@samba.org>
Sat, 29 Aug 2015 15:06:25 +0000 (17:06 +0200)
commitb7b6e25b3e26210ed196be7fc5848e3320b5c35b
tree6d83e563f0cb268aa11f0221a1f0e2cd4aaef322
parentbd2845d7ebe9e2970d4d5546e51c79c9b40ce9cb
ctdb-scripts: Memory monitoring uses thresholds expressed as percentages

CTDB_MONITOR_FREE_MEMORY and CTDB_MONITOR_FREE_MEMORY_WARN are now
percentages that specify thresholds of acceptable memory usage.

Memory/swap usage in tests also specified as percentages.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/config/events.d/05.system
ctdb/doc/ctdbd.conf.5.xml
ctdb/tests/eventscripts/05.system.monitor.011.sh
ctdb/tests/eventscripts/05.system.monitor.012.sh
ctdb/tests/eventscripts/05.system.monitor.013.sh
ctdb/tests/eventscripts/05.system.monitor.014.sh
ctdb/tests/eventscripts/05.system.monitor.015.sh
ctdb/tests/eventscripts/scripts/local.sh