tutoriel suivi O.s debian etch stable sous xfce4 http://www.labo-linux.org/articles-fr/monitorer-son-serveur-linux-avec-mrtg/configuration-de-mrtg probleme rencontre /usr/bin/mrtg /etc/mrtg.cfg ----------------------------------------------------------------------- ERROR: Mrtg will most likely not work properly when the environment variable LANG is set to UTF-8. Please run mrtg in an environment where this is not the case. Try the following command to start: env LANG=C /usr/bin/mrtg /etc/mrtg.cfg ----------------------------------------------------------------------- fichier mrtg.cfg en cour: # Created by # /usr/bin/cfgmaker --global 'WorkDir: /var/www/online/stats/mrtg' --global 'Language: french' --global 'Option[_]:bits,growright' --ifdesc=descr public@localhost --output /etc/mrtg.cfg #---------CPU---------------------------------------------- Target[cpu]:ssCpuRawUser.0&ssCpuRawUser.0:public@localhost + ssCpuRawSystem.0&ssCpuRawSystem.0:public@localhost + ssCpuRawNice.0&ssCpuRawNice.0:public@localhost RouterUptime[cpu]: public@localhost MaxBytes[cpu]: 100 Title[cpu]: CHARGE CPU PageTop[cpu]:

Charge Active CPU %

Unscaled[cpu]: ymwd ShortLegend[cpu]: % YLegend[cpu]: Utilisation CPU Legend1[cpu]: CPU Actif en % (Charge) Legend2[cpu]: Legend3[cpu]: Legend4[cpu]: LegendI[cpu]: Actif LegendO[cpu]: Options[cpu]: growright,nopercent #--------end CPU----------------------------- #---------SWAP------------------------------------- Target[swap]: memAvailSwap.0&memTotalSwap.0:public@localhost Options[swap]: nopercent,growright,gauge,noinfo Title[swap]: Swap PageTop[swap]:

Swap.

MaxBytes[swap]: 1000000000 kMG[swap]: k,M,G,T,P,X Ylegend[swap]: Octets ShortLegend[swap]: octets LegendI[swap]: Swap dispo LegendO[swap]: Swap total Legend1[swap]: Swap disponible Legend2[swap]: Swap total #--------end SWAP----------------------------- #---------RAM------------------------------------- Target[ram]: memAvailReal.0&memTotalReal.0:public@localhost Options[ram]: nopercent,growright,gauge,noinfo Title[ram]: RAM PageTop[ram]:

RAM.

MaxBytes[ram]: 1000000000 kMG[ram]: k,M,G,T,P,X Ylegend[ram]: Octets ShortLegend[ram]: octets LegendI[ram]: RAM dispo LegendO[ram]: RAM total Legend1[ram]: RAM disponible Legend2[ram]: RAM total #--------end RAM----------------------------- ### Global Config Options # for UNIX # WorkDir: /home/http/mrtg # for Debian WorkDir: /var/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 WorkDir: /var/www/online/stats/mrtg Language: french #Option[_]:bits,growright ###################################################################### # System: ch # Description: Linux ch 2.6.18-4-486 #1 Wed Apr 18 09:13:09 UTC 2007 i686 # Contact: tnt (configure /etc/snmp/snmpd.local.conf) # Location: dch (configure /etc/snmp/snmpd.local.conf) ###################################################################### ### Interface 1 >> Descr: 'lo' | Name: 'lo' | 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]: lo -- ch # PageTop[localhost_1]:

lo -- ch

#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
System:ch in dch (configure /etc/snmp/snmpd.local.conf)
Maintainer:tnt <root@localhost> (configure /etc/snmp/snmpd.local.conf)
Description:lo
ifType:softwareLoopback (24)
ifName:lo
Max Speed:1250.0 kBytes/s
Ip:127.0.0.1 (localhost)
#
### Interface 2 >> Descr: 'eth1' | Name: 'eth1' | Ip: '192.168.1.81' | Eth: '30-78-30-30-30-61-65-34-35-65-32-31-38-66' ### Target[localhost_2]: 2:public@localhost: SetEnv[localhost_2]: MRTG_INT_IP="192.168.1.81" MRTG_INT_DESCR="eth1" MaxBytes[localhost_2]: 1250000 Title[localhost_2]: eth1 -- ch PageTop[localhost_2]:

eth1 -- ch

System: ch in dch (configure /etc/snmp/snmpd.local.conf)
Maintainer: tnt <root@localhost> (configure /etc/snmp/snmpd.local.conf)
Description: eth1
ifType: ethernetCsmacd (6)
ifName: eth1
Max Speed: 1250.0 kBytes/s
Ip: 192.168.1.81 ()
### Interface 3 >> Descr: 'eth0' | Name: 'eth0' | Ip: '' | Eth: '30-78-30-30-30-61-65-34-30-34-34-34-31-30' ### ### The following interface is commented out because: ### * it is administratively DOWN ### * it is operationally DOWN # # Target[localhost_3]: 3:public@localhost: # SetEnv[localhost_3]: MRTG_INT_IP="" MRTG_INT_DESCR="eth0" # MaxBytes[localhost_3]: 1250000 # Title[localhost_3]: eth0 -- ch # PageTop[localhost_3]:

eth0 -- ch

#
# # # # # # # # # # # # # # # # # # # # # # # # # #
System:ch in dch (configure /etc/snmp/snmpd.local.conf)
Maintainer:tnt <root@localhost> (configure /etc/snmp/snmpd.local.conf)
Description:eth0
ifType:ethernetCsmacd (6)
ifName:eth0
Max Speed:1250.0 kBytes/s
#
### Interface 4 >> Descr: 'sit0' | Name: 'sit0' | Ip: '' | Eth: '' ### ### The following interface is commented out because: ### * it is administratively DOWN ### * it is operationally DOWN ### * has a speed of 0 which makes no sense # # Target[localhost_4]: 4:public@localhost: # SetEnv[localhost_4]: MRTG_INT_IP="" MRTG_INT_DESCR="sit0" # MaxBytes[localhost_4]: 0 # Title[localhost_4]: sit0 -- ch # PageTop[localhost_4]:

sit0 -- ch

#
# # # # # # # # # # # # # # # # # # # # # # # # # #
System:ch in dch (configure /etc/snmp/snmpd.local.conf)
Maintainer:tnt <root@localhost> (configure /etc/snmp/snmpd.local.conf)
Description:sit0
ifType:Encapsulation Interface (131)
ifName:sit0
Max Speed:0.0 Bytes/s
#
toute information , lien ou autre sont également les bienvenus