2
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

More raw data for nfs.v3(4).op

This commit is contained in:
Diver 2017-01-23 22:15:56 +03:00
parent 72c006f727
commit c89146d9e3

View file

@ -486,6 +486,19 @@ for server in $nas_servers; do
fi fi
if [ $STATSTYPE = "NFS" ] ; then if [ $STATSTYPE = "NFS" ] ; then
#nfs.v3.op data #nfs.v3.op data
# [nasadmin@mnemonic0 ~]$ server_stats server_2 -monitor nfs.v3.op -count 1 -terminationsummary no
# server_2 NFS Op NFS NFS Op NFS NFS Op %
# Timestamp Op Errors Op
# Calls/s diff uSec/Call
# 22:14:41 v3GetAttr 30 0 23 21
# v3Lookup 40 0 98070 27
# v3Access 50 0 20 34
# v3Read 4 0 11180 3
# v3Write 2 0 2334 1
# v3Create 1 0 1743 1
# v3Mkdir 13 0 953 9
# v3Link 6 0 1064 4
member_elements_by_line=$(run_remote server_stats "$server" -monitor nfs.v3.op -count 1 -terminationsummary no -titles never | sed -ne 's/^.*v3/v3/p') member_elements_by_line=$(run_remote server_stats "$server" -monitor nfs.v3.op -count 1 -terminationsummary no -titles never | sed -ne 's/^.*v3/v3/p')
NUMCOL=5 NUMCOL=5
LINES=$(wc -l <<< "$member_elements_by_line") LINES=$(wc -l <<< "$member_elements_by_line")
@ -513,6 +526,30 @@ for server in $nas_servers; do
elements_array=() elements_array=()
#nfs.v4.op data #nfs.v4.op data
# [nasadmin@mnemonic0 ~]$ server_stats server_2 -monitor nfs.v4.op -count 1 -terminationsummary no
# server_2 NFS Op NFS NFS Op NFS NFS Op %
# Timestamp Op Errors Op
# Calls/s diff uSec/Call
# 22:13:14 v4Compound 2315 0 7913 30
# v4Access 246 0 5 3
# v4Close 133 0 11 2
# v4Commit 2 0 6928 0
# v4Create 1 0 881 0
# v4DelegRet 84 0 19 1
# v4GetAttr 1330 0 7 17
# v4GetFh 164 0 3 2
# v4Lookup 68 0 43 1
# v4Open 132 0 1061 2
# v4PutFh 2314 0 11 30
# v4Read 359 0 15561 5
# v4ReadDir 1 0 37 0
# v4Remove 62 0 1096 1
# v4Rename 1 0 947 0
# v4Renew 2 0 3 0
# v4SaveFh 1 0 3 0
# v4SetAttr 9 0 889 0
# v4Write 525 0 16508 7
member_elements_by_line=$(run_remote server_stats "$server" -monitor nfs.v4.op -count 1 -terminationsummary no -titles never | sed -ne 's/^.*v4/v4/p') member_elements_by_line=$(run_remote server_stats "$server" -monitor nfs.v4.op -count 1 -terminationsummary no -titles never | sed -ne 's/^.*v4/v4/p')
NUMCOL=5 NUMCOL=5
LINES=$(wc -l <<< "$member_elements_by_line") LINES=$(wc -l <<< "$member_elements_by_line")