xcp icon indicating copy to clipboard operation
xcp copied to clipboard

Netdata not showing Virtual Network Interfaces for VMs

Open biggen1684 opened this issue 5 years ago • 8 comments

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.

biggen1684 avatar Apr 23 '20 12:04 biggen1684

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

stormi avatar Apr 30 '20 12:04 stormi

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 avatar Apr 30 '20 14:04 biggen1684

@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.

biggen1684 avatar Aug 12 '20 19:08 biggen1684

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

stormi avatar Aug 14 '20 15:08 stormi

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.

olivierlambert avatar Aug 14 '20 16:08 olivierlambert

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

stormi avatar Sep 20 '21 14:09 stormi

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.

etlweather avatar Apr 03 '23 07:04 etlweather

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

olivierlambert avatar Apr 03 '23 07:04 olivierlambert