connectivity plugin initial commit
authorAndrew Bays <abays@redhat.com>
Wed, 13 Dec 2017 17:21:57 +0000 (12:21 -0500)
committerAndrew Bays <andrew.bays@gmail.com>
Thu, 5 Sep 2019 13:28:57 +0000 (09:28 -0400)
AUTHORS
configure.ac
src/types.db

diff --git a/AUTHORS b/AUTHORS
index a5fd7c2..a050e72 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -60,6 +60,7 @@ Andrew Bays <abays at redhat.com>
  - connectivity plugin.
  - procevent plugin.
  - sysevent plugin.
  - connectivity plugin.
  - procevent plugin.
  - sysevent plugin.
+ - connectivity plugin.
 
 Andy Parkins <andyp at fussylogic.co.uk>
  - battery plugin: sysfs code.
 
 Andy Parkins <andyp at fussylogic.co.uk>
  - battery plugin: sysfs code.
index d9ea739..3ff2189 100644 (file)
@@ -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"
   if test "x$with_libyajl" = "xyes" && test "x$with_libyajl2" = "xyes"; then
     plugin_ovs_events="yes"
     plugin_ovs_stats="yes"
-<<<<<<< HEAD
     plugin_procevent="yes"
     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
 
     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
 
   fi
 fi
 
index 6c08936..51b80d5 100644 (file)
@@ -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
 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
 conntrack               value:GAUGE:0:4294967295
 contextswitch           value:DERIVE:0:U
 cookies                 value:DERIVE:0:U