Apparently you CAN do "networks_file[nets]"!

Problem solved. ;)


Beau.


Beau Gunderson wrote:
To get per-host statistics and per-net statistics without filtering out internet hosts do I have to run two nfacctd processes (one with a networks_file line and one without)? If so is it necessary to use something like UDP samplicator to split the traffic to different ports each nfacctd process would run at?

I would love to be able to specify something like networks_file[nets] instead of a global networks_file. :)


Below is the current configuration but it filters out internet hosts at present.


nfacctd_port: 12345
nfacctd_ip: 192.168.25.75

aggregate[hosts]: src_host,dst_host,src_mac,dst_mac,src_port,dst_port,proto
imt_path[hosts]: /tmp/nfacctd/hosts.pipe

aggregate[networks]: src_net,dst_net,src_port,dst_port,proto
imt_path[networks]: /tmp/nfacctd/nets.pipe

networks_file: /usr/local/etc/networks.def

plugins: memory[hosts], memory[networks]

plugin_pipe_size: 10240000
plugin_buffer_size: 10240
_______________________________________________
pmacct-discussion mailing list
[email protected]
http://muffin.area.ba.cnr.it/mailman/listinfo/pmacct-discussion

Reply via email to