Paolo Lucente wrote:
> Hi Gert,
>
> On Mon, Sep 04, 2006 at 07:45:43PM +0200, Gert Burger wrote:
>
>   
>> This is where my problem lies, I can run pmacctd on tun0 because the 
>> traffic is NATted, so I cannot see where it comes from. And on dc0 I 
>> cannot see the bandwidth the server is using.
>>
>> Can I combine the data from two pmacctd processes or how can I achieve this?
>>     
>
> If i got the point, your idea would be to monitor the server on tun0
> (which probabily is not NATted) and the users on dc0. Is it? 
>
> Combining data from multiple pmacctd processes is quite easy done with
> SQL. Further, you can use either (pre-/post-) tagging to mark data coming
> from each process. Instead, using memory tables, each pmacctd instance
> need to use its own table. But still, you can make the client to fetch
> data from them, in a round-robin fashion, at regular intervals.
>
> Cheers,
> Paolo
>
> _______________________________________________
> pmacct-discussion mailing list
> http://www.pmacct.net/#mailinglists
>   
My tun0 is NAT'ed therefore I cannot determine where the traffic is 
coming from(local machine or local net).
Therefore I believe I should run 2 instances of pmacctd. But I am unsure 
how I can 'see' which traffic on tun0 is from the server or has been 
accounted for by the other instance running on my
NIC(dc0).

I will look into using tagging to achieve this.

Thank you
Gert Burger

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

Reply via email to