Hello.
Where i can check in which measurements OpenNebula returns values with xml-rpc quering ?
As example, i am getting information about net_tx from VM and it is not comparable with information from sunstone.
Probably, the information there is not enough for you, as you probably are retrieving the VM information and checking the corresponding values. So let me give you more info, for the NET_TX value, it’s retrieved during the monitoring using virsh --connect LIBVIRT_URI --readonly domstats command, you have the code available here.
Regarding the CPU, which exact value are you printing there?
The information you are printing is the actual usage of the CPU inside the VM not the number of cores. If you want to check the number of virtual cores that the VM will see from inside you can check /VM/TEMPLATE/VCPU.