1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-22 10:23:46 +01:00

bug in for loop. Looped only once

This commit is contained in:
gitmopp 2014-01-31 15:06:04 +01:00
parent 9b2474fb49
commit b672f6f508

View File

@ -572,7 +572,7 @@ def check_generic(command="ls disk full", namefield="objectname", perfdata_field
if i.has_key(x): if i.has_key(x):
longoutput("- %s = %s\n" % (x, i[x])) longoutput("- %s = %s\n" % (x, i[x]))
end(summary, perfdata, longserviceoutput, nagios_state) end(summary, perfdata, longserviceoutput, nagios_state)
def check_multiple_objects(my_object, name): def check_multiple_objects(my_object, name):