From 05278f31d54d89ef0a68e94af389d66a3c3b6f74 Mon Sep 17 00:00:00 2001 From: Ramesh Nachimuthu Date: Fri, 28 Mar 2014 17:48:54 +0530 Subject: AutoDiscovery: Auto discovery for gluster entities Basic plugin which will discover all the basic gluster entities and creates nagios configuration. Change-Id: I71f05dec9bcce74969db300393f7f7c178161dba Signed-off-by: Ramesh Nachimuthu Reviewed-on: https://code.engineering.redhat.com/gerrit/22100 Reviewed-by: Sahina Bose --- config/gluster-commands.cfg | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'config/gluster-commands.cfg') diff --git a/config/gluster-commands.cfg b/config/gluster-commands.cfg index c2d70a7..41aa99b 100644 --- a/config/gluster-commands.cfg +++ b/config/gluster-commands.cfg @@ -61,6 +61,11 @@ define command{ command_line $USER1$/gluster/check_cluster_vol_usage.py -w $ARG1$ -c $ARG2$ -hg $HOSTNAME$ } +define command{ + command_name gluster_auto_discovery + command_line $USER1$/gluster/discovery.py -H $ARG1$ -c $ARG2$ +} + define command{ command_name check_dummy command_line $USER1$/check_dummy 0 -- cgit