1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-23 22:50:09 +03:00

Bug getting network use in ganglia drivers

(cherry picked from commit 333067cc603382f078389b6944e801d60eb117f5)
This commit is contained in:
Javi Fontan 2011-02-28 15:51:00 +01:00
parent a963336a8f
commit 50c7d69d00

View File

@ -68,8 +68,8 @@ free_cpu=(data['cpu_idle'].to_f/100.0) * total_cpu
info["FREECPU"]=free_cpu
info["USEDCPU"]=total_cpu - free_cpu
info["NETRX"]=data['bytes_out']
info["NETTX"]=data['bytes_in']
info["NETTX"]=data['bytes_out']
info["NETRX"]=data['bytes_in']
info["KVM_VERSION"]=data['KVM_VERSION']
info["XEN_VERSION"]=data['XEN_VERSION']