Hi Franz, Are you interested in the pmacct server hostname or the IP address of the NetFlow/IPFIX/sFlow exporter? Would peer_src_ip, the IP address of the flow exporter do it? Or you are collecting via libpcap or NFLOG?
Paolo On Mon, Aug 21, 2017 at 05:23:34PM +0200, fboehm wrote: > Hi, > > we use pmacct to purge traffic data to a MySQL database for billing > purposes. We might need to run multiple pmacct instances to monitor > all relevant traffic. > > It would be most convenient for postprocessing if all pmacct > instances could write into the same SQL tables. For example by > adding an additional column with the hostname of the pmacct server. > > Unfortunately I only know how to assign a certain database or table > to each pmacct instance. But not how to modifiy the SQL schema to > support a hostname or other identifier. > > Kind regards, > Franz > > _______________________________________________ > pmacct-discussion mailing list > http://www.pmacct.net/#mailinglists _______________________________________________ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists
