Module: check_mk
Branch: master
Commit: 7e99e3840027cb5ba0c5fc3bea349582777dda2b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7e99e3840027cb…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Feb 28 09:13:41 2013 +0100
Remove obsolete -lower option for vsphere agent
Is now done by piggyback option.
---
agents/special/agent_vsphere | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/agents/special/agent_vsphere b/agents/special/agent_vsphere
index 5630ed1..5cfff53 100755
--- a/agents/special/agent_vsphere
+++ b/agents/special/agent_vsphere
@@ -31,7 +31,6 @@ parser = argparse.ArgumentParser(description='Check_MK vSphere
Agent')
group = parser.add_argument_group()
group.add_argument('-p', type=int, help="Port Number of vSphere
Server")
group.add_argument('-i', help="Check the hostsystem and or virtualmachine.
Comma separated")
-group.add_argument('-lower', action="store_true", help="Convert
the name attributes of each MOR to lower case")
parser.add_argument('-u', help="Username")
parser.add_argument('-s', help="Secret")
parser.add_argument('Hostname', help="Hostname")
@@ -79,8 +78,6 @@ def output_mors(what, properties):
# Get the name of this Host/VirtualMachine
# May there a comments in the field, so split at whitespace
name = data["name"].split()[0]
- if params['lower']:
- name = name.lower()
object_collection[name] = (what, data['name'])