From d5f6c2145bb37d7607d3f05329c0efca3c398fae Mon Sep 17 00:00:00 2001 From: Sahina Bose Date: Thu, 24 Apr 2014 16:35:27 +0530 Subject: plugins: Server side plugin for geo-rep Added server side plugin option for geo-rep status Change-Id: I6f604862ec7d4813298a670b7ed2cc0b448faf23 Signed-off-by: Sahina Bose Reviewed-on: http://review.gluster.org/7592 --- config/glustercluster.cfg.sample | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'config/glustercluster.cfg.sample') diff --git a/config/glustercluster.cfg.sample b/config/glustercluster.cfg.sample index adf823d..e8d73c1 100644 --- a/config/glustercluster.cfg.sample +++ b/config/glustercluster.cfg.sample @@ -142,6 +142,22 @@ define service{ check_command check_vol_heal_status!test-cluster!data-vol } +################################################################################ +# This defines a Volume Geo Replication status service +# Edit this sample +# host_name = the cluster host previously defined for cluster +# service_description = Volume Geo-Replication - +# check_command = check_vol_georep_status!! +# _VOL_NAME = Volume name +################################################################################ +define service{ + use gluster-service-without-graph + host_name test-cluster + service_description Volume Geo-Replication - data-vol + _VOL_NAME data-vol ; MUST DECLARE the custom var _VOL_NAME + check_command check_vol_georep_status!test-cluster!data-vol +} + ################################################################################ # This defines a Cluster utilization service # Edit this sample -- cgit