Re: [pmacct-discussion] building version 1.6.1

2016-11-09 Thread Vincent Bernat
❦ 9 novembre 2016 11:56 -0500, Stephen Clark  : LIBS . : -L/usr/pgsql-9.4/lib -ldl -L/usr/local/lib -lpfring -lpcap -lrt -lnuma -lz -lpthread >>> If libpfring is linked to one version of libpcap and your local libpcap >>> is another one, there will a

Re: [pmacct-discussion] Graphing Options

2016-11-09 Thread Robert Juric
What I'm not sure of is whether or not time-series is the correct way to store my data? I am currently aggregating nfacctd data based on flow timestamps for accounting purposes. For those using InfuxDB and Graphite/Graphana, what primitives are you aggregating on and what do you pull out of the

Re: [pmacct-discussion] Graphing Options

2016-11-09 Thread Cameron Murray
This was actually being discussed yesterday on AUSNOG. A recommendation was http://uowits.github.io/herbert-gui/index.html however more suited to end user billing it might be suited to your needs? On Thu, Nov 10, 2016 at 8:01 AM, Robert Juric wrote: > After fiddling

[pmacct-discussion] Graphing Options

2016-11-09 Thread Robert Juric
After fiddling around for a few days I'm still at a loss for finding a good graphing option. I've been working today trying to use the memory plugin and cacti to graph some data, but I realized that it won't be good for dynamic type graphs. I could easily graph total tcp/udp traffic since those

Re: [pmacct-discussion] performance issue

2016-11-09 Thread Stephen Clark
Oops - we just hit 10 writers. On 11/09/2016 08:54 AM, Stephen Clark wrote: Hi Paolo, Thanks for the response. Do you see anything in our confguration that I could adjust to mitigate the situation. We never reach 10 sql writers. Would increasing the any of these help? sql_refresh_time: 60

Re: [pmacct-discussion] performance issue

2016-11-09 Thread Stephen Clark
Hi Paolo, Thanks for the response. Do you see anything in our confguration that I could adjust to mitigate the situation. We never reach 10 sql writers. Would increasing the any of these help? sql_refresh_time: 60 sql_optimize_clauses: true !sql_history: 5m sql_history: 1m

Re: [pmacct-discussion] performance issue

2016-11-09 Thread Paolo Lucente
Hi Steve, You are experiencing a few connected problems, i guess. The root issue should be that the PostgreSQL database is not coping with the insert or update rate and/or with the size of the dataset. The list of plugins you see there are, in fact, all DB writers. They are queued up, waiting

Re: [pmacct-discussion] building version 1.6.1

2016-11-09 Thread Paolo Lucente
Hi Steve, This is the same issue as described here: https://github.com/pmacct/pmacct/issues/40 See the wontfix flag, i'm unable to reproduce the issue. If you solve it yourself, please contribute a patch. I'd be fully to look into it for you but it smells i need (unprivileged) access to the

Re: [pmacct-discussion] Nfacctd Unknown Templates

2016-11-09 Thread Paolo Lucente
Hi Robert, If using NetFlow v9/IPFIX, it is normal that until the next template comes in, you get discards. Changing plugins is not related to what you are experiencing. Either it's all good or it's something pre-existing. Cheers, Paolo On Tue, Nov 08, 2016 at 01:41:01PM -0600, Robert Juric

[pmacct-discussion] building version 1.6.1

2016-11-09 Thread Stephen Clark
Hi, I get the following error when trying to build 1.6.1 on CentOS 6.0 CCLD pmacctd /usr/local/lib/libpcap.a(bpf_filter.o): In function `bpf_validate': (.text+0x0): multiple definition of `bpf_validate'