From: Andrew Bays Date: Wed, 13 Dec 2017 17:21:57 +0000 (-0500) Subject: connectivity plugin initial commit X-Git-Url: https://git.octo.it/?p=collectd.git;a=commitdiff_plain;h=f4a66f28be65f7c9ab1265adde87a3e6cc35540a connectivity plugin initial commit --- diff --git a/AUTHORS b/AUTHORS index a5fd7c29..a050e724 100644 --- a/AUTHORS +++ b/AUTHORS @@ -60,6 +60,7 @@ Andrew Bays - connectivity plugin. - procevent plugin. - sysevent plugin. + - connectivity plugin. Andy Parkins - battery plugin: sysfs code. diff --git a/configure.ac b/configure.ac index d9ea7397..3ff2189f 100644 --- a/configure.ac +++ b/configure.ac @@ -6480,18 +6480,15 @@ if test "x$ac_system" = "xLinux"; then if test "x$with_libyajl" = "xyes" && test "x$with_libyajl2" = "xyes"; then plugin_ovs_events="yes" plugin_ovs_stats="yes" -<<<<<<< HEAD plugin_procevent="yes" - fi - - if test "x$have_pci_regs_h" = "xyes"; then - plugin_pcie_errors="yes" -======= if test "x$with_libmnl" = "xyes"; then plugin_connectivity="yes" fi ->>>>>>> connectivity notifications + fi + + if test "x$have_pci_regs_h" = "xyes"; then + plugin_pcie_errors="yes" fi fi diff --git a/src/types.db b/src/types.db index 6c08936e..51b80d56 100644 --- a/src/types.db +++ b/src/types.db @@ -33,6 +33,7 @@ compression uncompressed:DERIVE:0:U, compressed:DERIVE:0:U compression_ratio value:GAUGE:0:2 commands value:DERIVE:0:U connections value:DERIVE:0:U +connectivity value:GAUGE:0:2 conntrack value:GAUGE:0:4294967295 contextswitch value:DERIVE:0:U cookies value:DERIVE:0:U