Sisyphus
: 18 2019 | : 17444 | : 15115571
en ru br
ALT
S:0.1.8-alt2.2.qa1
5.1: 0.1.8-alt2
4.1: 0.1.8-alt2
4.0: 0.1.8-alt1.M40.1
www.altlinux.org/Changes

::
: cban

                   Gear   Bugs and FR  Repocop 

1.  MRTG
2. cban
3. mrtg ( /etc/mrtg/), (WorkDir: /var/www/html/mrtg), .

WorkDir: /var/www/html/mrtg

# to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits
Refresh: 300
Interval: 5
WriteExpires: Yes
IconDir: images/
# LogFormat: rrdtool
RunAsDaemon: Yes
Language: russian
Background[_]: #FFFFC0

# eth0

Title[eth0]: Traffic eth0
MaxBytes[eth0]: 12500000
AbsMax[eth0]: 12500000
Options[eth0]: gauge, nobanner
Target[eth0]: `/usr/sbin/cban -i eth0 -m`
PageTop[eth0]: <H1>eth0 statistics</H1>
YLegend[eth0]: Bytes/s
ShortLegend[eth0]: B/s
Legend1[eth0]: Incoming Traffic
Legend2[eth0]: Outgoing Traffic
Legend3[eth0]: Maximum Incoming Traffic
Legend4[eth0]: Maximum Outgoing Traffic
LegendI[eth0]: &nbsp;In:
LegendO[eth0]: &nbsp;Out:
WithPeak[eth0]: ymwd

############################

4. /etc/cron.d/mrtg . 0-59/5 * * * * root /usr/bin/mrtg /etc/mrtg/sample-mrtg.cfg
5. /usr/bin/mrtg /etc/mrtg/sample-mrtg.cfg --logging /var/log/mrtg.log
6. http://localhost/mrtg/eth0.html .

.
 
: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
: Michael Shigorin