1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-12-26 02:53:51 +01:00

Merge pull request #10 from gitmopp/patch-2

bug in for loop. Looped only once
This commit is contained in:
Pall Sigurdsson 2014-02-04 05:14:39 -08:00
commit 553a182dd1

View File

@ -572,7 +572,7 @@ def check_generic(command="ls disk full", namefield="objectname", perfdata_field
if i.has_key(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):