Module: check_mk
Branch: master
Commit: cdfcfcb5bf713a6c8784f3129256672b65a7b643
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=cdfcfcb5bf713a…
Author: Moritz Kiemer <mo(a)mathias-kettner.de>
Date: Wed May 23 10:15:35 2018 +0200
Remove '<<<check_mk>>>' section from agent output. The
corresponding information is not lost, as it appears in
'<<<emcvnx_info>>>'.
Change-Id: I1289cde09cdcfd3f2f95e7590e62de1b5cfd5e75
---
agents/special/agent_emcvnx | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/agents/special/agent_emcvnx b/agents/special/agent_emcvnx
index 8f631f7..8f63ef1 100755
--- a/agents/special/agent_emcvnx
+++ b/agents/special/agent_emcvnx
@@ -195,21 +195,6 @@ if cmdout:
"credentials if you don't have a security
file.\n")
sys.exit(1)
-# Try to gather the version of the agent
-emcvnx_version = None
-for line in cmdout:
- tokens = re.split("\s+", line)
- if tokens[0] == "Agent" and tokens[1] == "Rev:":
- emcvnx_version = "_".join(tokens[2:])
-
-print "<<<check_mk>>>"
-print "Version: %s" % emcvnx_version
-
-# maybe we could fill AgentOS: by reading "Model:" line of naviseccli output
-# in section "Agent/Host Information", but need a call of naviseccli with an
-# other commandline argument
-#print "AgentOS: %s " % emcvnx_model
-
print "<<<emcvnx_info:sep(58)>>>"
for line in cmdout:
print line