summaryrefslogtreecommitdiffstats
path: root/plugins/check_vol_utilization.py
diff options
context:
space:
mode:
authorTimothy Asir <tjeyasin@redhat.com>2014-05-02 19:02:08 +0530
committerSahina Bose <sabose@redhat.com>2014-05-05 04:28:43 -0700
commit41d8289255f669c5a033a34b61612300e8fe838d (patch)
treed6f7949b63587b5643755d6b156a4577bcc50e3d /plugins/check_vol_utilization.py
parent8831c86a8acbd1c9f46719ad7b8f26ec325d1376 (diff)
Enhanced check proc and added CTDB service check
CTDB is node based and any gluster volume can be configured to be used by CTDB. Normally when CTDB starts it will start Samba automatically. However one can switch off SMB at any given time. But If SMB/NFS are not running in any node, then CTDB is also not required. This patch checks for CTDB process and will send an appropriate message to nagios based on its status using 'ctdb nodestatus' command. Currently there is no direct way to find whether CTDB is required to run on a given node. Its because, the CTDB volume name / CTDB volume mount path can have any name. It could be easy if gluster-cli comes with any tag/set command to know whether the given volume is for CTDB or CTDB enabled. Change-Id: Iccb98296ebd902838acc63805bbe20cd77cdcc61 Signed-off-by: Timothy Asir <tjeyasin@redhat.com> Reviewed-on: http://review.gluster.org/7647 Tested-by: Timothy Asir <tim.gluster@gmail.com> Reviewed-by: Kanagaraj M <kmayilsa@redhat.com> Reviewed-by: Sahina Bose <sabose@redhat.com>
Diffstat (limited to 'plugins/check_vol_utilization.py')
0 files changed, 0 insertions, 0 deletions