legacy agent no longer aborts when evaluating unknown ssl option
Message-ID: <55c21d5e.YpM0uZpBwUDbjRj2%ab(a)mathias-kettner.de>
User-Agent: Heirloom mailx 12.5 6/20/10
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Module: check_mk
Branch: master
Commit: 75032c7f4891a219aa7a74ada6b8ad93527f2a86
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=75032c7f4891a2…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Wed Aug 5 16:24:29 2015 +0200
#2418 FIX agent_vsphere.pysphere: legacy agent no longer aborts when evaluating unknown
ssl option
The agent_vsphere.pysphere is now able to accept the option --no-cert-check, which was
introduced a month ago.
However, it is only implemented as a dummy. SSL certificate checking is not supported in
the legacy version.
---
.werks/2418 | 11 +++++++++++
ChangeLog | 1 +
agents/special/agent_vsphere.pysphere | 3 ++-
3 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/.werks/2418 b/.werks/2418
new file mode 100644
index 0000000..bac0bd5
--- /dev/null
+++ b/.werks/2418
@@ -0,0 +1,11 @@
+Title: agent_vsphere.pysphere: legacy agent no longer aborts when evaluating unknown ssl
option
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.7i3
+Date: 1438784205
+
+The agent_vsphere.pysphere is now able to accept the option --no-cert-check, which was
introduced a month ago.
+However, it is only implemented as a dummy. SSL certificate checking is not supported in
the legacy version.
diff --git a/ChangeLog b/ChangeLog
index 5d65306..fcaa730 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -101,6 +101,7 @@
* 2415 FIX: check_mail, check_mail_loop: fixed incorrect POP3 ssl setting (thanks to
Bernhard Schmidt)...
* 2452 FIX: cisco_temperature: Fixed handling of scaling...
* 2416 FIX: agent_netapp: fixed rare problem where environmental sensor info (fan,
psus, temp) were not shown...
+ * 2418 FIX: agent_vsphere.pysphere: legacy agent no longer aborts when evaluating
unknown ssl option...
Multisite:
* 2385 SEC: Fixed possible reflected XSS on all GUI pages where users can produce
unhandled exceptions...
diff --git a/agents/special/agent_vsphere.pysphere
b/agents/special/agent_vsphere.pysphere
index 22609e3..0c5a7ee 100755
--- a/agents/special/agent_vsphere.pysphere
+++ b/agents/special/agent_vsphere.pysphere
@@ -58,6 +58,7 @@ OPTIONS:
having any assigned virtual disks.
-p, --port port Alternative port number (default is 443 for the https
connection)
--pysphere Does nothing. For compatibility with new agent.
+ --no-cert-check Does nothing. For compatibility with new agent.
-H, --hostname Specify a hostname. This is neccessary if this is
different from HOST. It is being used in --direct
mode as the name of the host system when outputting
@@ -91,7 +92,7 @@ OPTIONS:
short_options = 'hi:u:s:Dat:H:cPp:S:'
long_options = [
'help', 'user=', 'secret=', 'direct',
'agent', 'debug', 'modules=', 'timeout=',
'hostname=',
- 'dump-counters', 'profile', 'pysphere', 'spaces=',
'port='
+ 'dump-counters', 'profile', 'pysphere', 'spaces=',
'port=', 'no-cert-check'
]
try: