[MASOCH-L] Monitoramento de Banda

Rubens Kuhl Jr. rubensk at gmail.com
Mon Apr 11 18:59:25 -03 2005


Você pode usar o ipac-ng ao invés do mrtg:
http://sourceforge.net/projects/ipac-ng/

"IPAC-NG is the iptables/ipchains based IP accounting package for
Linux. It collects, summarizes, and nicely displays IP accounting
data. Ipchains and (preferably) iptables are supported. Logs are
stored in files, a gdbm or a PostgreSQL database."


Rubens



On Apr 11, 2005 6:01 PM, itamar <itamar at ispbrasil.com.br> wrote:
> iptables -L -v -n
> 
>  pkts bytes target     prot opt in     out     source               destination
> 97436   17M ACCEPT     all  --  *      *       0.0.0.0/0            XXX.XXX.XXX.232
>  101K   45M ACCEPT     all  --  *      *       XXX.XXX.XXX.232       0.0.0.0/0
>  8422  638K ACCEPT     all  --  *      *       0.0.0.0/0            XXX.XXX.XXX.233
>     0     0 ACCEPT     all  --  *      *       XXX.XXX.XXX.233       0.0.0.0/0
> 77201 8368K ACCEPT     all  --  *      *       0.0.0.0/0            XXX.XXX.XXX.234
> 40618 2848K ACCEPT     all  --  *      *       XXX.XXX.XXX.234       0.0.0.0/0
>  469K   57M ACCEPT     all  --  *      *       0.0.0.0/0            XXX.XXX.XXX.235
>  389K  214M ACCEPT     all  --  *      *       XXX.XXX.XXX.235       0.0.0.0/0
> 2677K  568M ACCEPT     all  --  *      *       0.0.0.0/0            XXX.XXX.XXX.236
> 2522K 1442M ACCEPT     all  --  *      *       XXX.XXX.XXX.236       0.0.0.0/0
>  639K   42M ACCEPT     all  --  *      *       0.0.0.0/0            XXX.XXX.XXX.237
>  124K   19M ACCEPT     all  --  *      *       XXX.XXX.XXX.237       0.0.0.0/0
> 36508 2905K ACCEPT     all  --  *      *       0.0.0.0/0            XXX.XXX.XXX.238
> 17782 2518K ACCEPT     all  --  *      *       XXX.XXX.XXX.238       0.0.0.0/0
>  7024  613K ACCEPT     all  --  *      *       0.0.0.0/0            XXX.XXX.XXX.239
>     0     0 ACCEPT     all  --  *      *       XXX.XXX.XXX.239       0.0.0.0/0
>   20M 1707M ACCEPT     all  --  *      *       0.0.0.0/0            XXX.XXX.XXX.72
>   23M   19G ACCEPT     all  --  *      *       XXX.XXX.XXX.72        0.0.0.0/0
>  2434  229K ACCEPT     all  --  *      *       0.0.0.0/0            XXX.XXX.XXX.73
>  2460  367K ACCEPT     all  --  *      *       XXX.XXX.XXX.73        0.0.0.0/0
> 17209 1385K ACCEPT     all  --  *      *       0.0.0.0/0            XXX.XXX.XXX.74
> 16920 1914K ACCEPT     all  --  *      *       XXX.XXX.XXX.74        0.0.0.0/0
> 22399 1711K ACCEPT     all  --  *      *       0.0.0.0/0            XXX.XXX.XXX.75
> 18525 3265K ACCEPT     all  --  *      *       XXX.XXX.XXX.75        0.0.0.0/0
> 3498K  412M ACCEPT     all  --  *      *       0.0.0.0/0            XXX.XXX.XXX.76
> 3633K 2374M ACCEPT     all  --  *      *       XXX.XXX.XXX.76        0.0.0.0/0
> 76853 5279K ACCEPT     all  --  *      *       0.0.0.0/0            XXX.XXX.XXX.77
> 31407 4757K ACCEPT     all  --  *      *       XXX.XXX.XXX.77        0.0.0.0/0
> 26759 5388K ACCEPT     all  --  *      *       0.0.0.0/0            XXX.XXX.XXX.78
> 26918 7920K ACCEPT     all  --  *      *       XXX.XXX.XXX.78        0.0.0.0/0
>  7712  887K ACCEPT     all  --  *      *       0.0.0.0/0            XXX.XXX.XXX.79
>  7225 1269K ACCEPT     all  --  *      *       XXX.XXX.XXX.79        0.0.0.0/0
> 3395K  771M ACCEPT     all  --  *      *       0.0.0.0/0            XXX.XXX.XXX.195
> 3387K 1746M ACCEPT     all  --  *      *       XXX.XXX.XXX.195       0.0.0.0/0
> 39869 2995K ACCEPT     all  --  *      *       0.0.0.0/0            XXX.XXX.XXX.196
> 33043 4664K ACCEPT     all  --  *      *       XXX.XXX.XXX.196       0.0.0.0/0
>  8825  833K ACCEPT     all  --  *      *       0.0.0.0/0            XXX.XXX.XXX.197
> 10148 1356K ACCEPT     all  --  *      *       XXX.XXX.XXX.197       0.0.0.0/0
>  599K  166M ACCEPT     all  --  *      *       0.0.0.0/0            XXX.XXX.XXX.198
>  739K  718M ACCEPT     all  --  *      *       XXX.XXX.XXX.198       0.0.0.0/0
> 
> Eu gostaria de pegar estes dados e jogar no mrtg
> 
> 
> Itamar Reis Peixoto
> +55 (34) 3238 3845
> e-mail : itamar at ispbrasil.com.br
> http://www.ispbrasil.com.br
> > ifgraph.sourceforge.net
> >
> __
> masoch-l list
> https://eng.registro.br/mailman/listinfo/masoch-l
>



More information about the masoch-l mailing list