[LUGOS] Promet preko ppp0

Alesh Mustar alesh at domenca.com
Fri Apr 26 09:36:23 CEST 2002


Probaj z MRTG, uporabi mrtg-eth (glej freshmeat) in configu file:

# eth0
Title[sportina-eth0]: eth0 - Traffic statistics
MaxBytes[sportina-eth0]: 125000
AbsMax[sportina-eth0]: 125000
#Options[sportina-eth0]: gauge
Target[sportina-eth0]: `/usr/local/mrtg-2/bin/mrtg-eth.pl -d ppp0`
PageTop[sportina-eth0]: <H1>eth0 - Traffic statistics on sportina.si</H1>
YLegend[sportina-eth0]: Bytes/s
ShortLegend[sportina-eth0]: B/s
Legend1[sportina-eth0]: Incoming Traffic
Legend2[sportina-eth0]: Outgoing Traffic
Legend3[sportina-eth0]: Maximum Incoming Traffic
Legend4[sportina-eth0]: Maximum Outgoing Traffic
LegendI[sportina-eth0]: &nbsp;In:
LegendO[sportina-eth0]: &nbsp;Out:
WithPeak[sportina-eth0]: ymwd
RunAsDaemon: Yes

A.

On Thu, 25 Apr 2002, Matej "LeVaK" Zerovnik wrote:

> Doma imam adsl in rad bi meril koliko prometa naredim cez njega. Iskal se=
m ze=20
> programe, a mi nobeden ni ustrezal. NTop in podobni so prevec ker me ne=
=20
> zanima poraba glede na porte in protokole, ampak samo koliko kb gre notri=
 in=20
> koliko ven. Lepo bi bilo, ce bi program imel tudi neko bazo kjer bi se vs=
e=20
> skupaj shranjevalo, najbolse bi bilo ce bi delal z mysql.
>=20
> Trenutno imam doma netacct, ki mi ne dela ker ne znam dolocit nekih offse=
tov.
>=20
> # Defines where the real data starts for each type of interface
> # First give the name prefix, then the offset in bytes to the start
> # of the real data, then the offset of the type field in bytes. If
> # there is no type field, just give a 0.
> headers eth     14      12
> headers plip    14      12
> (ce bi kdo vedel vrednosti bi prosil da mi jih pove. Rabim headerse za pp=
p0=20
> device)
>=20
> Drugi program, ki bi lahko vstrezal pa se mi ne prevede:
>=20
> make[1]: Entering directory `/home/levak/mrta-0.17.6/conflib'
> bison -y -d -b cfg_file cfg_file.y
> cfg_file.y:60: warning: previous rule lacks an ending `;'
> cfg_file.y:136: warning: previous rule lacks an ending `;'
> conflicts:
> expected 18 shift/reduce conflicts
> make[1]: *** [cfg_file.tab.o] Error 1
> make[1]: Leaving directory `/home/levak/mrta-0.17.6/conflib'
> make: *** [all] Error 1
> levak at element:~/mrta-0.17.6 >
>=20
> Tako da nobeden od teh ne dela in me zanima, ce kdo pozna kak=B9no delujo=
=E8o=20
> alternativo oz =E8e mi lahko pomaga re=B9it kak=B9nega od tehdveh problem=
ov.
>=20
> hvala.
>=20
> LeVaK
>=20




More information about the lugos-list mailing list