I have fixed the problem the stats are now correct ... a miss configuration in zabbix ...

On 7/20/06, Gregory Machin < [EMAIL PROTECTED]> wrote:
Hi
I'm using zabbix to call pmacct to get the ip traffic statistics collected via pmacctd

with the following config...

!
! pmacct: In + Out
!
debug: false
daemonize: true
interface: tun0
plugin_buffer_size: 2048
plugin_pipe_size: 2048000
plugins: memory
aggregate: src_port,dst_port
imt_path: /tmp/traf.pipe
pidfile: /var/run/pmacctd.pid


and using the following to

pmacct -c src_port,dst_port -N "*,80;80,*" -S -p /tmp/traf.pipe -r
 to return the statistics to zabbix

Now the question is if I call the above command every second is the value returned in bits/second or bytes/second, and is the total of the incoming and out going value for that port ?

Many Thanks



--
Gregory Machin
[EMAIL PROTECTED]
www.linuxpro.co.za
_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists

Reply via email to