1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-22 02:13:44 +01:00

check_eva - fix mixed tab/spaces

This commit is contained in:
Pall Sigurdsson 2013-08-21 13:48:56 +00:00
parent ec2973e743
commit ceb039eb45

View File

@ -452,7 +452,6 @@ def check_generic(command="ls disk full",namefield="objectname", perfdata_fields
summary = "%s objects found " % len(objects)
for i in objects:
systemname = i['systemname']
# Some versions of commandview use "objectname" instead of namefield
if i.has_key( namefield ):
objectname = i[namefield]
@ -672,7 +671,6 @@ if mode == 'check_systems':
command = "ls system full"
namefield="objectname"
check_generic(command=command,namefield=namefield,longserviceoutputfields=longserviceoutputfields, perfdata_fields=perfdata_fields)
#check_systems
elif mode == 'check_controllers':
check_controllers()
elif mode == 'check_diskgroups':