Module: check_mk
Branch: master
Commit: 07e5befd64df82006a0aca8f0f34d8b4e02eec4b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=07e5befd64df82…
Author: Bernd Stroessenreuther <bs(a)mathias-kettner.de>
Date: Thu Apr 3 14:31:14 2014 +0200
FIX special agent emcvnx: did not work with security file authentication
when trying to authenticate with security files, the special agent did build
invalid naviseccli command line. This is fixed now.
---
.werks/777 | 9 +++++++++
ChangeLog | 1 +
agents/special/agent_emcvnx | 2 +-
3 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/.werks/777 b/.werks/777
new file mode 100644
index 0000000..3eaca44
--- /dev/null
+++ b/.werks/777
@@ -0,0 +1,9 @@
+Title: special agent emcvnx: did not work with security file authentication
+Level: 1
+Component: checks
+Version: 1.2.5i3
+Date: 1396526883
+Class: fix
+
+when trying to authenticate with security files, the special agent did build
+invalid naviseccli command line. This is fixed now.
diff --git a/ChangeLog b/ChangeLog
index 79373b5..d3e785a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
1.2.5i3:
Checks & Agents:
* 0149 cisco_secure: New check for Port Security on Cisco swichtes
+ * 0777 FIX: special agent emcvnx: did not work with security file authentication...
Multisite:
* 0779 Hostgroups (Summary): Empty hostgroups are no longer shown (can be re-enabled
by filter)
diff --git a/agents/special/agent_emcvnx b/agents/special/agent_emcvnx
index 7394f23..6303edf 100755
--- a/agents/special/agent_emcvnx
+++ b/agents/special/agent_emcvnx
@@ -165,7 +165,7 @@ except ValueError:
if (user == None or user == '') and (password == None or password ==
''):
# try using security files
- basecmd="naviseccli -h %s -Scope 0 " % host_address
+ basecmd="naviseccli -h %s " % host_address
else:
basecmd="naviseccli -h %s -User %s -Password '%s' -Scope 0 " %
(host_address, user, password)