diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-03-18 01:09:24 +0200 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-03-18 01:09:24 +0200 |
commit | 097267581b18fe7de21c077f583b22d16a9ab662 (patch) | |
tree | 4b868eef1a94f2af5ab64490e98d93cca98d9beb /src/plugin_nfacct.c | |
parent | fa57c9e50d49f3b51dcd9a5f7ec8798153af5992 (diff) |
netfilter plugin - final touch before moving it outside netdata
Diffstat (limited to 'src/plugin_nfacct.c')
-rw-r--r-- | src/plugin_nfacct.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugin_nfacct.c b/src/plugin_nfacct.c index 6d0a24c04f..5d2e6dc754 100644 --- a/src/plugin_nfacct.c +++ b/src/plugin_nfacct.c @@ -13,6 +13,9 @@ #ifdef HAVE_LINUX_NETFILTER_NFNETLINK_CONNTRACK_H #define DO_NFSTAT 1 +#define RRD_TYPE_NET_STAT_NETFILTER "netfilter" +#define RRD_TYPE_NET_STAT_CONNTRACK "netlink" // FIXME: should be "conntrack" when merged with the /proc plugin + #include <linux/netfilter/nfnetlink_conntrack.h> static struct { @@ -175,9 +178,6 @@ static int nfstat_collect() { return 0; } -#define RRD_TYPE_NET_STAT_NETFILTER "netfilter2" -#define RRD_TYPE_NET_STAT_CONNTRACK "conntrack2" - static void nfstat_send_metrics() { { |