Hi Johan,
On Thu, 2 Feb 2012, johan lotter wrote:
Yet when I configure and run with mysql plugin I get no data...
Does that mean that you get nothing in the database, or nothing graphed? I
notice that you mentioned pmgraph later, which is a different project
(that uses pmacct).
If you get nothing in the database, please check your /var/log/syslog and
/var/log/daemon files for messages from pmacct.
Created a file called nfacctd.conf
placed it in the same directory as pmacct.conf
edited as follows:
!
daemonize: true
plugins: mysql
aggregate: sum_host
pmgraph will not work if you aggregate on sum_host. It requires the
src_host, dst_host, src_port and dst_port fields at least. It may also get
confused by a recent change to pmacct (which I requested) to change the
names of the src_port and dst_port fields, as the pmgraph package may not
have been updated to account for that change.
You may find this presentation useful for a "known working" nfacct/pmgraph
configuration, especially page 52:
http://www.ws.afnog.org/afnog2010/bw-mgmt/
executed with nfacctd -f nfacctd.conf
enabled Netflow (Traffic-Flow on my router) and told it to send
traffic to IP address of listening NIC on port 5678
Yet pmgraph is not graphing anything
No firewall blocking inbound UDP traffic to port 5678?
Please also trim your posts to remove irrelevant information, especially
when replying to a digest that contains many emails completely unrelated
to the one that you're replying to.
Cheers, Chris.
--
Aptivate | http://www.aptivate.org | Phone: +44 1223 967838
The Humanitarian Centre, Fenner's, Gresham Road, Cambridge CB1 2ES
Aptivate is a not-for-profit company registered in England and Wales
with company number 04980791.
_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists