Registreer FAQ Berichten van vandaag


Ga terug   Scholieren.com forum / Technologie / Software & Hardware
Reageren
 
Topictools Zoek in deze topic
Oud 12-03-2003, 23:02
dd666
dd666 is offline
Titel is misschien niet zo duidelijk, maar ik zoek een stukje software waarmee ik kan meten hoeveel data er door mijn computertje het internet op gaat. Ik wil binnenkort namelijk graag colocated gaan, en een schatting van de datatransfer die ik dan ga moeten betalen zou van te voren wel handig zijn...

Kent iemand misschien zo'n stukje software?

Alvast bedankt!
DD - Thei
Met citaat reageren
Advertentie
Oud 12-03-2003, 23:03
Wasp
Avatar van Wasp
Wasp is offline
Windows/Linux?
__________________
Ex fb-er van Drugs & Alcohol. Dajjetffweet!
Met citaat reageren
Oud 12-03-2003, 23:48
Enlightenment
Avatar van Enlightenment
Enlightenment is offline
UNIX kun je gewoon bij ipfw zien hoeveel traffic je genereert. Of MRTG voor mooie grafiekjes.

Voor Windows weet ik niet, maar zal ook wel genoeg utilities voor zijn.
__________________
Per undas adversas (tegen de stroom in)
Met citaat reageren
Oud 13-03-2003, 05:21
bam
Avatar van bam
bam is offline
www.dumeter.com
__________________
Ik ben nieuw
Met citaat reageren
Oud 13-03-2003, 05:36
AJMouse
Avatar van AJMouse
AJMouse is offline
die heb ik! Du meter is super. Houdt bij per dag, totaal, per week, per maand, upload, download, beide. Je kunt ten allertijde een grafiekje erbij oproepen.

Als je die niet download en je kunt geen keygen vinden die niet bestaat, dan heb ik die wel niet voor je. Dan moet je ff geen prive msg sturen of geen mailtje.
__________________
Há lekker, appeltaart!
Met citaat reageren
Oud 13-03-2003, 05:53
Enlightenment
Avatar van Enlightenment
Enlightenment is offline
DU meter idd.
__________________
Per undas adversas (tegen de stroom in)
Met citaat reageren
Oud 13-03-2003, 10:11
bam
Avatar van bam
bam is offline
EN je kan het exporteren in txt bestanden of in een exel bestandje

laat een geluidje horen als je over ingesteld dataverkeer heen gaat en nog veel meer
__________________
Ik ben nieuw
Met citaat reageren
Oud 13-03-2003, 11:52
Orion
Avatar van Orion
Orion is offline
Citaat:
Enlightenment schreef op 13-03-2003 @ 00:48:
UNIX MRTG voor mooie grafiekjes.
MRTG is gaaf!

http://elytis.student.utwente.nl/mrtg/host-eth1.html
__________________
Ongefilterd. Van nature troebel.
Met citaat reageren
Oud 13-03-2003, 11:55
Enlightenment
Avatar van Enlightenment
Enlightenment is offline
Citaat:
Orion schreef op 13-03-2003 @ 12:52:
MRTG is gaaf!

http://elytis.student.utwente.nl/mrtg/host-eth1.html
Yep

Trouwens, max out 5MB/s?! Zeker ook je LAN erbij dan. Want zo'n verbinding zou wel zijn. Ik wil ook 100Mbit symmetrisch internet.
__________________
Per undas adversas (tegen de stroom in)
Met citaat reageren
Oud 13-03-2003, 12:01
Orion
Avatar van Orion
Orion is offline
Citaat:
Enlightenment schreef op 13-03-2003 @ 12:55:
Yep

Trouwens, max out 5MB/s?! Zeker ook je LAN erbij dan. Want zo'n verbinding zou wel zijn. Ik wil ook 100Mbit symmetrisch internet.
Euh nee.. das de verbinding met het internet (SURFNet)..

kan zelfs nog sneller: Max Out: 6994.5 kB/s (69.9%) (yearly graph)


Interne LAN gaat nog iets harder, want dat is 100 mbit FULL duplex, en de internetverbinding 100 mbit HALF duplex.
__________________
Ongefilterd. Van nature troebel.
Met citaat reageren
Oud 13-03-2003, 12:02
Enlightenment
Avatar van Enlightenment
Enlightenment is offline
Citaat:
Orion schreef op 13-03-2003 @ 13:01:
Euh nee.. das de verbinding met het internet (SURFNet)..

kan zelfs nog sneller: Max Out: 6994.5 kB/s (69.9%) (yearly graph)


Interne LAN gaat nog iets harder, want dat is 100 mbit FULL duplex, en de internetverbinding 100 mbit HALF duplex.
OMG, dus jij hebt 100Mbit upstream naar internet?

Mag ik vast wel klein UNIX servertje bij je plaatsen.. toch?!
__________________
Per undas adversas (tegen de stroom in)
Met citaat reageren
Oud 13-03-2003, 12:06
dd666
dd666 is offline
Jow! Da's een leuk progje!

Volgens mij is het wel wat ik zoek...
Ik viel al achterover van de datatransfer na een dag! Dat wordt nog een duur grapje...

Gr33tz en bedankt,
DD - Thei
Met citaat reageren
Oud 13-03-2003, 12:07
Orion
Avatar van Orion
Orion is offline
Citaat:
Enlightenment schreef op 13-03-2003 @ 13:02:
OMG, dus jij hebt 100Mbit upstream naar internet?

Mag ik vast wel klein UNIX servertje bij je plaatsen.. toch?!
Ja, dat wil iedereen wel

hangt nu ook al een servertje aan, binnenkort 160 GB aan leuke spulletjes erop..


Je kunt natuurlijk ook overwegen aan de UTwente te gaan studeren
__________________
Ongefilterd. Van nature troebel.
Met citaat reageren
Oud 13-03-2003, 12:14
Enlightenment
Avatar van Enlightenment
Enlightenment is offline
Offtopic: Studeren heb ik even gehad.

Heb je dan wel een datalimiet? Of mag je uppen zoveel je wilt? En eigen servers draaien mag ook? *kwijl*
__________________
Per undas adversas (tegen de stroom in)
Met citaat reageren
Oud 13-03-2003, 12:21
Orion
Avatar van Orion
Orion is offline
Citaat:
Enlightenment schreef op 13-03-2003 @ 13:14:
Offtopic: Studeren heb ik even gehad.

Heb je dan wel een datalimiet? Of mag je uppen zoveel je wilt? En eigen servers draaien mag ook? *kwijl*
Offtopic:
Citaat:
Er zijn drie hoofdregels die voor alle Campusnet-gebruikers gelden:

Inkomend verkeer (naar de gebruiker toe): maximaal 50 gigabyte per week.
Uitgaand verkeer naar UTnet toe: maximaal 150 gigabyte per week.
Uitgaand verkeer naar de buitenwereld toe: maximaal 15 gigabyte per week.
Maarrr, sinds de brand kan dit tijdelijk niet goed bijgehouden worden en is het dus eigenlijk onbeperkt

Citaat:
Volgend uit dit verhaal en andere punten uit je gebruikersovereenkomst zijn er een aantal dingen die echt niet kunnen: commerciële activiteiten, het draaien van een primary nameserver die 130.89.x.x afbeeld op een naam anders dan *.utwente.nl, het veroorzaken van dusdanig veel verkeer dat basisdiensten als e-mail niet meer naar behoren kunnen functioneren.

bron: http://www.snt.utwente.nl
__________________
Ongefilterd. Van nature troebel.
Met citaat reageren
Oud 13-03-2003, 14:18
dystopia
dystopia is offline
Ah wat flauw je mag geen primary nameserver draaien

https://dystopia.nl da's mijn MRTG (gave uptime heh!! )
__________________
The surest way to corrupt a youth is to instruct him to hold in higher esteem those who think alike than those who think differently - Steve Jobs
Met citaat reageren
Oud 13-03-2003, 16:01
Enlightenment
Avatar van Enlightenment
Enlightenment is offline
Offtopic: Ligt het aan mij of zie ik nergens de uptime op je site?
__________________
Per undas adversas (tegen de stroom in)
Met citaat reageren
Oud 13-03-2003, 16:28
Orion
Avatar van Orion
Orion is offline
Citaat:
dystopia schreef op 13-03-2003 @ 15:18:
Ah wat flauw je mag geen primary nameserver draaien

https://dystopia.nl da's mijn MRTG (gave uptime heh!! )
wel gaaf!! ik zie de uptime alleen ook niet


zou je de mrtg configfiles die je hiervoor gebruikt 's willen posten/mailen? ziet er cool uit
__________________
Ongefilterd. Van nature troebel.
Met citaat reageren
Oud 13-03-2003, 16:41
dystopia
dystopia is offline
Citaat:
Orion schreef op 13-03-2003 @ 17:28:
wel gaaf!! ik zie de uptime alleen ook niet


zou je de mrtg configfiles die je hiervoor gebruikt 's willen posten/mailen? ziet er cool uit
Moet je ergens op klikken

index heb ik gemaakt met indexmaker en daarna aangepast. Dus gewoon view source doen

MRTG basic met mrtg-ping-probe (zie Freshmeat). Draait als daemon vanuit /etc/rc.local aangeroepen.
mrtg.cfg:

Code:
# Created by
# /usr/local/bin/cfgmaker public@localhost

### Global Config Options

#  for UNIX
WorkDir: /var/www/htdocs
Imagedir: /var/www/htdocs/images
LogDir: /var/www/logs
WriteExpires: Yes
Language: dutch
RunAsDaemon:Yes
Interval:5

### Global Defaults

#  to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits


######################################################################
# System: gaia
# Description: OpenBSD gaia 3.2 GAIA#0 i386
# Contact: default@
# Location: Default Location
######################################################################

Target[dystopia.nl.tijd]: `/usr/local/bin/mrtg-ping-probe -t 42 -k 3 194.109.6.11`
MaxBytes[dystopia.nl.tijd]: 5000
AbsMax[dystopia.nl.tijd]: 10000
Title[dystopia.nl.tijd]: dystopia.nl: ne0
PageTop[dystopia.nl.tijd]: <H1>Ping tijd tussen dystopia.nl en ping.xs4all.nl</H1>
        <P>Resultaat:
Options[dystopia.nl.tijd]: gauge
YLegend[dystopia.nl.tijd]: Round Trip Time
ShortLegend[dystopia.nl.tijd]: ms
Legend1[dystopia.nl.tijd]: Maximum Round Trip Time in Milli Second
Legend2[dystopia.nl.tijd]: Minimum Round Trip Time in Milli Second
Legend3[dystopia.nl.tijd]: Maximal 5 Minute Maximum Round Trip Time
Legend4[dystopia.nl.tijd]: Maximal 5 Minute Minimum Round Trip Time
LegendI[dystopia.nl.tijd]: &nbsp;Max:
LegendO[dystopia.nl.tijd]: &nbsp;Min:
WithPeak[dystopia.nl.tijd]: ymwd

Target[dystopia.nl.loss]: `/usr/local/bin/mrtg-ping-probe -t 42 -k 3 -p loss/loss 194.109.6.11`
MaxBytes[dystopia.nl.loss]: 100
AbsMax[dystopia.nl.loss]: 101
Title[dystopia.nl.loss]: dystopia.nl: eth0
PageTop[dystopia.nl.loss]: <H1>Packet loss tussen dystopia.nl en ping.xs4all.nl</H1>
Options[dystopia.nl.loss]: gauge
WithPeak[dystopia.nl.loss]: ymwd
Unscaled[dystopia.nl.loss]: dwmy
YLegend[dystopia.nl.loss]: % Packet Loss
ShortLegend[dystopia.nl.loss]: %
Legend1[dystopia.nl.loss]: % Packet Loss
Legend2[dystopia.nl.loss]: % Packet Loss
Legend3[dystopia.nl.loss]: Maximal 5 Minute % Packet Loss
Legend4[dystopia.nl.loss]: Maximal 5 Minute % Packet Loss
LegendI[dystopia.nl.loss]: &nbsp;% loss:
LegendO[dystopia.nl.loss]: &nbsp;% loss:

Target[dystopia.nl]: 3:public@localhost:
SetEnv[dystopia.nl]: MRTG_INT_IP="213.84.111.64" MRTG_INT_DESCR="ne0"
MaxBytes[dystopia.nl]: 192000
Title[dystopia.nl]: dystopia.nl: ne0
PageTop[dystopia.nl]: <H1>Dataverkeer analyse voor ne0 @ gaia</H1>
 <TABLE>
   <TR><TD>Systeem:</TD>     <TD>dystopia.nl - ADSL - Landgraaf/Netherlands</TD></TR>
   <TR><TD>Beheerder:</TD> <TD><A HREF="mailto:admin@">dystopia</A></TD></TR>
   <TR><TD>Interface:</TD><TD>ne0</TD></TR>
   <TR><TD>Max downstream snelheid:</TD>  <TD>192 kBytes/s</TD></TR>
   <TR><TD>Max upstream snelheid:</TD>  <TD>32 kBytes/s</TD></TR>
   <TR><TD>Totaal dataverkeer:</TD> <TD><A HREF="traffic.php">berekenen</A></TD></TR>
   <TR><TD>IPv4:</TD>         <TD>213.84.111.64 (dystopia.nl), 213.84.111.65 (dystopia.nl.eu.org), 213.84.111.66 (dystopia.sbin.de), 213.84.1
11.67 (freeshell.nl)</TD></TR>
   <TR><TD>IPv6:</TD>         <TD>2001:888:10:6F:0:0:0:2 (tunnel111.ipv6.xs4all.nl), </TD></TR>
 </TABLE>

Target[gaius.dystopia.nl]: 5:public@localhost:
SetEnv[gaius.dystopia.nl]: MRTG_INT_IP="192.168.1.99" MRTG_INT_DESCR="ne1"
MaxBytes[gaius.dystopia.nl]: 1250000
Title[gaius.dystopia.nl]: gaius.dystopia.nl: ne1
PageTop[gaius.dystopia.nl]: <H1>Dataverkeer analyse voor ne1 @ gaius</H1>
 <TABLE>
   <TR><TD>Systeem:</TD>     <TD>gaius.dystopia.nl - LAN - Landgraaf/Netherlands</TD></TR>
   <TR><TD>Beheerder:</TD> <TD><A HREF="mailto:admin@">dystopia</A></TD></TR>
   <TR><TD>Description:</TD><TD>ne1</TD></TR>
   <TR><TD>Max Snelheid:</TD>  <TD>10 MBytes/s</TD></TR>
   <TR><TD>IPv4:</TD>         <TD>192.168.1.99 (gaius.dystopia.nl)</TD></TR>
 </TABLE>


Target[gaia.dystopia.nl]: 4:public@localhost:
SetEnv[gaia.dystopia.nl]: MRTG_INT_IP="192.168.0.99" MRTG_INT_DESCR="rl0"
MaxBytes[gaia.dystopia.nl]: 12500000
Title[gaia.dystopia.nl]: gaia.dystopia.nl: rl0
PageTop[gaia.dystopia.nl]: <H1>Dataverkeer analyse voor rl0 @ gaia</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>gaia.dystopia.nl - LAN - Landgraaf/Netherlands</TD></TR>
   <TR><TD>Beheerder:</TD> <TD><A HREF="mailto:admin@">dystopia</A></TD></TR>
   <TR><TD>Interface:</TD><TD>rl0</TD></TR>
   <TR><TD>Max snelheid:</TD>  <TD>10 MBytes/s</TD></TR>
   <TR><TD>IPv4:</TD>         <TD>192.168.0.99 (gaia.dystopia.nl)</TD></TR>
 </TABLE>

Target[selene.dystopia.nl]: 2:public@selene:
SetEnv[selene.dystopia.nl]: MRTG_INT_IP="192.168.0.66" MRTG_INT_DESCR="eth0"
MaxBytes[selene.dystopia.nl]: 12500000
Title[selene.dystopia.nl]: selene.dystopia.nl: eth0
PageTop[selene.dystopia.nl]: <H1>Dataverkeer analyse voor eth0 @ selene</H1>
 <TABLE>
   <TR><TD>Systeem:</TD>     <TD>selene.dystopia.nl - LAN - Landgraaf/Netherlands</TD></TR>
   <TR><TD>Beheerder:</TD> <TD><A HREF="mailto:admin@">dystopia</A></TD></TR>
   <TR><TD>Interface:</TD><TD>eth0</TD></TR>
   <TR><TD>Max snelheid:</TD>  <TD>10 MBytes/s</TD></TR>
   <TR><TD>IPv4:</TD>         <TD>192.168.0.66 (selene.dystopia.nl)</TD></TR>
   <TR><TD>IPv6:</TD>         <TD>2001:888:106f:0:204:76ff:fe17:eef9</TD></TR>
 </TABLE>

Target[icarus.dystopia.nl]: 2:public@icarus:
SetEnv[icarus.dystopia.nl]: MRTG_INT_IP="192.168.0.33" MRTG_INT_DESCR="eth0"
MaxBytes[icarus.dystopia.nl]: 12500000
Title[icarus.dystopia.nl]: icarus.dystopia.nl: eth0
PageTop[icarus.dystopia.nl]: <H1>Dataverkeer analyse voor eth0 @ icarus</H1>
 <TABLE>
   <TR><TD>Systeem:</TD>     <TD>icarus.dystopia.nl - LAN - Landgraaf/Netherlands</TD></TR>
   <TR><TD>Beheerder:</TD> <TD><A HREF="mailto:admin@">dystopia</A></TD></TR>
   <TR><TD>Interface:</TD><TD>eth0</TD></TR>
   <TR><TD>Max snelheid:</TD>  <TD>10 MBytes/s</TD></TR>
   <TR><TD>IPv4:</TD>         <TD>192.168.0.33 (icarus.dystopia.nl)</TD></TR>
 </TABLE>

#Target[hades.dystopia.nl]: 50331652:public@hades:
#SetEnv[hades.dystopia.nl]: MRTG_INT_IP="192.168.0.11" MRTG_INT_DESCR="eth0"
#MaxBytes[hades.dystopia.nl]: 12500000
#Title[hades.dystopia.nl]: hades.dystopia.nl: eth0
#PageTop[hades.dystopia.nl]: <H1>Dataverkeer analyse voor eth0 @ hades</H1>
# <TABLE>
#   <TR><TD>Systeem:</TD>     <TD>hades.dystopia.nl - LAN - Landgraaf/Netherlands</TD></TR>
#   <TR><TD>Maintainer:</TD> <TD><A HREF="mailto:admin@">dystopia</A></TD></TR>
#   <TR><TD>Interface:</TD><TD>eth0</TD></TR>
#   <TR><TD>Max Snelheid:</TD>  <TD>10 MBytes/s</TD></TR>
#   <TR><TD>IP:</TD>         <TD>192.168.0.11 (hades.dystopia.nl)</TD></TR>
# </TABLE>
qmail-mrtg. Zie Freshmeat.
mrtg.qmail.cfg

Code:
Imagedir: /var/www/htdocs/images
WorkDir: /var/www/htdocs
LogDir: /var/www/logs
WriteExpires: Yes
Language: dutch

Title[msg]: dystopia.nl - Messages
MaxBytes[msg]: 10000
AbsMax[msg]: 20000
Options[msg]: gauge
Target[msg]: `/usr/local/bin/qmailmrtg7 m /var/log/qmail/send`
PageTop[msg]: <B>dystopia.nl messages</B><br>
ShortLegend[msg]: msg
YLegend[msg]: msg
Legend1[msg]: Total Msg
LegendI[msg]: &nbsp;Deliveries:
LegendO[msg]: &nbsp;Attempts:
WithPeak[msg]: ymwd

Title[queue-size]: dystopia.nl - queue Size
MaxBytes[queue-size]: 10000
AbsMax[queue-size]: 100000
Options[queue-size]: gauge
Target[queue-size]: `/usr/local/bin/qmailmrtg7 q /var/qmail/queue`
PageTop[queue-size]: <B>dystopia.nl Queue Size</B><br>
ShortLegend[queue-size]: Msg
YLegend[queue-size]: Msg
Legend1[queue-size]: Msg
LegendI[queue-size]: &nbsp;Msg:
LegendO[queue-size]: &nbsp;Unprocessed Msg:
WithPeak[queue-size]: ymwd

Title[concurrency]: dystopia.nl - Local/Remote Concurrency
MaxBytes[concurrency]: 500
AbsMax[concurrency]: 10000
Options[concurrency]: gauge
Target[concurrency]: `/usr/local/bin/qmailmrtg7 c /var/log/qmail/send`
PageTop[concurrency]: <B>dystopia.nl - Local/Remote Concurrency</B><br>
ShortLegend[concurrency]: Concurrency
YLegend[concurrency]: Concurrency
Legend1[concurrency]: Concurrency
LegendI[concurrency]: &nbsp;Local:
LegendO[concurrency]: &nbsp;Remote:
WithPeak[concurrency]: ymwd

Title[messstatus]: dystopia.nl - Message Status
MaxBytes[messstatus]: 10000
AbsMax[messstatus]: 100000
Options[messstatus]: gauge
Target[messstatus]: `/usr/local/bin/qmailmrtg7 s /var/log/qmail/send`
PageTop[messstatus]: <B>dystopia.nl - Message Status</B><BR>
ShortLegend[messstatus]: Msg
YLegend[messstatus]: Msg
Legend1[messstatus]: Msg
LegendI[messstatus]: &nbsp;Success:
LegendO[messstatus]: &nbsp;Failures:
WithPeak[messstatus]: ymwd

Title[bytes]: dystopia.nl - Bytes Transfered
MaxBytes[bytes]: 200000
AbsMax[bytes]: 10000000
Options[bytes]: gauge
Target[bytes]: `/usr/local/bin/qmailmrtg7 b /var/log/qmail/send`
PageTop[bytes]: <B>dystopia.nl - Bytes Transfered</B><br>
ShortLegend[bytes]: kB
YLegend[bytes]: kB
Legend1[bytes]: kB
LegendI[bytes]: &nbsp;kB:
LegendO[bytes]: &nbsp;kB:
WithPeak[bytes]: ymwd

Title[smtp]: dystopia.nl - SMTP Concurrency
MaxBytes[smtp]: 100
AbsMax[smtp]: 500
Options[smtp]: gauge
Target[smtp]: `/usr/local/bin/qmailmrtg7 t /var/log/qmail/smtpd`
PageTop[smtp]: <B>dystopia.nl - SMTP Concurrency</B><BR>
ShortLegend[smtp]: SMTP
YLegend[smtp]: SMTP
Legend1[smtp]: SMTP
LegendI[smtp]: &nbsp;SMTP:
LegendO[smtp]:
WithPeak[smtp]: ymwd

Title[smtpad]: dystopia.nl - SMTP Totals
MaxBytes[smtpad]: 1000
AbsMax[smtpad]: 10000
Options[smtpad]: gauge
Target[smtpad]: `/usr/local/bin/qmailmrtg7 a /var/log/qmail/smtpd`
PageTop[smtpad]: <B>dystopia.nl - SMTP Totals</B><BR>
ShortLegend[smtpad]: SMTP
YLegend[smtpad]: SMTP
Legend1[smtpad]: SMTP
LegendI[smtpad]: &nbsp;Allow:
LegendO[smtpad]: &nbsp;Deny:
WithPeak[smtpad]: ymwd

Title[pop3]: dystopia.nl - POP3 Concurrency
MaxBytes[pop3]: 100
AbsMax[pop3]: 500
Options[pop3]: gauge
Target[pop3]: `/usr/local/bin/qmailmrtg7 t /var/log/qmail/pop3d`
PageTop[pop3]: <B>dystopia.nl POP3 Concurrency</B><BR>
ShortLegend[pop3]: POP3
YLegend[pop3]: POP3
Legend1[pop3]: POP3
LegendI[pop3]: &nbsp;POP3:
LegendO[pop3]:
WithPeak[pop3]: ymwd

Title[pop3ad]: dystopia.nl - POP3 Totals
MaxBytes[pop3ad]: 1000
AbsMax[pop3ad]: 10000
Options[pop3ad]: gauge
Target[pop3ad]: `/usr/local/bin/qmailmrtg7 a /var/log/qmail/pop3d`
PageTop[pop3ad]: <B>dystopia.nl - POP3 Totals</B><BR>
ShortLegend[pop3ad]: POP3
YLegend[pop3ad]: POP3
Legend1[pop3ad]: POP3
LegendI[pop3ad]: &nbsp;Allow:
LegendO[pop3ad]: &nbsp;Deny:
WithPeak[pop3ad]: ymwd
pfstat, status van PF, voor OS met PF als firewall

pfstat.conf:

Code:
image "/var/www/htdocs/pfstat.jpg" {
        from 1 weeks to now
        width 960 height 300
        left
                graph bytes_v4_in       label "incoming" color 0 192 0 filled,
                graph bytes_v4_out      label "outgoing" color 0 0 255
        right
                graph states_searches   label "states searches" color 192 192 0
}
image "/var/www/htdocs/pfstat1.jpg" {
        from 1 days to now
        width 960 height 300
        left
                graph bytes_v4_in       label "incoming" color 0 192 0 filled,
                graph bytes_v4_out      label "outgoing" color 0 0 255
        right
                graph states_entries    label "states" color 255 0 0
}
image "/var/www/htdocs/pfstat1-small.jpg" {
        from 1 days to now
        width 320 height 200
        left
                graph bytes_v4_in       label "incoming" color 0 192 0 filled,
                graph bytes_v4_out      label "outgoing" color 0 0 255
        right
                graph states_entries    label "states" color 255 0 0
}
image "/var/www/htdocs/pfstat2.jpg" {
        from 1 days to now
        width 960 height 300
        left
                graph packets_v4_in_pass  label "pass in"   color 0 192 0 filled,
                graph packets_v4_out_pass label "pass out"  color 0 0 255
        right
                graph packets_v4_in_drop  label "block in"  color 255 0 0,
                graph packets_v4_out_drop label "block out" color 192 192 0
}
image "/var/www/htdocs/pfstat2-small.jpg" {
        from 1 days to now
        width 320 height 200
        left
                graph packets_v4_in_pass  label "pass in"   color 0 192 0 filled,
                graph packets_v4_out_pass label "pass out"  color 0 0 255
        right
                graph packets_v4_in_drop  label "block in"  color 255 0 0,
                graph packets_v4_out_drop label "block out" color 192 192 0
}
image "/var/www/htdocs/pfstat3.jpg" {
        from 1 days to now
        width 960 height 300
        left
                graph states_inserts  label "inserts"  color 0 192 0 filled,
                graph states_removals label "removals"  color 0 0 255
        right
                graph states_searches label "searches"   color 255 0 0
}
image "/var/www/htdocs/pfstat3-small.jpg" {
        from 1 days to now
        width 320 height 200
        left
                graph states_inserts  label "inserts"  color 0 192 0 filled,
                graph states_removals label "removals"  color 0 0 255
        right
                graph states_searches label "searches"   color 255 0 0
}
crontab -l

Code:
*/5 * * * * /usr/local/bin/mrtg /etc/mrtg.qmail.cfg >/dev/null 2>&1
* * * * * /usr/local/bin/pfstat -q >>/var/log/pfstat
1 1 * * 1 tail -n 50000 /var/log/pfstat >/tmp/pfstat && mv /tmp/pfstat /var/log/pfstat
* * * * * /command/envdir /etc/relay-ctrl /usr/local/bin/relay-ctrl-age >/dev/null 2>&1
*/5 * * * * /usr/local/bin/pfstat -c /etc/pfstat.conf -d /var/log/pfstat >/dev/null
Laten we het erop houden dat niet alles 100% klopt, okay? het draait momenteel ook niet. Al die stats kosten nogal wat voor een 200 mHz bakje. Anyways, MRTG draait ook oor Windows en dit draait ook wel voor Linux maar dan kun je dat firewall stats gedoe niet gebruiken. Ik moet er nog CPU info, HDD info, OpenLDAP, MySQL, Apache en PureFTPd info bij plempen.. ooit
__________________
The surest way to corrupt a youth is to instruct him to hold in higher esteem those who think alike than those who think differently - Steve Jobs
Met citaat reageren
Advertentie
Reageren


Regels voor berichten
Je mag geen nieuwe topics starten
Je mag niet reageren op berichten
Je mag geen bijlagen versturen
Je mag niet je berichten bewerken

BB code is Aan
Smileys zijn Aan
[IMG]-code is Aan
HTML-code is Uit

Spring naar


Alle tijden zijn GMT +1. Het is nu 20:31.