Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown key: pcap_interface #194

Closed
zabudskyi opened this issue Apr 30, 2018 · 1 comment
Closed

Unknown key: pcap_interface #194

zabudskyi opened this issue Apr 30, 2018 · 1 comment
Assignees
Labels

Comments

@zabudskyi
Copy link

I'm in frustration. What can be wrong?
cat /etc/pmacct/pmacctd.conf

debug: true
daemonize: true
logfile: /var/log/pmacctd.log
pcap_interface: em1
plugins: sfprobe 
sampling_rate: 20
sfprobe_agentsubid: 1402
sfprobe_receiver: 127.0.0.1:6343

pmacctd -f /etc/pmacct/pmacctd.conf

WARN: [/etc/pmacct/pmacctd.conf:4] Unknown key: pcap_interface. Ignored.
WARN ( default/core ): debug is enabled; forking in background. Logging to standard error (stderr) will get lost.
pmacctd -V
Promiscuous Mode Accounting Daemon, pmacctd 1.7.0 (20170924-00+c1)

Arguments:
 '--prefix=/usr' '--sysconfdir=/etc' '--localstatedir=/var' '--enable-debug' '--enable-jansson' '--enable-l2' '--enable-ipv6' '--enable-64bit' '--enable-threads' '--enable-traffic-bins' '--enable-bgp-bins' '--enable-bmp-bins' '--enable-st-bins'

Libs:
libpcap version 1.8.1
jansson 2.9

System:
Linux 4.2.0-42-generic #49~14.04.1-Ubuntu SMP Wed Jun 29 20:22:11 UTC 2016 x86_64
@paololucente
Copy link
Member

Hi @zabudskyi , 'pcap_interface' is an alias to 'interface' and was introduced in 1.7.1 - but you are using 1.7.0. If you prefer to use online / browseable documentation then refer to the 1.7.0 branch: https://github.com/pmacct/pmacct/tree/1.7.0 . In short, change 'pcap_interface' to 'interface'. Paolo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants