diff options
author | Sahina Bose <sabose@redhat.com> | 2014-04-11 12:08:22 +0530 |
---|---|---|
committer | Bala.FA <barumuga@redhat.com> | 2014-04-29 10:21:37 +0530 |
commit | 4e1d15a964e5745a6ecea57082e4ce762fe96e98 (patch) | |
tree | 61c85ca68ae979e60f8bfae022d7c355ec0ed0c4 /config/glustercluster.cfg.sample | |
parent | 10c414706c2c77225c014673f03b8e3166b82ff2 (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/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 3afb95a..c7de065 100644 --- a/config/glustercluster.cfg.sample +++ b/config/glustercluster.cfg.sample @@ -108,6 +108,22 @@ define service{ } ################################################################################ +# This defines a Volume Quota 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 Quota - data-vol + _VOL_NAME data-vol ; MUST DECLARE the custom var _VOL_NAME + check_command check_vol_quota_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) |