perfdata
This commit is contained in:
parent
452721e89a
commit
4b3fe71057
|
@ -53,7 +53,7 @@ for i in range(len(data)):
|
|||
else:
|
||||
ok.append(interface)
|
||||
data[i][2] = 'ok'
|
||||
perf_data.append(f'{interface}={round(bandwidth_utilization, 2)}MB;{warn_value};{crit_value}; ')
|
||||
perf_data.append(f'{interface}={round(bandwidth_utilization, 2)}B;{warn_value};{crit_value}; ')
|
||||
|
||||
if len(ok):
|
||||
print(f'OK: {", ".join(ok)}')
|
||||
|
|
Loading…
Reference in New Issue