Module: check_mk
Branch: master
Commit: 92663d8b18847a8a6265338e77b314b5a260a87a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=92663d8b18847a…
Author: Tom Baerwinkel <tb(a)mathias-kettner.de>
Date: Wed Jan 9 15:19:57 2019 +0100
7051 FIX agent_salesforce: fix a crash of the special agent
The special agent now uses the python distributed with Check_MK.
Previously /usr/bin/python was used which lead to a crash, because
the module cmk_special_agent_api could not be found.
Change-Id: I6d090840172262ddae9f14646076848fb138ce53
---
.werks/7051 | 13 +++++++++++++
agents/special/agent_salesforce | 2 +-
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/.werks/7051 b/.werks/7051
new file mode 100644
index 0000000..c71458b
--- /dev/null
+++ b/.werks/7051
@@ -0,0 +1,13 @@
+Title: agent_salesforce: fix a crash of the special agent
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+Edition: cre
+State: unknown
+Version: 1.6.0i1
+Date: 1547043361
+
+The special agent now uses the python distributed with Check_MK.
+Previously /usr/bin/python was used which lead to a crash, because
+the module cmk_special_agent_api could not be found.
diff --git a/agents/special/agent_salesforce b/agents/special/agent_salesforce
index 330f998..68dd656 100755
--- a/agents/special/agent_salesforce
+++ b/agents/special/agent_salesforce
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# -*- encoding: utf-8; py-indent-offset: 4 -*-
# +------------------------------------------------------------------+
# | ____ _ _ __ __ _ __ |