Re: [pmacct-discussion] Centralizing data from multiple nfacct collectors

2017-01-05 Thread Alex
I have a running setup with remote sites having pmacct + mysql which aggregates the data nightly and pushes them to a central hub as json files. Alex On January 5, 2017 5:42:45 PM GMT+02:00, Yann Belin wrote: >Thanks all! I spent a couple of hours trough RabbitMQ docs/specs and it >se

Re: [pmacct-discussion] pmacct max active plugins

2017-02-08 Thread Alex
Hi Paolo, After compiling with the new limit (MAX_N_PLUGINS 40) pmacctd is starting normally on all interfaces. Alex On February 7, 2017 11:54:40 AM GMT+02:00, Abi Askushi wrote: >Hi Paolo, > >Thank you for the swift response. >I will recompile with the new limit and will check.

[pmacct-discussion] pmacct aggregation bug

2008-04-11 Thread alex
i don't see any problem in memory tables for every 'pmacctd' daemons but found it in 'nfacctd'. Therefore i think this is bug in 'nfacctd' collector. I tested CVS sources and found them behaviour analogous. VERY disappointment bug. Alex -- Достав

[pmacct-discussion] pmacct aggregation bug

2008-04-11 Thread alex
very strange flows (i can't attache screenshot). All of them parameters (ip_src,ip_dst,src_port,dst_port,ip_proto,packets and bytes) looks unreal. It seems that these data was decoded from garbage not from correct filtered data. Thank you very much, Alex -- Доставка

[pmacct-discussion] NO pmacct aggregation bug

2008-04-11 Thread alex
ting up 'nfprobe_engine', 'post_tag' parameters but in table i see only 'agent_id=0' for all records. 2. How i can count 'flows' field? Thank you very much, Alex -- Доставка на дом и в офис пиццы, суши, шашлыка

[pmacct-discussion] sql_history problem

2008-04-18 Thread alex
with somewhat inaccurate (several minutes/Kbytes - 'sql_refresh_time' and may be something else) around 00:00. Am i correct? Thank you very much, Alex --- Доставка на дом и в офис пиццы, суши, шашлыка, напитков круглосуточно. Закажи сейчас! http://www.pizza.by (0

Re: [pmacct-discussion] sql_history problem

2008-04-18 Thread alex
8 09:56:01 64680icmp 2008-04-17 00:00:00 2008-04-18 09:56:01 286440icmp 2008-04-17 00:00:00 2008-04-18 09:00:01 ... Alex --- Доставка на дом и в офис пиццы, суши, шашлыка, напитков круглосуточно. Закажи сейчас! http://www.pizza.by (017)

Re: [pmacct-discussion] sql_history problem

2008-04-18 Thread alex
Totally them 310. But this is very little part of all records of this day (22 249). >> And yet one question. As i understand if connection was created at >> one day and closed at next we should have two records for it with >> somewhat inaccurate (several minutes/Kbytes - &#x

Re: [pmacct-discussion] sql_history problem

2008-04-18 Thread alex
Sorry, not five, four: > 2188048 2008-04-17 00:00:00 2008-04-18 11:28:01 >538793 2008-04-17 00:00:00 2008-04-18 09:56:01 > 64680 2008-04-17 00:00:00 2008-04-18 09:56:01 >286440 2008-04-17 00:00:00 2008-04-18 09:00:01 >... --- Доставка

[pmacct-discussion] best practice (additional examples)

2008-04-23 Thread alex
marks and fixes) and will be glad if it will useful. Alex -- Кредит на развитие бизнеса! Индивидуальным предпринимателям и юр.лицам. Специальные предложения: 'Кредит на приобретение коммерческого автомобиля', 'Кредит руководителю'. Белросбанк, (017) 287-6

Re: [pmacct-discussion] Multiple interfaces and netflow

2008-05-14 Thread alex
See my letter from 23 Apr 2008 with theme 'best practice (additional examples)'. It have attached my personal config. Alex > Hi All... > > I'm wondering if there are any docs or samples for configuring the netflow > and/or sflow plugins, beyond what acco

Re: [pmacct-discussion] Multiple interfaces and netflow

2008-05-18 Thread alex
tion on nfacctd, not on agents. Agents will only collect necessary traffic for nfacctd. Alex > Hi Alex and thank you very much for the reply. I went through your >posting carefully and experimented with your configurations, but I can't >seem to make this work. The flow coming ou

Re: [pmacct-discussion] Multiple interfaces and netflow

2008-05-18 Thread alex
_net' and 'dst_net' for accumulate input and output traffic. But we can make appropriate SQL 'select' request for join both type of traffic in one digit. Alex ___ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists

Re: [pmacct-discussion] Multiple interfaces and netflow

2008-05-18 Thread alex
In 'CONFIG-KEYS' described follow method: "sum_ are compound primitives which allow to join inbound and outbound traffic into a single aggregate." Alex >>When you have both in and out traffic separately you can also use >> 'net'

Re: [pmacct-discussion] Multiple interfaces and netflow

2008-05-19 Thread alex
t; > So, is it possible to make pmacct generate separate flows for in and out > for the same interface? Yes, of course, i am using it so now. If you set 'memory' plugin and start 'pmacctd' daemon in debug mode: debug: true daemonize: false plugins: memory[in], memory[out

Re: [pmacct-discussion] two netflow collectors

2008-05-23 Thread alex
1.3.5.tar.gz on address 'http://www.switch.ch/network/downloads/tf-tant/samplicator/' and interesting info on 'http://www.switch.ch/network/projects/completed/TF-NGN/floma/software.html'. Alex > Hi All, > > This seems like a simple question but I'm still h

Re: [pmacct-discussion] IP accounting simple reporting

2008-06-02 Thread alex
Hello Ahmed! I can offer you to try adopt my personal report script for your configuration. Feel free for any questions. Alex Hi everyone, Thanks a million for this wonderful tool. The design and stability are impressive. It's currently monitoring my link. I would like to get &

Re: [pmacct-discussion] LVS and pmacct

2008-06-02 Thread alex
Hello Adam! For begin as i understand you must start one 'pmacctd' daemon (with own config) for every interface that you must accouting traffic. In configs you must set up relative interface, aggregate_filter, aggregate and other parameters. Alex > Hi guys, > > I

Re: [pmacct-discussion] LVS and pmacct

2008-06-02 Thread alex
. Try next: dst net 202.45.102.0/24 and src net ! (202.45.102.0/24 and 192.168.1.0/24) And one accurate definition. Balances external request between internal servers make LVS not Keepalived. Keepalived make convenient configuration and VRRP gateway reservation. Alex > Hi Alex, &

Re: [pmacct-discussion] IP accounting simple reporting

2008-06-04 Thread alex
't understand what do you mean "ip_src and ip_dst count" and why it must be equal (see Enrico answer with attention)? Alex > Thanks and best regards > >> >> Um, sorry one more basic question. My config is below (straight from >> examples), and the

Re: [pmacct-discussion] IP accounting simple reporting

2008-06-04 Thread alex
>> values for each day. Do you want that? >>I am usung following settings: >> >> sql_history: 1d >> sql_history_roundoff: h >> >> >> > Now, if I could understand why ip_src and ip_dst count are different I >> >would be happier >> &g

Re: [pmacct-discussion] IP accounting simple reporting

2008-06-04 Thread alex
ion. "The >> >> supplied value defines the time slot width during which >> >>bytes/packets/flows >> >> counters for each entry are accumulated." Now all data fields will be >> >> summarized during a three month (for your config). And you can't

Re: [pmacct-discussion] IP accounting simple reporting

2008-06-05 Thread alex
my answer, SEE Enrico EXAMPLE BELOW) and you will have any internal and external ip-addreses in ip_dst field. Therefore you must specify in select clause expression for your network. But better use pmacctd filters. Alex Again thanks a lot for your help and patience ;) Regards 2008/6/4

Re: [pmacct-discussion] IP accounting simple reporting

2008-06-05 Thread alex
See my previouse letter from 23 Apr 2008 with subject "best practice (additional examples)". In this example i comment advantage of using pmacct filters and agent_id field also (for nfprobe config). # setting separate 'agent_id' for every observated network/zone and # have advantage when use '

Re: [pmacct-discussion] Problems debugging netflow handling

2008-06-05 Thread alex
(where sfacctd are working). Alex > Hi all, > > > > I've been running pmacct with both memory and mysql backend for some time >and it has worked very well. I use pretag.map for filtering and as the >number of address ranges have increased, I've added to

Re: [pmacct-discussion] Measurement accuracy issues

2008-06-10 Thread alex
Hello Ahmed, I only want to add that you must be strong ensure that you compare same flows of data. It is seem obviously but you can easy miss something in setting of both programs and compare hasn't any sense. Alex > Hi Ahmed, > > On Tue, 10 Jun 2008, Ahmed Kamal wrote

[pmacct-discussion] timestamp rounding bug

2009-04-14 Thread alex
er, daemon must round all time digits according to my configuration ('sql_history = 1d'). After I restart 'nfacctd' daemon, 'stamp_inserted' values have zero in hour position. I suspect that it is bug in mechanism of timestamp rounding. I use 'pmacct-0.11

Re: [pmacct-discussion] timestamp rounding bug

2009-04-20 Thread alex
On 04/19/2009 01:00:48 PM, Paolo Lucente wrote: Hi Alex, DST is not supported. Timezones are. The idea behind this was that a backend application (like pmacct is) should ideally work only with UTC (even if timezones are supported) and then front-ends should localize the time as required. I

Re: [pmacct-discussion] timestamp rounding bug

2009-08-03 Thread alex
Hello Paolo, Could you please tell about current state of this question. Alex On 04/19/2009 01:00:48 PM, Paolo Lucente wrote: Hi Alex, DST is not supported. Timezones are. The idea behind this was that a backend application (like pmacct is) should ideally work only with UTC (even if

[pmacct-discussion] pre_tag problem

2016-08-17 Thread Alex William
=1 filter=‘ip’ Can you help please? Thanks. Regards, Alex ___ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists

Re: [pmacct-discussion] pre_tag problem

2016-08-17 Thread Alex William
Hi Mario, Thanks for your help. It works :) Regards, Alex > On 17 Aug 2016, at 19:01, Jentsch, Mario wrote: > > Hi Alex, > > as soon as a matching line in the map is found the search ends unless you > specify a jump to a label. > Try > > set_tag=100 ip=Ajeq

[pmacct-discussion] Flow filter

2017-06-23 Thread Alex William
all adapted with my setup. Thanks. Regards, Alex ___ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists

[pmacct-discussion] Flow filter

2017-06-30 Thread Alex William
all adapted with my setup. Thanks. Regards, Alex ___ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists

Re: [pmacct-discussion] pmacct 1.7.1 released !

2018-05-06 Thread Alex K
Keep up the good work Paolo and thanx for this excellent software! Alex On Sun, May 6, 2018 at 4:44 PM, Paolo Lucente wrote: > VERSION. > 1.7.1 > > > DESCRIPTION. > pmacct is a small set of multi-purpose passive network monitoring tools. It > can account, classify, agg

[pmacct-discussion] uacctd memory usage

2018-06-25 Thread Alex K
on Debian9 64 bit. Is there any tweaks I can use to put a limit on the memory usage of uacctd. Thanx, Alex ___ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists

Re: [pmacct-discussion] uacctd memory usage

2018-06-25 Thread Alex K
with memory. Thanx, Alex On Mon, Jun 25, 2018 at 2:22 PM, Dariush Marsh-Mossadeghi < dari...@gravitas.co.uk> wrote: > > On 25 Jun 2018, at 11:54, Alex K wrote: > > Hi all, > > I have a setup with uacctd monitoring traffic of several interfaces > through NFLOG. >

Re: [pmacct-discussion] uacctd memory usage

2018-06-25 Thread Alex K
worth ? > This is not an option. What I have is 4 GB. This is not just a personal project. There are going to be thousands of such installations... HTH Dariush On 25 Jun 2018, at 12:32, Alex K wrote: Thanx for the reply. The output of free is the following: free totaluse

Re: [pmacct-discussion] uacctd memory usage

2018-06-25 Thread Alex K
That’s a maintenance > overhead you want to avoid unless you have to. > Having said all that, if you’re looking at deploying thousands of units, > the economics of software maintenance may stack up for you. > > HTH > Dariush > > > On 25 Jun 2018, at 14:32, Alex K wrote:

Re: [pmacct-discussion] uacctd memory usage

2018-06-25 Thread Alex K
n available RAM > is around 400MB. > This is already done. > r. > > On 06/25/2018 05:35 PM, Alex K wrote: > > Thanks Dariush. Appreciate your feedback. > > > > I was testing several stripped down kernels by compiling and removing > > most of unused modules. Th

Re: [pmacct-discussion] uacctd memory usage

2018-06-25 Thread Alex K
-> mysql -> processing of mysql and further aggregation -> json file -> push to central hub (rsync) -> import to DB -> visualize... (I've been playing like this for at least 3 years without issues) It is interesting to hear how you tackle such issues. Alex On Mon, Jun 25,

[pmacct-discussion] pmacct on ppp interface

2019-05-29 Thread Alex K
troubleshooted. I am using pmacct 1.6.1-1. Thank you! Alex ___ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists

Re: [pmacct-discussion] pmacct on ppp interface

2019-05-29 Thread Alex K
Hi Paolo, You just caught me doing the upgrade :) I will let you know the outcome. Thank you! On Wed, May 29, 2019 at 4:17 PM Paolo Lucente wrote: > > Hi Alex, > > First thing first 1.6.1 is a release of almost 3 years ago, i can't > support that - please upgrade to 1.7.3

Re: [pmacct-discussion] pmacct on ppp interface

2019-05-30 Thread Alex K
not being captured at the nflog:1 interface of the sim0 ppp interface. At other non-ppp interfaces capturing is fine for IN/OUT. Thanx On Wed, May 29, 2019 at 6:08 PM Alex K wrote: > Hi Paolo, > > > On Wed, May 29, 2019 at 4:31 PM Alex K wrote: > >> Hi Paolo, >> &g

[pmacct-discussion] pmbgpd looking glass don't start

2019-10-24 Thread Alex Ivanov
Hi all, i trying to set up looking glass feature, but no success. pmbgpd starts, but bgp_daemon_lg_* options dont' work, socket with specified address/port not shown. Please help, what i doing wrong. ]# /opt/sbin/pmbgpd -f /opt/etc/pmbgpd.conf -d -g DEBUG: [/opt/etc/pmbgpd.conf] plugin name/type: '

[pmacct-discussion] Pmacct configuration with direction of traffic

2020-02-20 Thread Alex K
t to collect traffic only generated from subnets that belong to configured interfaces of the router. Thanx for your feedback! Alex ___ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists

Re: [pmacct-discussion] Pmacct configuration with direction of traffic

2020-02-21 Thread Alex K
mples for uacctd at https://github.com/pmacct/pmacct/blob/master/examples/pretag.map.example. Thanx, Alex On Thu, Feb 20, 2020 at 6:33 PM Alex K wrote: > Hi all, > > I have a router with multiple interfaces and will need to account traffic > at its several WAN interfaces. My purpose is t

Re: [pmacct-discussion] Pmacct configuration with direction of traffic

2020-02-24 Thread Alex K
Hi Paolo, On Sat, Feb 22, 2020 at 4:18 PM Paolo Lucente wrote: > > Hi Alex, > > Is it possible with the new setup - the one where pre_tag_map does not > match anything - the traffic is VLAN-tagged (or MPLS-labelled)? If so, > you should adjust filters accordingly and add &#x

Re: [pmacct-discussion] Pmacct configuration with direction of traffic

2020-02-25 Thread Alex K
17353, seq 2, length 64 09:16:06.855200 IP (tos 0x0, ttl 49, id 0, offset 0, flags [none], proto ICMP (1), length 84) 8.8.8.8 > 192.168.28.11: ICMP echo reply, id 17353, seq 2, length 64 The pmacct version I am running is latest master. Thank you for your assistance. Alex On Mon, F

Re: [pmacct-discussion] Pmacct configuration with direction of traffic

2020-02-26 Thread Alex K
Hi Paolo, On Tue, Feb 25, 2020 at 6:41 PM Paolo Lucente wrote: > > Hi Alex, > > Thanks for your feedback. I see you did run "tcpdump -n -vv -i nflog:1" > which is equivalent to run uacctd without any filters; as you may know, > you can append a BPF-style filter

Re: [pmacct-discussion] Pmacct configuration with direction of traffic

2020-02-27 Thread Alex K
Thank you Paolo, I see I can use aggregation filters also. So I guess will find a way to implement what is needed without having a convoluted configuration file. cheers, Alex On Thu, Feb 27, 2020 at 12:24 PM Paolo Lucente wrote: > > Hi Alex, > > Ack. The other way you could &qu