sflow
sflow
This is the relevant code: https://github.com/sflow/host-sflow/blob/master/src/Linux/mod_kvm.c#L114-L174 Is is missing the capacity/allocation/available data from virDomainGetBlockInfo(), or the reads/writes/errors counter data from virDomainBlockStats(), or both? The binary is compiled with "-g -O2"...
Sounds like it's not recognizing the lvm storage when it parses the XML. If you could send the output of "virsh dumpxml " that would be helpful.
It looks like we might be able to pick up the disk stats a different way... It depends on how a qemu VM is treated with respect to Linux cgroups....
Thanks for posting, but please can you indicate why you would like to see this feature? To avoid pushing too much "hidden state" out into the system it can be...
The feed allows you to distinguish. hsflowd will report each NIC's packet+counter samples from a distinct sflow datasource id (equal to the ifIndex of the NIC). It may be called...
Thanks. It's tricky because of the way that src/json/ is shared across all platforms (Linux, Solaris, FreeBSD, Darwin, ...) but perhaps we should allow each platform the discretion to compile...
Isn't that just the UDP socket for sending sFlow datagrams to the collector? It writes to the socket here: https://github.com/sflow/host-sflow/blob/master/src/Linux/hsflowd.c#L60 but never reads from it. Is there another step that...
I fixed the spurious Makefile dependency. Thanks for pointing that out. I don't know why we would want an option to sample outbound packets only, though? What purpose do you...
Looks like a misunderstanding of how fgets works. The simplest workaround is to increase MAX_PROC_LINE_CHARS. Please confirm that it works when you do that. I'll look for the best way...
I checked in a more resilient fix, in the form of a new util function called my_readline() to replace the use of fgets(). If you get a chance, please 'git...