xcp-ng / xcp

Entry point for issues and wiki. Also contains some scripts and sources.
https://xcp-ng.org
1.31k stars 74 forks source link

Netdata not showing Virtual Network Interfaces for VMs #379

Open biggen1684 opened 4 years ago

biggen1684 commented 4 years ago

Netdata is currently not showing virtual network interfaces for VMs when looking at the default Netdata dashboard as shown below:

netdata_no_nic

This was noted by vlvkobal during the initial build of Netdata for xcp-ng. He mentions that xentop doesn't report network statistics. I've created a duplicate ticket over at the Netdata Github as I'm not sure who can fix this.

As it stands currently, its not possible to properly monitor network activity on any VMs via Netdata on xcp-ng.

stormi commented 4 years ago

Thanks @biggen1684 for the detailed report. @beshleman will have a look when available.

biggen1684 commented 4 years ago

Thanks @stormi

I also noticed that the virtual drives for the VMs also aren't listed for some reason. Didn't think it was worth starting a new issue over that. I think Netdata just isn't getting everything it needs right now from xcp-ng for some reason.

biggen1684 commented 4 years ago

@stormi The devs over at Netdata closed this ticket I created over there (https://github.com/netdata/netdata/issues/8810). They say they can't do anything about it since its a problem with libxenstat which makes sense.

stormi commented 4 years ago

I think it's been also mentioned on the forum that stats about VDIs are missing too.

olivierlambert commented 4 years ago

Here is the result of an xl top:

Capture d’écran de 2020-08-14 18-00-48

Clearly, there's a problem on network.

stormi commented 3 years ago

This old PR for blktap may be related, for disk stats only https://github.com/xapi-project/blktap/pull/170/files

etlweather commented 1 year ago

Was there any development on this issue? I am looking for a way to collect the network usage of all VMs and send that to an InfluxDB database but without running something inside each VM, I wanted to collect from the host if possible, or maybe via XO since XO does show me the network usage of each VMs.

olivierlambert commented 1 year ago

It should work via XO (which is using XAPI RRDs).