summaryrefslogtreecommitdiffstats
path: root/veslibrary/ves_clibrary/evel/evel-library/code/VESreporting_fault/go-client_2_collectors.sh
diff options
context:
space:
mode:
authorGao Weitao <victor.gao@huawei.com>2019-02-27 01:28:52 +0000
committerGerrit Code Review <gerrit@onap.org>2019-02-27 01:28:52 +0000
commit2a76952ed2c30c0a8f7c8c6dafdad74ecd416b08 (patch)
tree2eb52692a0bbacc506a7dcbba8332db4de6ab31c /veslibrary/ves_clibrary/evel/evel-library/code/VESreporting_fault/go-client_2_collectors.sh
parent67b5a83f516438d5f6346cf6da655a9b2e18a2aa (diff)
parente987dff7d71bf2255646df58bf22fa603f8d3935 (diff)
Merge "VES 7.1 C Lib/Agent Enhancements"
Diffstat (limited to 'veslibrary/ves_clibrary/evel/evel-library/code/VESreporting_fault/go-client_2_collectors.sh')
-rwxr-xr-xveslibrary/ves_clibrary/evel/evel-library/code/VESreporting_fault/go-client_2_collectors.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/veslibrary/ves_clibrary/evel/evel-library/code/VESreporting_fault/go-client_2_collectors.sh b/veslibrary/ves_clibrary/evel/evel-library/code/VESreporting_fault/go-client_2_collectors.sh
new file mode 100755
index 0000000..09d65f0
--- /dev/null
+++ b/veslibrary/ves_clibrary/evel/evel-library/code/VESreporting_fault/go-client_2_collectors.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+export LD_LIBRARY_PATH="/opt/VES/evel/evel-library/libs/x86_64/"
+
+#Usage for 2 collectors:
+#./ves_fault_reporter <FQDN>|<IP address> <port> <FQDN>|<IP address> <port>
+
+DCAE_COLLECTOR_IP=$(cat /opt/config/dcae_collector_ip.txt)
+DCAE_COLLECTOR_PORT=$(cat /opt/config/dcae_collector_port.txt)
+DCAE_COLLECTOR_IP2=$(cat /opt/config/dcae_collector_ip2.txt)
+DCAE_COLLECTOR_PORT2=$(cat /opt/config/dcae_collector_port2.txt)
+./ves_fault_reporter $DCAE_COLLECTOR_IP $DCAE_COLLECTOR_PORT $DCAE_COLLECTOR_IP2 $DCAE_COLLECTOR_PORT2