Hi Jon,
the solution lies in Pre-Tagging; then making the plugin to accept the
tags; tags will discriminate data per router; see the fragments below:

nfacctd.conf:
===
...
pre_tag_map: /path/to/pretag.map
aggregate: tag,<whatever>
...
===

/path/to/pretag.map:
===
id=1000 ip=<Router 1>
id=1001 ip=<Router 2>
===

In case you would like to segregate data (seems not what you actually
want to do), then:

nfacctd.conf
===
...
pre_tag_map: /path/to/pretag.map
aggregate[router_1]: <optional tag>,<whatever>
aggregate[router_2]: <optional tag>,<whatever> 
pre_tag_filter[router_1]: 1000
pre_tag_filter[router_2]: 1001
...
===


Cheers,
Paolo

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

Reply via email to