summaryrefslogtreecommitdiffstats
path: root/config/glustercluster.cfg.sample
diff options
context:
space:
mode:
authorKanagaraj M <kmayilsa@redhat.com>2014-04-09 12:12:52 +0530
committerBala.FA <barumuga@redhat.com>2014-04-29 10:21:37 +0530
commit3374e943a17516e1e28339dc3df55c80b0ecf5ad (patch)
treeb3ebe957ac66e3b204c30f6165498aabf57ede95 /config/glustercluster.cfg.sample
parente45624a580ce809d0a51698a4b38d882a1e86640 (diff)
config: added passive checks for gluster processes/bricks
Added passive check service entry for the following. Gluster Management Daemon Gluster NFS Daemon Gluster Self-Heal Daemon Brick Status And renamed the service_description of Brick Brick Utilization - host_ip:brick_dir Brick Status - host_ip:brick_dir display_name for host/service is not being used by nagios according to the documentation, so removed from the conf. Change-Id: Iab66c1a9a07a04ac4e8b8dac76cac30cd5b02365 Signed-off-by: Kanagaraj M <kmayilsa@redhat.com>
Diffstat (limited to 'config/glustercluster.cfg.sample')
-rw-r--r--config/glustercluster.cfg.sample18
1 files changed, 15 insertions, 3 deletions
diff --git a/config/glustercluster.cfg.sample b/config/glustercluster.cfg.sample
index c03bb0a..81124d7 100644
--- a/config/glustercluster.cfg.sample
+++ b/config/glustercluster.cfg.sample
@@ -52,14 +52,26 @@ define host{
# Edit this sample
# host_name = host the brick is on
# service_description = brick name of form serverip:brickdir
-# display_name = Name to be shown up on Nagios.
# _BRICK_DIR = Path to brick on server
################################################################################
define service {
use brick-service
host_name host.ipaddress1
- service_description host.ipaddress1:/bricks/b1
- display_name Brick-host.ipaddress1:/bricks/b1
+ service_description Brick Utilization - host.ipaddress1:/bricks/b1
+ _BRICK_DIR /bricks/b1 ; MUST DECLARE the custom var _BRICK_DIR
+}
+
+################################################################################
+# This defines a Brick Status service
+# Edit this sample
+# host_name = host the brick is on
+# service_description = brick name of form serverip:brickdir
+# _BRICK_DIR = Path to brick on server
+################################################################################
+define service {
+ use brick-passive-service
+ host_name host.ipaddress1
+ service_description Brick Status - host.ipaddress1:/bricks/b1
_BRICK_DIR /bricks/b1 ; MUST DECLARE the custom var _BRICK_DIR
}