diff options
author | ndarshan <dnarayan@redhat.com> | 2014-04-10 11:15:53 +0530 |
---|---|---|
committer | Bala.FA <barumuga@redhat.com> | 2014-04-29 10:21:37 +0530 |
commit | 10c414706c2c77225c014673f03b8e3166b82ff2 (patch) | |
tree | 644efffb0f4e1bb9e5eb8930c7ab515098409205 /config/glustercluster.cfg.sample | |
parent | 3374e943a17516e1e28339dc3df55c80b0ecf5ad (diff) |
Server-addons: Server-side plugin for volume status.
Modified the existing volume utilization server plugin to
include status information as well.
Refactored the plugin with an argument -o|--option
to get the specific volume status.
Change-Id: I2b6f8612e32390fb20917098a255de1ee6b3a170
Signed-off-by: ndarshan <dnarayan@redhat.com>
Signed-off-by: Sahina Bose <sabose@redhat.com>
Diffstat (limited to 'config/glustercluster.cfg.sample')
-rw-r--r-- | config/glustercluster.cfg.sample | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/config/glustercluster.cfg.sample b/config/glustercluster.cfg.sample index 81124d7..3afb95a 100644 --- a/config/glustercluster.cfg.sample +++ b/config/glustercluster.cfg.sample @@ -92,6 +92,22 @@ define service{ } ################################################################################ +# This defines a Volume status service +# Edit this sample +# host_name = the cluster host previously defined for cluster +# service_description = Volume-status - <volname> +# check_command = check_vol_status!<cluster-hostgroup-name>!<volume-name> +# _VOL_NAME = Volume name +################################################################################ +define service{ + use gluster-service-without-graph + host_name test-cluster + service_description Volume Status - data-vol + _VOL_NAME data-vol ; MUST DECLARE the custom var _VOL_NAME + check_command check_vol_status!test-cluster!data-vol +} + +################################################################################ # This defines a Cluster utilization service # Edit this sample # host_name = cluster host previously defined. (The service is under a cluster) |