summaryrefslogtreecommitdiffstats
path: root/vnfs/VES5.0/evel/evel-library/code/VESreporting_vFW/go-client_2_collectors.sh
diff options
context:
space:
mode:
authorPrakashH <pbhandar@techmahindra.com>2019-01-28 17:14:52 +0000
committerPrakashH <pbhandar@techmahindra.com>2019-01-28 17:45:15 +0000
commitaf7aa682517d3ccaace9a089194e6a4333f4cdaa (patch)
treef9da027c69fff993b907ca93130aa47fe9c9786d /vnfs/VES5.0/evel/evel-library/code/VESreporting_vFW/go-client_2_collectors.sh
parent3bf047e64a1121208719e7603bf91c69d532ecf8 (diff)
VES EVEL Library VES 5.4.1 enhancements
HB-Fault-Measurement-Syslog-2Collector enhancement. Issue-ID: CERT-17 Change-Id: Ieff01ee5461e50c7e7d07d10ec66c1c97cf8c5b1 Signed-off-by: PrakashH <pbhandar@techmahindra.com>
Diffstat (limited to 'vnfs/VES5.0/evel/evel-library/code/VESreporting_vFW/go-client_2_collectors.sh')
-rwxr-xr-xvnfs/VES5.0/evel/evel-library/code/VESreporting_vFW/go-client_2_collectors.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/vnfs/VES5.0/evel/evel-library/code/VESreporting_vFW/go-client_2_collectors.sh b/vnfs/VES5.0/evel/evel-library/code/VESreporting_vFW/go-client_2_collectors.sh
new file mode 100755
index 00000000..65f71268
--- /dev/null
+++ b/vnfs/VES5.0/evel/evel-library/code/VESreporting_vFW/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:
+#./vpp_measurement_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)
+./vpp_measurement_reporter $DCAE_COLLECTOR_IP $DCAE_COLLECTOR_PORT $DCAE_COLLECTOR_IP2 $DCAE_COLLECTOR_PORT2