summaryrefslogtreecommitdiffstats
path: root/config/gluster-commands.cfg
diff options
context:
space:
mode:
authorSahina Bose <sabose@redhat.com>2014-04-11 12:08:22 +0530
committerBala.FA <barumuga@redhat.com>2014-04-29 10:21:37 +0530
commit4e1d15a964e5745a6ecea57082e4ce762fe96e98 (patch)
tree61c85ca68ae979e60f8bfae022d7c355ec0ed0c4 /config/gluster-commands.cfg
parent10c414706c2c77225c014673f03b8e3166b82ff2 (diff)
plugins: Added quota NRPE to volume status
Added a way to query for quota status to the check_vol_server plugin This will poll for quota status only if the service status for quota returns non-OK status Change-Id: I6260042ef54308a1f4f7b6d482a2b58a4682d36c Signed-off-by: Sahina Bose <sabose@redhat.com>
Diffstat (limited to 'config/gluster-commands.cfg')
-rw-r--r--config/gluster-commands.cfg5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/gluster-commands.cfg b/config/gluster-commands.cfg
index ec72417..c2fe324 100644
--- a/config/gluster-commands.cfg
+++ b/config/gluster-commands.cfg
@@ -75,3 +75,8 @@ define command {
command_name check_vol_status
command_line $USER1$/gluster/check_vol_server.py $ARG1$ $ARG2$ -o status
}
+
+define command {
+ command_name check_vol_quota_status
+ command_line $USER1$/gluster/check_vol_server.py $ARG1$ $ARG2$ -o quota
+}