|
@@ -405,7 +405,10 @@ class MonitoringPlugin(object):
|
|
|
if type(multiline) == str:
|
|
|
out += '\n' + multiline.replace('|', ' ')
|
|
|
elif type(multiline) in [list, tuple]:
|
|
|
- out += '\n' + '\n'.join([item for sublist in multiline for item in sublist]).replace('|', ' ')
|
|
|
+ if type(multiline[0]) in [list, tuple]:
|
|
|
+ out += '\n' + '\n'.join([item for sublist in multiline for item in sublist]).replace('|', ' ')
|
|
|
+ else:
|
|
|
+ out += '\n' + '\n'.join(multiline).replace('|', ' ')
|
|
|
|
|
|
# Check if there's perfdata
|
|
|
if performancedata:
|