mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-11-25 03:43:46 +01:00
bug in for loop. Looped only once
This commit is contained in:
parent
9b2474fb49
commit
b672f6f508
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user