Scope / Description: We need to be able to collect DPDK interface statistics. To accomplish this, there is a need to add support for OvS-DPDK plugin into collectd as part of OpsTool. More about collectd: http://collectd.org/ Additional Info: Partner: Nokia CB Name: Yossi Boaron Contact Email: yossi.boaron Name: Tamar Inbar-Shelach Contact Email: tamar.inbar-shelach Red Hat EPM: Bertrand Rault Contact Email: Brault
https://collectd.org/news.shtml lists a dpdk plugin to be available in collectd-5.7.0 (and later)
actually the build missed the plugin
Here are my findings The plugin has some linking problems. Enabling it with collectd throws the following errors repeatedly In file included from /usr/include/dpdk/rte_ether.h:50:0, from /usr/include/dpdk/rte_ethdev.h:185, from dpdkstat.c:50: /usr/include/dpdk/rte_memcpy.h: In function 'rte_memcpy': /usr/include/dpdk/rte_memcpy.h:625:2: error: implicit declaration of function '_mm_alignr_epi8' [-Werror=implicit-function-declaration] MOVEUNALIGNED_LEFT47(dst, src, n, srcofs); ^ /usr/include/dpdk/rte_memcpy.h:625:2: error: incompatible type for argument 2 of '_mm_storeu_si128' In file included from /usr/include/dpdk/rte_atomic.h:41:0, from dpdkstat.c:43: /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/emmintrin.h:700:1: note: expected '__m128i' but argument is of type 'int' _mm_storeu_si128 (__m128i *__P, __m128i __B) ^ In file included from /usr/include/dpdk/rte_ether.h:50:0, from /usr/include/dpdk/rte_ethdev.h:185, from dpdkstat.c:50: /usr/include/dpdk/rte_memcpy.h:625:2: error: incompatible type for argument 2 of '_mm_storeu_si128' MOVEUNALIGNED_LEFT47(dst, src, n, srcofs); The errors are related to the data reader from dpdk and as such collectd is not able to get the dpdk data.