| Advertentie | |
|
|
|
|
|
||
|
Citaat:
http://elytis.student.utwente.nl/mrtg/host-eth1.html
__________________
Ongefilterd. Van nature troebel.
|
||
|
|
||
|
Citaat:
![]() 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)
|
||
|
|
||
|
Citaat:
![]() Mag ik vast wel klein UNIX servertje bij je plaatsen.. toch?!
__________________
Per undas adversas (tegen de stroom in)
|
||
|
|
||
|
Citaat:
![]() 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.
|
||
|
|
||||
|
Citaat:
Citaat:
![]() Citaat:
bron: http://www.snt.utwente.nl
__________________
Ongefilterd. Van nature troebel.
|
||||
|
|
|
|
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
|
|
|
|
||
|
Citaat:
zou je de mrtg configfiles die je hiervoor gebruikt 's willen posten/mailen? ziet er cool uit
__________________
Ongefilterd. Van nature troebel.
|
||
|
|
||
|
Citaat:
![]() 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]: Max:
LegendO[dystopia.nl.tijd]: 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]: % loss:
LegendO[dystopia.nl.loss]: % 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>
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]: Deliveries: LegendO[msg]: 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]: Msg: LegendO[queue-size]: 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]: Local: LegendO[concurrency]: 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]: Success: LegendO[messstatus]: 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]: kB: LegendO[bytes]: 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]: 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]: Allow: LegendO[smtpad]: 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]: 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]: Allow: LegendO[pop3ad]: Deny: WithPeak[pop3ad]: ymwd 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
}
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 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
|
||
| Advertentie |
|
|
![]() |
| Topictools | Zoek in deze topic |
|
|