From 04b8301a35690951061fdf344d10194c24631b2f Mon Sep 17 00:00:00 2001 From: bryan Date: Tue, 7 Mar 2017 06:32:19 -0800 Subject: Update to VES API v3 URL JIRA: VES-1 Change-Id: I76679e85cb769b87e5137b8ad2b56930c68b31fb Signed-off-by: Bryan Sullivan --- 3rd_party/collectd-ves-plugin/ves_plugin/ves_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '3rd_party') diff --git a/3rd_party/collectd-ves-plugin/ves_plugin/ves_plugin.py b/3rd_party/collectd-ves-plugin/ves_plugin/ves_plugin.py index a9715ad7..3e300893 100644 --- a/3rd_party/collectd-ves-plugin/ves_plugin/ves_plugin.py +++ b/3rd_party/collectd-ves-plugin/ves_plugin/ves_plugin.py @@ -277,7 +277,7 @@ class VESPlugin(object): def event_send(self, event): """Send event to VES""" - server_url = "http{}://{}:{}/{}eventListener/v1{}".format( + server_url = "http{}://{}:{}/{}eventListener/v3{}".format( 's' if self.__plugin_config['UseHttps'] else '', self.__plugin_config['Domain'], int(self.__plugin_config['Port']), '{}/'.format( '/{}'.format(self.__plugin_config['Path'])) if (len(self.__plugin_config['Path']) > 0) else '', -- cgit 1.2.3-korg