[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: MRTG



Harlei Liguori Marcelino escreveu:
Kara, monitoramento de trafego... não faço ideia como fazer isso... o
arquivo é este... mas não gera gráfico de nada... tem q fazer mts
configurações nele tb!?

	Para monitorar o tráfego da eth0 o arquivo mrtg.conf esta assim.

######################################################################
# Multi Router Traffic Grapher -- Sample Configuration File
######################################################################
# This file is for use with mrtg-2.5.4c

# Global configuration
WorkDir: /var/www/mrtg
WriteExpires: Yes

Title[^]: Traffic Analysis for

# 128K leased line
# ----------------
Target[eth0]: `cat /proc/net/dev |grep eth0 |awk -F':' '{print $2}' |awk '{print $1}'; cat /proc/net/dev |grep eth0 |awk -F':' '{print $2}' |awk '{print $9}'; echo -e; echo -e`
MaxBytes[eth0]: 1250000
Title[eth0]: eth0 - Utilização eth0
PageTop[eth0]: <H1>Estatisticas Firewall<BR>Utilizacao linha ADSL (eth0)</H1>



Reply to: