mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-11-24 03:13:47 +01:00
Merge pull request #10 from gitmopp/patch-2
bug in for loop. Looped only once
This commit is contained in:
commit
553a182dd1
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user