updated perfometer to exclude if more than one nfstore
This commit is contained in:
parent
8533198ad7
commit
6c2fe4e526
@ -1,6 +1,8 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
def perfometer_nfsiostat(row, check_command, perf_data):
|
def perfometer_nfsiostat(row, check_command, perf_data):
|
||||||
|
if len(perf_data) < 2:
|
||||||
|
return "", ""
|
||||||
for pd in perf_data:
|
for pd in perf_data:
|
||||||
if pd[0] == u'op_s':
|
if pd[0] == u'op_s':
|
||||||
ops = float(pd[1])
|
ops = float(pd[1])
|
||||||
|
Loading…
Reference in New Issue
Block a user