From 4dedcda45519f7f18adf76c65a8237bb48bd1389 Mon Sep 17 00:00:00 2001 From: Jaime Melis Date: Mon, 14 Oct 2013 17:14:21 +0200 Subject: [PATCH] im-collectd: collectd-client_control returns the output of a regular run_probes --- src/im_mad/remotes/common.d/collectd-client_control.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/im_mad/remotes/common.d/collectd-client_control.sh b/src/im_mad/remotes/common.d/collectd-client_control.sh index 485d802152..0f89c4c17e 100755 --- a/src/im_mad/remotes/common.d/collectd-client_control.sh +++ b/src/im_mad/remotes/common.d/collectd-client_control.sh @@ -60,3 +60,9 @@ if ! check_running; then start_client write_pid $! fi + +# This script returns the run_probes execution +HYPERVISOR=$1 +set $HYPERVISOR-probes $@ + +$DIR/../run_probes $@