summaryrefslogtreecommitdiffstats
path: root/config/gluster-commands.cfg
diff options
context:
space:
mode:
authorRamesh Nachimuthu <rnachimu@redhat.com>2014-03-28 17:48:54 +0530
committerBala.FA <barumuga@redhat.com>2014-04-29 10:21:37 +0530
commit05278f31d54d89ef0a68e94af389d66a3c3b6f74 (patch)
tree933d5ece03e544b190a5fac9a97d5b647b41d748 /config/gluster-commands.cfg
parentb0f3cfc18011f149e1ce4b885fd47a6828a3c2ca (diff)
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 <rnachimu@redhat.com> Reviewed-on: https://code.engineering.redhat.com/gerrit/22100 Reviewed-by: Sahina Bose <sabose@redhat.com>
Diffstat (limited to 'config/gluster-commands.cfg')
-rw-r--r--config/gluster-commands.cfg5
1 files changed, 5 insertions, 0 deletions
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
@@ -62,6 +62,11 @@ define command{
}
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
}