updated perfometer to exclude if more than one nfstore

This commit is contained in:
Marius Pana 2018-09-14 18:48:27 +03:00
parent 8533198ad7
commit 6c2fe4e526
1 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,8 @@
#!/usr/bin/env python
def perfometer_nfsiostat(row, check_command, perf_data):
if len(perf_data) < 2:
return "", ""
for pd in perf_data:
if pd[0] == u'op_s':
ops = float(pd[1])