summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/gluster-commands.cfg5
-rw-r--r--config/gluster-templates.cfg6
2 files changed, 11 insertions, 0 deletions
diff --git a/config/gluster-commands.cfg b/config/gluster-commands.cfg
index b4df742..44a3cbf 100644
--- a/config/gluster-commands.cfg
+++ b/config/gluster-commands.cfg
@@ -97,6 +97,11 @@ define command {
}
define command {
+ command_name check_vol_heal_info
+ command_line $USER1$/gluster/check_vol_server.py $ARG1$ $ARG2$ -o heal-info
+}
+
+define command {
command_name check_vol_georep_status
command_line $USER1$/gluster/check_vol_server.py $ARG1$ $ARG2$ -o geo-rep
}
diff --git a/config/gluster-templates.cfg b/config/gluster-templates.cfg
index b9e38da..bcfa003 100644
--- a/config/gluster-templates.cfg
+++ b/config/gluster-templates.cfg
@@ -78,6 +78,12 @@ define service {
}
define service {
+ name gluster-heal-service-with-graph
+ use gluster-service-with-graph
+ check_interval 1
+}
+
+define service {
name gluster-service-without-graph
use gluster-service
register 0