These were causing the per-op execute counters to always be reported as
zero.
Signed-off-by: Scott Mayhew <smayhew@xxxxxxxxxx>
---
src/pmdas/nfsclient/pmdanfsclient.pl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/pmdas/nfsclient/pmdanfsclient.pl
b/src/pmdas/nfsclient/pmdanfsclient.pl
index a364c12..8344ec2 100644
--- a/src/pmdas/nfsclient/pmdanfsclient.pl
+++ b/src/pmdas/nfsclient/pmdanfsclient.pl
@@ -370,7 +370,7 @@ sub nfsclient_parse_proc_mountstats {
$h{$nfsinst}->{"nfsclient.ops.$opname.bytes_recv"} =
$noval;
$h{$nfsinst}->{"nfsclient.ops.$opname.queue"} = $noval;
$h{$nfsinst}->{"nfsclient.ops.$opname.rtt"} = $noval;
- $h{$nfsinst}->{"nfsclinet.ops.$opname.execute"} =
$noval;
+ $h{$nfsinst}->{"nfsclient.ops.$opname.execute"} =
$noval;
}
if ($line =~ /\tper-op statistics$/) {
@@ -388,7 +388,7 @@ sub nfsclient_parse_proc_mountstats {
$h{$nfsinst}->{"nfsclient.ops.$op_name.bytes_recv"},
$h{$nfsinst}->{"nfsclient.ops.$op_name.queue"},
$h{$nfsinst}->{"nfsclient.ops.$op_name.rtt"},
-
$h{$nfsinst}->{"nfsclinet.ops.$op_name.execute"}) =
+
$h{$nfsinst}->{"nfsclient.ops.$op_name.execute"}) =
($2, $3, $4, $5, $6, $7, $8, $9);
}
}
--
1.9.3
|