Dear Paolo,

> Your probe config is fine. Though, you are missing a few bits inside the
> collector config, preventing to work it as intended. These are the bits:
> 
> - 'aggregate' directives need to explicitely include the 'tag' primitive,
>   in order to give value to the 'agent_id' field. 
> 
> - you need to match engine_id/engine_type fields inside NetFlow datagrams
>   and get a 'tag'. In order to do this, you have to add a line similar to
>   the following one: 'pre_tag_map: /path/to/pretag.map' and fill such file
>   like: 'id=1000 ip=<probe's IP address> engine_id=1 engine_type=0'.
> 
> Then, getting a look to your memory/sql tables, you will happily find such
> '1000' value in your 'agent_id' field. examples/pretag.map.example in the
> distribution tarball gives a comprehensive overview about Pre-Tagging. You
> can also get a look to the 'pre_tag_map' description in CONFIG-KEYS.

thanks for you answer. After posting to the list I've also checked the 
pre_tag map and did it like this:
id=100 ip=x.x.x.x
id=101 ip=y.y.y.y

Your advice is definitely better than mine and I'll switch over.
Now it's time to play around with MRTG and the memory plugin :)

Thanks,
Michael

_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists

Reply via email to