mirror of
https://github.com/samba-team/samba.git
synced 2025-01-03 01:18:10 +03:00
ctdb-scripts: Always check memory usage
If filesystem usage exceeds the unhealthy threshold then checking memory usage checking is not done. Always do them both. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
parent
5e7bbcb069
commit
36bd6fd01f
@ -181,8 +181,10 @@ monitor)
|
||||
# Load/cache database options from configuration file
|
||||
ctdb_get_db_options
|
||||
|
||||
monitor_filesystem_usage
|
||||
monitor_memory_usage
|
||||
rc=0
|
||||
monitor_filesystem_usage || rc=$?
|
||||
monitor_memory_usage || rc=$?
|
||||
exit $rc
|
||||
;;
|
||||
esac
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user