Hej, er der nogen som kan hjælpe mig med at konfigurere MRTG til Debian, jeg har selv prøvet med min cfg fil, men det virker ikke rigtigt.
Jeg ville gerne ha vist:
CPU Usage
Memory Usage
Inbound / Outbound Email Per Hour
og Serverload hvis den kan det.
Der kan godt blive tale om $$ i stedet for point.
# Created by
# /usr/bin/cfgmaker public@localhost
### Global Config Options
# for UNIX
# WorkDir: /home/http/mrtg
# for Debian
WorkDir: /www/mrtg
# or for NT
# WorkDir: c:\\mrtgdata
### Global Defaults
# to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits
EnableIPv6: no
######################################################################
# System: mailserver
# Description: Linux mailserver 2.6.8-3-686-smp #1 SMP Tue Dec 5 23:17:50 UTC 2006 i686
# Contact: Administrator <admin@krazymail.dk>
# Location: Denmark
######################################################################
### Interface 1 >> Descr: 'lo' | Name: '' | Ip: '127.0.0.1' | Eth: '' ###
### The following interface is commented out because:
### * it is a Software Loopback interface
#
# Target[localhost_1]: 1:public@localhost:
# SetEnv[localhost_1]: MRTG_INT_IP="127.0.0.1" MRTG_INT_DESCR="lo"
# MaxBytes[localhost_1]: 1250000
# Title[localhost_1]: Traffic Analysis for 1 -- mailserver
# PageTop[localhost_1]: <H1>Traffic Analysis for 1 -- mailserver</H1>
# <TABLE>
# <TR><TD>System:</TD> <TD>mailserver in Unknown (configure /etc/snmp/snmpd.local.conf)</TD></TR>
# <TR><TD>Maintainer:</TD> <TD>Root <root@localhost> (configure /etc/snmp/snmpd.local.conf)</TD></TR>
# <TR><TD>Description:</TD><TD>lo </TD></TR>
# <TR><TD>ifType:</TD> <TD>softwareLoopback (24)</TD></TR>
# <TR><TD>ifName:</TD> <TD></TD></TR>
# <TR><TD>Max Speed:</TD> <TD>1250.0 kBytes/s</TD></TR>
# <TR><TD>Ip:</TD> <TD>127.0.0.1 (localhost.localdomain)</TD></TR>
# </TABLE>
### Interface 2 >> Descr: 'eth0' | Name: '' | Ip: '213.173.228.185' | Eth: '00-06-29-39-6b-8f' ###
Target[eth0]: 2:public@localhost:
SetEnv[eth0]: MRTG_INT_IP="213.173.228.185" MRTG_INT_DESCR="eth0"
MaxBytes[eth0]: 10000000
Title[eth0]: Total Traffic Analysis
PageTop[eth0]: <H1>Total Traffic Analysis</H1>
### Serverload ###
Target[load]: 2:public@localhost:
SetEnv[load]: MRTG_INT_IP="213.173.228.185" MRTG_INT_DESCR="load"
MaxBytes[load]: 1000000000
Title[load]: System load
PageTop[load]: <H1>System load</H1>
### Cpu Load ###
Target[cpu]: 2:public@localhost:
SetEnv[cpu]: MRTG_INT_IP="213.173.228.185" MRTG_INT_DESCR="cpu"
Title[cpu]: CPU usage for
MaxBytes[cpu]: 100000000000
PageTop[cpu]: <H1>CPU usage</H1>
Indlæg senest redigeret d. 08.05.2007 15:25 af Bruger #10749