Netdata Community

Netdata - How can i get active and shutdown VMs on KVM host

I have netdata allmetrics /api/v1/allmetrics being sent to prometheus server but its not showing any qemu related data to figure out active vms and shutdown vms on KVM host… Any help will be appreciated.

You should see data from the cgroups plugin for active VMs (look for cgroup_ charts). There is no way of getting data for stopped VMs because they don’t have any active cgroups associated with them.

Thank you much and happy new year. understood… my need was to prepare a dashboard with shutdown/active vms on hosts to look for available capacity in the environment… Since shutdown VMs memory calculation cannot happen. will look for an alternative like free memory etc…