Skip to content

data collection of netfilter connection tracker metrics using netlink (libmnl)#1963

Merged
ktsaou merged 9 commits intonetdata:masterfrom
ktsaou:master
Mar 18, 2017
Merged

data collection of netfilter connection tracker metrics using netlink (libmnl)#1963
ktsaou merged 9 commits intonetdata:masterfrom
ktsaou:master

Conversation

@ktsaou
Copy link
Member

@ktsaou ktsaou commented Mar 17, 2017

The internal nfacct plugin:

  1. is now synced with the current development of netdata
  2. can collect connection tracker metrics too; fixes netdata uses obsolete procfs for conntrack data - netfilter.plugin #161

The plugin still requires netdata to be running as root. The next step is to move it away from the netdata daemon to an external plugin, that will be setuid to root.

But in order to do this, it has to be merged with the internal netfilter plugin, so that only one method of netfilter data collection will be used at any time. So, if netlink is available it should be used, otherwise the proc filesystem should be used, but if even this is not available the plugin should stop and exit.

@ktsaou ktsaou merged commit e3fe7e2 into netdata:master Mar 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

netdata uses obsolete procfs for conntrack data - netfilter.plugin

1 participant