monitoringplugins: Fix verbose output with SNMP command line utils

Signed-off-by: Sven Velt <sven@velt.de>
This commit is contained in:
Sven Velt 2011-02-07 11:14:45 +01:00
parent bc11e7f665
commit 5450ea1345

View file

@ -596,7 +596,7 @@ class SNMPMonitoringPlugin(MonitoringPlugin):
for line in range(0,len(out)): for line in range(0,len(out)):
out[line] = out[line].rstrip().replace('"','') out[line] = out[line].rstrip().replace('"','')
self.verbose(1, out) self.verbose(1, str(out))
return out return out