### fichier de configuration exemple par TitaX
### http://blog.titaxium.net
#active ou non l' ipV6
EnableIPv6: no
#indique le repertoire de travail
WorkDir: /var/www/mrtg/
#indique la langue
Language: french
#indique les options qui seront appliquees en generale
Options[_]: bits,growright
######################################################################
# System: z1on.titaxium.net
# Description: Linux z1on 2.6.9-1.678_FC3 #1 Mon Nov 15 18:28:07 EST 2004 i686
# Contact: titax@rezium.net
# Location:lan titaxium.net
######################################################################
###interface localhost que je ne souhaite pas monitorer
### 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[192.168.0.2_1]: 1:public@192.168.0.2:
# SetEnv[192.168.0.2_1]: MRTG_INT_IP="127.0.0.1" MRTG_INT_DESCR="lo"
# MaxBytes[192.168.0.2_1]: 1250000
# Title[192.168.0.2_1]: lo -- z1on
# PageTop[192.168.0.2_1]:
lo -- z1on
#
# | System: | z1on in titaxium.net |
# | Maintainer: | titax@rezium.net |
# | Description: | lo |
# | ifType: | softwareLoopback (24) |
# | ifName: | |
# | Max Speed: | 10.0 Mbits/s |
# | Ip: | 127.0.0.1 (z1on) |
#
### Interface de liaison avec internet que je monitor
### Interface 2 >> Descr: 'eth0' | Name: '' | Ip: '192.168.0.2' | Eth: '00-10-dc-6b-ed-61' ###
Target[192.168.0.2_2]: 2:public@192.168.1.2:
SetEnv[192.168.0.2_2]: MRTG_INT_IP="192.168.0.2" MRTG_INT_DESCR="eth0"
MaxBytes[192.168.0.2_2]: 12500000
Title[192.168.0.2_2]: eth0 -- z1on
PageTop[192.168.0.2_2]: eth0 -- z1on
### Minotoring via scripts ###
### Vous trouverez ces scripts sur http://www.linux-sottises.net/mrtg.php ###
#---------uptime---------------------------
#Target[uptime]: .1.3.6.1.4.1.2021.8.1.101.1&.1.3.6.1.4.1.2021.8.1.101.1:public@localhost
Target[uptime]: `/var/www/mrtg/uptime.pl`
Suppress[uptime]: d
Options[uptime]: gauge,noinfo, nopercent, growright, nobanner, noi
Title[uptime]: Uptime
MaxBytes[uptime]: 1000000
YLegend[uptime]: jours
ShortLegend[uptime]: jours
LegendO[uptime]: Uptime:
Legend2[uptime]: Uptime en jours de z1on
PageTop[uptime]: Uptime de Z1on
#-------End uptime------------------------------
#---------Ping free--------------------
Target[ping_free]: `/var/www/mrtg/ping`
Options[ping_free]: nopercent,growright,gauge,noinfo, nobanner
MaxBytes[ping_free]: 10000
AbsMax[ping_free]: 10000
YLegend[ping_free]: Latence
ShortLegend[ping_free]: ms
Legend1[ping_free]: Latence max en ms
Legend2[ping_free]: Latence min en ms
LegendI[ping_free]: Latence Max:
LegendO[ping_free]: Latence Min:
Title[ping_free]: Ping sur free.fr
PageTop[ping_free]: Latence free.fr
WithPeak[ping_free]:wmy
Legend4[ping_free]: Max de la latence min
Legend3[ping_free]: Max de la latence max
#--------end ping-----------------------------
#---------Apache hits-----------------------
Target[apache]: `/var/www/mrtg/webstat.pl hits`
Options[apache]: perhour, nopercent, growright, noinfo, nobanner, noi
MaxBytes[apache]: 1000000
YLegend[apache]: hits/heure
ShortLegend[apache]: par heure
LegendO[apache]: Hits:
Legend2[apache]: Hits horaires
Legend4[apache]: Hits Horaires max
Title[apache]: Hits horaires du serveur Apache
PageTop[apache]: Hits Apache tous sites
WithPeak[apache]: wmy
#------------End Apache Hits------------------
#---------Espace libre disk hda4--------------------
Target[hda4]: `/var/www/mrtg/checkdisk hda4`
Options[hda4]: nopercent,growright,gauge,noinfo, nobanner
MaxBytes[hda4]:57700
Unscaled[hda4]:dwmy
kMG[hda4]:M,G,T,P
YLegend[hda4]: octets
ShortLegend[hda4]: o
Kilo[hda4]:1024
Legend1[hda4]: Espace disponible
Legend2[hda4]: Espace utilise
LegendI[hda4]: Espace dispo :
LegendO[hda4]: Espace Utilise
Title[hda4]: Espace serveur sur /
PageTop[hda4]: Espace serveur /
#--------end disk hda4-----------------------------
#---------Espace libre disk hda2--------------------
Target[hda2]: `/var/www/mrtg/checkdisk hda2`
Options[hda2]: nopercent,growright,gauge,noinfo, nobanner
MaxBytes[hda2]:37547
Unscaled[hda2]:dwmy
kMG[hda2]:M,G,T,P
YLegend[hda2]: octets
ShortLegend[hda2]: o
Kilo[hda2]:1024
Legend1[hda2]: Espace disponible
Legend2[hda2]: Espace utilise
LegendI[hda2]: Espace dispo :
LegendO[hda2]: Espace Utilise
Title[hda2]: Espace serveur /home
PageTop[hda2]: Espace serveur /home
#--------end disk hda2----------------------------