mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-20 10:50:08 +03:00
feature #4083: Nettx -> netrx
(cherry picked from commit 668bd77c73360b166c55b23028c9bb2469eb4510)
This commit is contained in:
parent
007ffef3f5
commit
be7251e422
@ -708,8 +708,8 @@ private
|
||||
["Sum"],
|
||||
"Bytes",
|
||||
id)[:datapoints]
|
||||
previous_nettx = onevm["/VM/MONITORING/NERTX"]
|
||||
nettx = previous_nettx ? previous_nettx.to_i : 0
|
||||
previous_netrx = onevm["/VM/MONITORING/NETRX"]
|
||||
netrx = previous_netrx ? previous_netrx.to_i : 0
|
||||
|
||||
netrx_dp.each{|dp|
|
||||
netrx += dp[:sum].to_i
|
||||
|
Loading…
x
Reference in New Issue
Block a user