You are on page 1of 40

UNIVERSIDADE CATOLICA DE BRASILIA

SISTEMAS DE INFORMAÇÃO

Administração e Gerência de Redes


MRTG
Prof: Eduardo Lobo

Davi Eduardo – UC 03001794

Maio / 2007
Utilização de Ferramenta de Monitoramento SNMP – MRTG

Davi Eduardo R. Domingues

Resumo

O Multi Router Traffic Grapher (MRTG) é uma ferramenta de monitoração que


gera páginas HTML com gráficos de dados coletados a partir de SNMP ou scripts externos.
É conhecido principalmente pelo seu uso na monitoração de tráfego de rede, mas pode
monitorar qualquer coisa desde que o host forneça os dados via SNMP ou script, desde uma
placa de rede até um link de internet. Essa ferramenta facilita o trabalho de
acompanhamento do funcionamento de um determinado serviço da rede, consiste em um
script em Perl que usa SNMP para a leitura dos contadores de tráfego e cria gráficos que
representa a quantidade de dados de entrada e saída de uma conexão monitorada. Muitas
empresas utilizam essa solução para monitorar seu ambiente operacional, para
acompanhamento da rede, do link, roteadores, enfim da maioria dos equipamentos da rede,
que são mais importantes para a empresa, fornecendo gráficos diários, semanais, mensais e
anuais, na qual permite os analistas da rede de ser notificado quando ocorrer alguma
anormalidade na rede. Muitas das vezes, pode ocorrer que o serviço da rede caia, antes que
ocorra o administrador já estará sabendo que algo está errado, com isso trabalhará para
solucionar o problema.

Palavra-chave
MRTFG, SNMP, gerenciamento, rede, gráfico.

Use of Tool of Monitoring SNMP - MRTG

Summary
The Multi Router Traffic Grapher (MRTG) it is a tool of monitoring that generates pages
HTML with graphs of data collected from external SNMP or scripts. It is known mainly by its use in
the monitoring of net traffic, but it can monitor any thing since that host supplies the data saw
SNMP or script, since a net plate up to one link of Internet. This tool facilitates the work of
accompaniment of the functioning of one determined service of the net, consists of one script in Perl
that uses SNMP for the reading of the traffic accountants and creates graphs that represent the
amount of entrance data and exit of a monitored connection. Many companies use this solution to
monitor its operational environment, for accompaniment of the net, of link, routers, at last of the
majority of daily, weekly, monthly and annual the equipment of the net, that is more important for
the company, supplying graphical, in which she allows the analysts of the net of being notified when
to occur some abnormality in the net. Many of the times, can occur that the service of the net falls,
before occurs the administrator already is knowing that something is missed, with this will work to
solve the problem.
Keywords
MRTG, SNMP, management, net, graph.

Criado por Davi Eduardo R. Domingues 2


1. Introdução

Os avanços tecnológicos exercem hoje um grande impacto na sociedade. A


informação tem se tornado cada vez mais uma vantagem competitiva para as empresas e
organizações em investimentos futuros. As redes de computadores se proliferam,
encurtando as distâncias e diminuindo o tempo de resposta entre as transações entre as
organizações de todo o mundo.

A fim de garantir certa qualidade dos serviços aos seus usuários, é que as redes de
computadores devem ser gerenciadas. Este gerenciamento envolve o monitoramento e o
controle de recursos distribuídos em redes. Em essência, o gerenciamento de redes busca
assegurar que sistemas de informação, disponíveis em redes, estejam operacionais e
eficazes a todo instante. As redes, seus recursos e aplicações, tornam-se cada vez mais
indispensáveis para as organizações que as utilizam e uma maior possibilidade de
ocorrerem problemas, o que pode levar as redes a um estado inerte e sem operação ou a
níveis de desempenho muito lento.

Para garantia de qualidade dos serviços é necessário que as redes de computadores


sejam gerenciadas. Tentando diminuir a complexidade para gerenciamento de redes, foram
criados vários programas para monitoramento dos recursos da uma determinada rede, neste
artigo será tratado sobre o monitoramento através do programa MRTG.

O monitoramento de redes tem a função de prover dados e ferramentas para auxiliar


o engenheiro de tráfego ou administrador de redes sobre os recursos da rede. Existe
algumas tecnologias de monitoramento de redes, uma delas é o uso do protocolo SNMP,
que é abordado neste artigo. O SNMP vem embutido em vários dispositivos como
roteadores domésticos ADSL, switches e dispositivos de redes em geral SNMP, também
pode ser instalado em sistemas operacionais, o SNMP é o protocolo mais utilizado para
monitoramento, pois é fácil de ser configurado, requer pouca largura de banda e pouca
carga de CPU. Além de parâmetros de rede, SNMP pode monitorar outros parâmetros não
somente coisas da rede, mas também como o espaço em disco de uma estação, temperatura,
etc.

Neste artigo, foi utilizado uma ferramenta que trabalha com o protocolo citado
acima, que é o SNMP, esse protocolo refere-se a um conjunto de padrões para
gerenciamento que inclui um protocolo, uma especificação de estrutura de dados, e um
conjunto de objetos de dados. Este protocolo hoje já está na sua segunda versão oficial,
chamada de SNMPv2. E já existem estudos para o desenvolvimento do SNMPv3. Este é o
protocolo de gerencia adotado como padrão para redes TCP/IP.

A ferramenta que utilizamos é a MRTG, na qual MRTG consiste em um script em


Perl que usa SNMP para ler os contadores de tráfego de seus roteadores e um rápido
programa em C que loga os dados do tráfego e cria belos gráficos representando o tráfego
da conexão de rede monitorada. Estes gráficos são incluídos em páginas web que podem
ser visualizadas de qualquer browser. O MRTG não se limita a monitorar somente tráfego,
é possível monitorar qualquer equipamento que suporta SNMP. Você pode até usar um

Criado por Davi Eduardo R. Domingues 3


programa externo para pegar os dados que você deve monitorar via MRTG, podendo
monitorar um servidor de e-mail, servidor web, dentre outros.

2. Recursos de Hardware
Montou-se um laboratório composto por 3 máquinas, fazendo o monitoramento de
um switch, e mais um micro como firewall: A Figura 1 representa a topologia da rede
utilizada como laboratório.

Figura 01 – Topologia da rede

Servidor Linux:
 Linux Debian 3.1
 Processador PIII 800 MHZ
 Memória RAM 128 Mb
 HD 10GB

Micro 1:
 Windows XP SP2
 Processador PIII 800 MHZ
 Memória RAM 128 Mb
 HD 10GB

Micro 2:
 Windows XP SP2
 Processador PIII 800 MHZ
 Memória RAM 128 Mb
 HD 10GB

Criado por Davi Eduardo R. Domingues 4


Switch Monitorada:
 Enterasys Networks, Inc. V2H124-24.

3. Recursos de Software

Como foi mencionado no item acima, das três maquinas, foi configurado como
servidor um micro com Linux Debian, onde estão instalado a ferramenta MRTG, e o
servidor apache, alem do mais a figura 2, mostrará os software utilizados, inclusive os
micros que possuem windows XP.

Softwares Utilizados
Software Função Versão
Debian SO 3.1
MRTG Ferramenta 2.14.7
Apache WebServer 1.3.34
Windows XP SP2 SO 5.1
BRICKS Ferramenta
Figura 02 – softwares utlizados

4. Instalação e Configuração do MRTG

Para instalar e configurar o MRTG no ambiente linux, siga as instruções do howto


apresentado no item 4.1.

4.1. Howto passo a passo da instalação e configuração do MRTG

1º Passo: Inicialmente foi realizado a configuração do IP no switch, também deve-se estar


atento se o equipamento que deseja realizar o monitoramento com mrtg suporta o protocolo
snmp. Caso positivo, coloque o ip no equipamento, no meu caso o switch, em seguida entre
no equipamento via browser, a figura a seguir representa a interface do aparelho. Lembre-
que a IP do micro que for acessar o switch tem que estar no mesmo ranger rede, ou seja, no
meu caso 100.50.0.0:

Criado por Davi Eduardo R. Domingues 5


Figura 03 – Interface da configuração switch

Figura 04 - Representa que o switch tem suporte a snmp.

Criado por Davi Eduardo R. Domingues 6


2º passo: Agora vem a parte de instalação do mrtg com o seguinte comando:
#apt-get install mrtg
A versão utilizada neste tutorial foi a mrtg-2.14.7

3º passo: Instalação o servidor apache:


#apt-get install apache
A versão utilizada neste tutorial foi o apache-1.3.34
Ao instalar o apache, verifique se o mesmo está instalado, podendo acessar pelo
browser : http:\\localhost

4º passo: Instalação do snmp (Neste caso, somente se o snmp não estiver na sua maquina
instalado):
#apt-get install snmp

5º passo: Comando para gerar o arquivo de configuração mrtg.cfg . Para isso utilizaremos
um utilitário do MRTG chamado "cfgmaker"
#cfgmaker public@100.50.0.4.7 > /etc/mrtg.cfg

6º passo: Editar o arquivo de configuração mrtg.cfg, acrescentar a linha:


(RunAsDaemon:yes), deve vir antes da linha: Global Default.
#vi /etc/mrtg.cfg
Obs: No meu caso, como foram utilizados somente 5 interfaces do switch, as demais
ficaram comentadas. Veja como ficou o arquivo de configuração mrtg.cfg.

######################################################################
# Arquivo de Configuração do MRTG
######################################################################
#
# Created by
# /usr/bin/cfgmaker public@100.50.4.7

### Global Config Options

# for UNIX
# WorkDir: /home/http/mrtg

# for Debian
WorkDir: /var/www/mrtg

# or for NT
# WorkDir: c:\mrtgdata

RunAsDaemon:yes

Criado por Davi Eduardo R. Domingues 7


### Global Defaults

# to get bits instead of bytes and graphs growing to the right


# Options[_]: growright, bits

EnableIPv6: no

######################################################################
# System:
# Description: Enterasys Networks, Inc. V2H124-24; SW version: V2.5.2.9
# Contact:
# Location:
######################################################################

### Interface 1 >> Descr: '' | Name: 'fe.1.1' | Ip: '' | Eth: '' ###

Target[100.50.4.7_1]: 1:public@100.50.4.7:
SetEnv[100.50.4.7_1]: MRTG_INT_IP="" MRTG_INT_DESCR=""
MaxBytes[100.50.4.7_1]: 12500000
Title[100.50.4.7_1]: Traffic Analysis for 1 --
PageTop[100.50.4.7_1]: <h1>Traffic Analysis for 1 -- </h1>
<div id="sysdetails">
<table>
<tr>
<td>System:</td>
<td> in </td>
</tr>
<tr>
<td>Maintainer:</td>
<td></td>
</tr>
<tr>
<td>Description:</td>
<td> </td>
</tr>
<tr>
<td>ifType:</td>
<td>ethernetCsmacd (6)</td>
</tr>
<tr>
<td>ifName:</td>
<td>fe.1.1</td>
</tr>
<tr>
<td>Max Speed:</td>
<td>12.5 MBytes/s</td>
</tr>
</table>
</div>

### Interface 2 >> Descr: '' | Name: 'fe.1.2' | Ip: '' | Eth: '00-01-f4-
70-aa-e2' ###

Target[100.50.4.7_2]: 2:public@100.50.4.7:
SetEnv[100.50.4.7_2]: MRTG_INT_IP="" MRTG_INT_DESCR=""

Criado por Davi Eduardo R. Domingues 8


MaxBytes[100.50.4.7_2]: 12500000
Title[100.50.4.7_2]: Traffic Analysis for 2 --
PageTop[100.50.4.7_2]: <h1>Traffic Analysis for 2 -- </h1>
<div id="sysdetails">
<table>
<tr>
<td>System:</td>
<td> in </td>
</tr>
<tr>
<td>Maintainer:</td>
<td></td>
</tr>
<tr>
<td>Description:</td>
<td> </td>
</tr>
<tr>
<td>ifType:</td>
<td>ethernetCsmacd (6)</td>
</tr>
<tr>
<td>ifName:</td>
<td>fe.1.2</td>
</tr>
<tr>
<td>Max Speed:</td>
<td>12.5 MBytes/s</td>
</tr>
</table>
</div>

### Interface 3 >> Descr: 'EtherNet-Port-on-unit-1,-port:3' | Name:


'fe.1.3' | Ip: '' | Eth: '00-01-f4-70-aa-e3' ###

Target[100.50.4.7_3]: 3:public@100.50.4.7:
SetEnv[100.50.4.7_3]: MRTG_INT_IP="" MRTG_INT_DESCR="EtherNet-Port-on-
unit-1,-port:3"
MaxBytes[100.50.4.7_3]: 12500000
Title[100.50.4.7_3]: Traffic Analysis for 3 --
PageTop[100.50.4.7_3]: <h1>Traffic Analysis for 3 -- </h1>
<div id="sysdetails">
<table>
<tr>
<td>System:</td>
<td> in </td>
</tr>
<tr>
<td>Maintainer:</td>
<td></td>
</tr>
<tr>
<td>Description:</td>
<td>EtherNet-Port-on-unit-1,-port:3 </td>
</tr>
<tr>

Criado por Davi Eduardo R. Domingues 9


<td>ifType:</td>
<td>ethernetCsmacd (6)</td>
</tr>
<tr>
<td>ifName:</td>
<td>fe.1.3</td>
</tr>
<tr>
<td>Max Speed:</td>
<td>12.5 MBytes/s</td>
</tr>
</table>
</div>

### Interface 4 >> Descr: 'EtherNet-Port-on-unit-1,-port:4' | Name:


'fe.1.4' | Ip: '' | Eth: '00-01-f4-70-aa-e4' ###

Target[100.50.4.7_4]: 4:public@100.50.4.7:
SetEnv[100.50.4.7_4]: MRTG_INT_IP="" MRTG_INT_DESCR="EtherNet-Port-on-
unit-1,-port:4"
MaxBytes[100.50.4.7_4]: 12500000
Title[100.50.4.7_4]: Traffic Analysis for 4 --
PageTop[100.50.4.7_4]: <h1>Traffic Analysis for 4 -- </h1>
<div id="sysdetails">
<table>
<tr>
<td>System:</td>
<td> in </td>
</tr>
<tr>
<td>Maintainer:</td>
<td></td>
</tr>
<tr>
<td>Description:</td>
<td>EtherNet-Port-on-unit-1,-port:4 </td>
</tr>
<tr>
<td>ifType:</td>
<td>ethernetCsmacd (6)</td>
</tr>
<tr>
<td>ifName:</td>
<td>fe.1.4</td>
</tr>
<tr>
<td>Max Speed:</td>
<td>12.5 MBytes/s</td>
</tr>
</table>
</div>

### Interface 5 >> Descr: 'EtherNet-Port-on-unit-1,-port:5' | Name:


'fe.1.5' | Ip: '' | Eth: '00-01-f4-70-aa-e5' ###

Target[100.50.4.7_5]: 5:public@100.50.4.7:

Criado por Davi Eduardo R. Domingues 10


SetEnv[100.50.4.7_5]: MRTG_INT_IP="" MRTG_INT_DESCR="EtherNet-Port-on-
unit-1,-port:5"
MaxBytes[100.50.4.7_5]: 12500000
Title[100.50.4.7_5]: Traffic Analysis for 5 --
PageTop[100.50.4.7_5]: <h1>Traffic Analysis for 5 -- </h1>
<div id="sysdetails">
<table>
<tr>
<td>System:</td>
<td> in </td>
</tr>
<tr>
<td>Maintainer:</td>
<td></td>
</tr>
<tr>
<td>Description:</td>
<td>EtherNet-Port-on-unit-1,-port:5 </td>
</tr>
<tr>
<td>ifType:</td>
<td>ethernetCsmacd (6)</td>
</tr>
<tr>
<td>ifName:</td>
<td>fe.1.5</td>
</tr>
<tr>
<td>Max Speed:</td>
<td>12.5 MBytes/s</td>
</tr>
</table>
</div>

### Interface 6 >> Descr: 'EtherNet-Port-on-unit-1,-port:6' | Name:


'fe.1.6' | Ip: '' | Eth: '00-01-f4-70-aa-e6' ###
### The following interface is commented out because:
### * it is operationally DOWN
#
# Target[100.50.4.7_6]: 6:public@100.50.4.7:
# SetEnv[100.50.4.7_6]: MRTG_INT_IP="" MRTG_INT_DESCR="EtherNet-Port-on-
unit-1,-port:6"
# MaxBytes[100.50.4.7_6]: 12500000
# Title[100.50.4.7_6]: Traffic Analysis for 6 --
# PageTop[100.50.4.7_6]: <h1>Traffic Analysis for 6 -- </h1>
# <div id="sysdetails">
# <table>
# <tr>
# <td>System:</td>
# <td> in </td>
# </tr>
# <tr>
# <td>Maintainer:</td>
# <td></td>
# </tr>
# <tr>

Criado por Davi Eduardo R. Domingues 11


# <td>Description:</td>
# <td>EtherNet-Port-on-unit-1,-port:6 </td>
# </tr>
# <tr>
# <td>ifType:</td>
# <td>ethernetCsmacd (6)</td>
# </tr>
# <tr>
# <td>ifName:</td>
# <td>fe.1.6</td>
# </tr>
# <tr>
# <td>Max Speed:</td>
# <td>12.5 MBytes/s</td>
# </tr>
# </table>
# </div>

### Interface 7 >> Descr: 'EtherNet-Port-on-unit-1,-port:7' | Name:


'fe.1.7' | Ip: '' | Eth: '00-01-f4-70-aa-e7' ###
### The following interface is commented out because:
### * it is operationally DOWN
#
# Target[100.50.4.7_7]: 7:public@100.50.4.7:
# SetEnv[100.50.4.7_7]: MRTG_INT_IP="" MRTG_INT_DESCR="EtherNet-Port-on-
unit-1,-port:7"
# MaxBytes[100.50.4.7_7]: 12500000
# Title[100.50.4.7_7]: Traffic Analysis for 7 --
# PageTop[100.50.4.7_7]: <h1>Traffic Analysis for 7 -- </h1>
# <div id="sysdetails">
# <table>
# <tr>
# <td>System:</td>
# <td> in </td>
# </tr>
# <tr>
# <td>Maintainer:</td>
# <td></td>
# </tr>
# <tr>
# <td>Description:</td>
# <td>EtherNet-Port-on-unit-1,-port:7 </td>
# </tr>
# <tr>
# <td>ifType:</td>
# <td>ethernetCsmacd (6)</td>
# </tr>
# <tr>
# <td>ifName:</td>
# <td>fe.1.7</td>
# </tr>
# <tr>
# <td>Max Speed:</td>
# <td>12.5 MBytes/s</td>
# </tr>
# </table>

Criado por Davi Eduardo R. Domingues 12


# </div>

### Interface 8 >> Descr: 'EtherNet-Port-on-unit-1,-port:8' | Name:


'fe.1.8' | Ip: '' | Eth: '00-01-f4-70-aa-e8' ###
### The following interface is commented out because:
### * it is operationally DOWN
#
# Target[100.50.4.7_8]: 8:public@100.50.4.7:
# SetEnv[100.50.4.7_8]: MRTG_INT_IP="" MRTG_INT_DESCR="EtherNet-Port-on-
unit-1,-port:8"
# MaxBytes[100.50.4.7_8]: 12500000
# Title[100.50.4.7_8]: Traffic Analysis for 8 --
# PageTop[100.50.4.7_8]: <h1>Traffic Analysis for 8 -- </h1>
# <div id="sysdetails">
# <table>
# <tr>
# <td>System:</td>
# <td> in </td>
# </tr>
# <tr>
# <td>Maintainer:</td>
# <td></td>
# </tr>
# <tr>
# <td>Description:</td>
# <td>EtherNet-Port-on-unit-1,-port:8 </td>
# </tr>
# <tr>
# <td>ifType:</td>
# <td>ethernetCsmacd (6)</td>
# </tr>
# <tr>
# <td>ifName:</td>
# <td>fe.1.8</td>
# </tr>
# <tr>
# <td>Max Speed:</td>
# <td>12.5 MBytes/s</td>
# </tr>
# </table>
# </div>

### Interface 9 >> Descr: 'EtherNet-Port-on-unit-1,-port:9' | Name:


'fe.1.9' | Ip: '' | Eth: '00-01-f4-70-aa-e9' ###
### The following interface is commented out because:
### * it is operationally DOWN
#
# Target[100.50.4.7_9]: 9:public@100.50.4.7:
# SetEnv[100.50.4.7_9]: MRTG_INT_IP="" MRTG_INT_DESCR="EtherNet-Port-on-
unit-1,-port:9"
# MaxBytes[100.50.4.7_9]: 12500000
# Title[100.50.4.7_9]: Traffic Analysis for 9 --
# PageTop[100.50.4.7_9]: <h1>Traffic Analysis for 9 -- </h1>
# <div id="sysdetails">
# <table>

Criado por Davi Eduardo R. Domingues 13


# <tr>
# <td>System:</td>
# <td> in </td>
# </tr>
# <tr>
# <td>Maintainer:</td>
# <td></td>
# </tr>
# <tr>
# <td>Description:</td>
# <td>EtherNet-Port-on-unit-1,-port:9 </td>
# </tr>
# <tr>
# <td>ifType:</td>
# <td>ethernetCsmacd (6)</td>
# </tr>
# <tr>
# <td>ifName:</td>
# <td>fe.1.9</td>
# </tr>
# <tr>
# <td>Max Speed:</td>
# <td>12.5 MBytes/s</td>
# </tr>
# </table>
# </div>

### Interface 10 >> Descr: 'EtherNet-Port-on-unit-1,-port:10' | Name:


'fe.1.10' | Ip: '' | Eth: '00-01-f4-70-aa-ea' ###
### The following interface is commented out because:
### * it is operationally DOWN
#
# Target[100.50.4.7_10]: 10:public@100.50.4.7:
# SetEnv[100.50.4.7_10]: MRTG_INT_IP="" MRTG_INT_DESCR="EtherNet-Port-on-
unit-1,-port:10"
# MaxBytes[100.50.4.7_10]: 12500000
# Title[100.50.4.7_10]: Traffic Analysis for 10 --
# PageTop[100.50.4.7_10]: <h1>Traffic Analysis for 10 -- </h1>
# <div id="sysdetails">
# <table>
# <tr>
# <td>System:</td>
# <td> in </td>
# </tr>
# <tr>
# <td>Maintainer:</td>
# <td></td>
# </tr>
# <tr>
# <td>Description:</td>
# <td>EtherNet-Port-on-unit-1,-port:10 </td>
# </tr>
# <tr>
# <td>ifType:</td>
# <td>ethernetCsmacd (6)</td>
# </tr>

Criado por Davi Eduardo R. Domingues 14


# <tr>
# <td>ifName:</td>
# <td>fe.1.10</td>
# </tr>
# <tr>
# <td>Max Speed:</td>
# <td>12.5 MBytes/s</td>
# </tr>
# </table>
# </div>

### Interface 11 >> Descr: 'EtherNet-Port-on-unit-1,-port:11' | Name:


'fe.1.11' | Ip: '' | Eth: '00-01-f4-70-aa-eb' ###
### The following interface is commented out because:
### * it is operationally DOWN
#
# Target[100.50.4.7_11]: 11:public@100.50.4.7:
# SetEnv[100.50.4.7_11]: MRTG_INT_IP="" MRTG_INT_DESCR="EtherNet-Port-on-
unit-1,-port:11"
# MaxBytes[100.50.4.7_11]: 12500000
# Title[100.50.4.7_11]: Traffic Analysis for 11 --
# PageTop[100.50.4.7_11]: <h1>Traffic Analysis for 11 -- </h1>
# <div id="sysdetails">
# <table>
# <tr>
# <td>System:</td>
# <td> in </td>
# </tr>
# <tr>
# <td>Maintainer:</td>
# <td></td>
# </tr>
# <tr>
# <td>Description:</td>
# <td>EtherNet-Port-on-unit-1,-port:11 </td>
# </tr>
# <tr>
# <td>ifType:</td>
# <td>ethernetCsmacd (6)</td>
# </tr>
# <tr>
# <td>ifName:</td>
# <td>fe.1.11</td>
# </tr>
# <tr>
# <td>Max Speed:</td>
# <td>12.5 MBytes/s</td>
# </tr>
# </table>
# </div>

### Interface 12 >> Descr: 'EtherNet-Port-on-unit-1,-port:12' | Name:


'fe.1.12' | Ip: '' | Eth: '00-01-f4-70-aa-ec' ###
### The following interface is commented out because:
### * it is operationally DOWN

Criado por Davi Eduardo R. Domingues 15


#
# Target[100.50.4.7_12]: 12:public@100.50.4.7:
# SetEnv[100.50.4.7_12]: MRTG_INT_IP="" MRTG_INT_DESCR="EtherNet-Port-on-
unit-1,-port:12"
# MaxBytes[100.50.4.7_12]: 12500000
# Title[100.50.4.7_12]: Traffic Analysis for 12 --
# PageTop[100.50.4.7_12]: <h1>Traffic Analysis for 12 -- </h1>
# <div id="sysdetails">
# <table>
# <tr>
# <td>System:</td>
# <td> in </td>
# </tr>
# <tr>
# <td>Maintainer:</td>
# <td></td>
# </tr>
# <tr>
# <td>Description:</td>
# <td>EtherNet-Port-on-unit-1,-port:12 </td>
# </tr>
# <tr>
# <td>ifType:</td>
# <td>ethernetCsmacd (6)</td>
# </tr>
# <tr>
# <td>ifName:</td>
# <td>fe.1.12</td>
# </tr>
# <tr>
# <td>Max Speed:</td>
# <td>12.5 MBytes/s</td>
# </tr>
# </table>
# </div>

### Interface 13 >> Descr: 'EtherNet-Port-on-unit-1,-port:13' | Name:


'fe.1.13' | Ip: '' | Eth: '00-01-f4-70-aa-ed' ###
### The following interface is commented out because:
### * it is operationally DOWN
#
# Target[100.50.4.7_13]: 13:public@100.50.4.7:
# SetEnv[100.50.4.7_13]: MRTG_INT_IP="" MRTG_INT_DESCR="EtherNet-Port-on-
unit-1,-port:13"
# MaxBytes[100.50.4.7_13]: 12500000
# Title[100.50.4.7_13]: Traffic Analysis for 13 --
# PageTop[100.50.4.7_13]: <h1>Traffic Analysis for 13 -- </h1>
# <div id="sysdetails">
# <table>
# <tr>
# <td>System:</td>
# <td> in </td>
# </tr>
# <tr>
# <td>Maintainer:</td>
# <td></td>

Criado por Davi Eduardo R. Domingues 16


# </tr>
# <tr>
# <td>Description:</td>
# <td>EtherNet-Port-on-unit-1,-port:13 </td>
# </tr>
# <tr>
# <td>ifType:</td>
# <td>ethernetCsmacd (6)</td>
# </tr>
# <tr>
# <td>ifName:</td>
# <td>fe.1.13</td>
# </tr>
# <tr>
# <td>Max Speed:</td>
# <td>12.5 MBytes/s</td>
# </tr>
# </table>
# </div>

### Interface 14 >> Descr: 'EtherNet-Port-on-unit-1,-port:14' | Name:


'fe.1.14' | Ip: '' | Eth: '00-01-f4-70-aa-ee' ###
### The following interface is commented out because:
### * it is operationally DOWN
#
# Target[100.50.4.7_14]: 14:public@100.50.4.7:
# SetEnv[100.50.4.7_14]: MRTG_INT_IP="" MRTG_INT_DESCR="EtherNet-Port-on-
unit-1,-port:14"
# MaxBytes[100.50.4.7_14]: 12500000
# Title[100.50.4.7_14]: Traffic Analysis for 14 --
# PageTop[100.50.4.7_14]: <h1>Traffic Analysis for 14 -- </h1>
# <div id="sysdetails">
# <table>
# <tr>
# <td>System:</td>
# <td> in </td>
# </tr>
# <tr>
# <td>Maintainer:</td>
# <td></td>
# </tr>
# <tr>
# <td>Description:</td>
# <td>EtherNet-Port-on-unit-1,-port:14 </td>
# </tr>
# <tr>
# <td>ifType:</td>
# <td>ethernetCsmacd (6)</td>
# </tr>
# <tr>
# <td>ifName:</td>
# <td>fe.1.14</td>
# </tr>
# <tr>
# <td>Max Speed:</td>
# <td>12.5 MBytes/s</td>

Criado por Davi Eduardo R. Domingues 17


# </tr>
# </table>
# </div>

### Interface 15 >> Descr: 'EtherNet-Port-on-unit-1,-port:15' | Name:


'fe.1.15' | Ip: '' | Eth: '00-01-f4-70-aa-ef' ###
### The following interface is commented out because:
### * it is operationally DOWN
#
# Target[100.50.4.7_15]: 15:public@100.50.4.7:
# SetEnv[100.50.4.7_15]: MRTG_INT_IP="" MRTG_INT_DESCR="EtherNet-Port-on-
unit-1,-port:15"
# MaxBytes[100.50.4.7_15]: 12500000
# Title[100.50.4.7_15]: Traffic Analysis for 15 --
# PageTop[100.50.4.7_15]: <h1>Traffic Analysis for 15 -- </h1>
# <div id="sysdetails">
# <table>
# <tr>
# <td>System:</td>
# <td> in </td>
# </tr>
# <tr>
# <td>Maintainer:</td>
# <td></td>
# </tr>
# <tr>
# <td>Description:</td>
# <td>EtherNet-Port-on-unit-1,-port:15 </td>
# </tr>
# <tr>
# <td>ifType:</td>
# <td>ethernetCsmacd (6)</td>
# </tr>
# <tr>
# <td>ifName:</td>
# <td>fe.1.15</td>
# </tr>
# <tr>
# <td>Max Speed:</td>
# <td>12.5 MBytes/s</td>
# </tr>
# </table>
# </div>

### Interface 16 >> Descr: 'EtherNet-Port-on-unit-1,-port:16' | Name:


'fe.1.16' | Ip: '' | Eth: '00-01-f4-70-aa-f0' ###
### The following interface is commented out because:
### * it is operationally DOWN
#
# Target[100.50.4.7_16]: 16:public@100.50.4.7:
# SetEnv[100.50.4.7_16]: MRTG_INT_IP="" MRTG_INT_DESCR="EtherNet-Port-on-
unit-1,-port:16"
# MaxBytes[100.50.4.7_16]: 12500000
# Title[100.50.4.7_16]: Traffic Analysis for 16 --
# PageTop[100.50.4.7_16]: <h1>Traffic Analysis for 16 -- </h1>

Criado por Davi Eduardo R. Domingues 18


# <div id="sysdetails">
# <table>
# <tr>
# <td>System:</td>
# <td> in </td>
# </tr>
# <tr>
# <td>Maintainer:</td>
# <td></td>
# </tr>
# <tr>
# <td>Description:</td>
# <td>EtherNet-Port-on-unit-1,-port:16 </td>
# </tr>
# <tr>
# <td>ifType:</td>
# <td>ethernetCsmacd (6)</td>
# </tr>
# <tr>
# <td>ifName:</td>
# <td>fe.1.16</td>
# </tr>
# <tr>
# <td>Max Speed:</td>
# <td>12.5 MBytes/s</td>
# </tr>
# </table>
# </div>

### Interface 17 >> Descr: 'EtherNet-Port-on-unit-1,-port:17' | Name:


'fe.1.17' | Ip: '' | Eth: '00-01-f4-70-aa-f1' ###
### The following interface is commented out because:
### * it is operationally DOWN
#
# Target[100.50.4.7_17]: 17:public@100.50.4.7:
# SetEnv[100.50.4.7_17]: MRTG_INT_IP="" MRTG_INT_DESCR="EtherNet-Port-on-
unit-1,-port:17"
# MaxBytes[100.50.4.7_17]: 12500000
# Title[100.50.4.7_17]: Traffic Analysis for 17 --
# PageTop[100.50.4.7_17]: <h1>Traffic Analysis for 17 -- </h1>
# <div id="sysdetails">
# <table>
# <tr>
# <td>System:</td>
# <td> in </td>
# </tr>
# <tr>
# <td>Maintainer:</td>
# <td></td>
# </tr>
# <tr>
# <td>Description:</td>
# <td>EtherNet-Port-on-unit-1,-port:17 </td>
# </tr>
# <tr>
# <td>ifType:</td>

Criado por Davi Eduardo R. Domingues 19


# <td>ethernetCsmacd (6)</td>
# </tr>
# <tr>
# <td>ifName:</td>
# <td>fe.1.17</td>
# </tr>
# <tr>
# <td>Max Speed:</td>
# <td>12.5 MBytes/s</td>
# </tr>
# </table>
# </div>

### Interface 18 >> Descr: 'EtherNet-Port-on-unit-1,-port:18' | Name:


'fe.1.18' | Ip: '' | Eth: '00-01-f4-70-aa-f2' ###
### The following interface is commented out because:
### * it is operationally DOWN
#
# Target[100.50.4.7_18]: 18:public@100.50.4.7:
# SetEnv[100.50.4.7_18]: MRTG_INT_IP="" MRTG_INT_DESCR="EtherNet-Port-on-
unit-1,-port:18"
# MaxBytes[100.50.4.7_18]: 12500000
# Title[100.50.4.7_18]: Traffic Analysis for 18 --
# PageTop[100.50.4.7_18]: <h1>Traffic Analysis for 18 -- </h1>
# <div id="sysdetails">
# <table>
# <tr>
# <td>System:</td>
# <td> in </td>
# </tr>
# <tr>
# <td>Maintainer:</td>
# <td></td>
# </tr>
# <tr>
# <td>Description:</td>
# <td>EtherNet-Port-on-unit-1,-port:18 </td>
# </tr>
# <tr>
# <td>ifType:</td>
# <td>ethernetCsmacd (6)</td>
# </tr>
# <tr>
# <td>ifName:</td>
# <td>fe.1.18</td>
# </tr>
# <tr>
# <td>Max Speed:</td>
# <td>12.5 MBytes/s</td>
# </tr>
# </table>
# </div>

### Interface 19 >> Descr: 'EtherNet-Port-on-unit-1,-port:19' | Name:


'fe.1.19' | Ip: '' | Eth: '00-01-f4-70-aa-f3' ###

Criado por Davi Eduardo R. Domingues 20


### The following interface is commented out because:
### * it is operationally DOWN
#
# Target[100.50.4.7_19]: 19:public@100.50.4.7:
# SetEnv[100.50.4.7_19]: MRTG_INT_IP="" MRTG_INT_DESCR="EtherNet-Port-on-
unit-1,-port:19"
# MaxBytes[100.50.4.7_19]: 12500000
# Title[100.50.4.7_19]: Traffic Analysis for 19 --
# PageTop[100.50.4.7_19]: <h1>Traffic Analysis for 19 -- </h1>
# <div id="sysdetails">
# <table>
# <tr>
# <td>System:</td>
# <td> in </td>
# </tr>
# <tr>
# <td>Maintainer:</td>
# <td></td>
# </tr>
# <tr>
# <td>Description:</td>
# <td>EtherNet-Port-on-unit-1,-port:19 </td>
# </tr>
# <tr>
# <td>ifType:</td>
# <td>ethernetCsmacd (6)</td>
# </tr>
# <tr>
# <td>ifName:</td>
# <td>fe.1.19</td>
# </tr>
# <tr>
# <td>Max Speed:</td>
# <td>12.5 MBytes/s</td>
# </tr>
# </table>
# </div>

### Interface 20 >> Descr: 'EtherNet-Port-on-unit-1,-port:20' | Name:


'fe.1.20' | Ip: '' | Eth: '00-01-f4-70-aa-f4' ###
### The following interface is commented out because:
### * it is operationally DOWN
#
# Target[100.50.4.7_20]: 20:public@100.50.4.7:
# SetEnv[100.50.4.7_20]: MRTG_INT_IP="" MRTG_INT_DESCR="EtherNet-Port-on-
unit-1,-port:20"
# MaxBytes[100.50.4.7_20]: 12500000
# Title[100.50.4.7_20]: Traffic Analysis for 20 --
# PageTop[100.50.4.7_20]: <h1>Traffic Analysis for 20 -- </h1>
# <div id="sysdetails">
# <table>
# <tr>
# <td>System:</td>
# <td> in </td>
# </tr>
# <tr>

Criado por Davi Eduardo R. Domingues 21


# <td>Maintainer:</td>
# <td></td>
# </tr>
# <tr>
# <td>Description:</td>
# <td>EtherNet-Port-on-unit-1,-port:20 </td>
# </tr>
# <tr>
# <td>ifType:</td>
# <td>ethernetCsmacd (6)</td>
# </tr>
# <tr>
# <td>ifName:</td>
# <td>fe.1.20</td>
# </tr>
# <tr>
# <td>Max Speed:</td>
# <td>12.5 MBytes/s</td>
# </tr>
# </table>
# </div>

### Interface 21 >> Descr: 'EtherNet-Port-on-unit-1,-port:21' | Name:


'fe.1.21' | Ip: '' | Eth: '00-01-f4-70-aa-f5' ###
### The following interface is commented out because:
### * it is operationally DOWN
#
# Target[100.50.4.7_21]: 21:public@100.50.4.7:
# SetEnv[100.50.4.7_21]: MRTG_INT_IP="" MRTG_INT_DESCR="EtherNet-Port-on-
unit-1,-port:21"
# MaxBytes[100.50.4.7_21]: 12500000
# Title[100.50.4.7_21]: Traffic Analysis for 21 --
# PageTop[100.50.4.7_21]: <h1>Traffic Analysis for 21 -- </h1>
# <div id="sysdetails">
# <table>
# <tr>
# <td>System:</td>
# <td> in </td>
# </tr>
# <tr>
# <td>Maintainer:</td>
# <td></td>
# </tr>
# <tr>
# <td>Description:</td>
# <td>EtherNet-Port-on-unit-1,-port:21 </td>
# </tr>
# <tr>
# <td>ifType:</td>
# <td>ethernetCsmacd (6)</td>
# </tr>
# <tr>
# <td>ifName:</td>
# <td>fe.1.21</td>
# </tr>
# <tr>

Criado por Davi Eduardo R. Domingues 22


# <td>Max Speed:</td>
# <td>12.5 MBytes/s</td>
# </tr>
# </table>
# </div>

### Interface 22 >> Descr: 'EtherNet-Port-on-unit-1,-port:22' | Name:


'fe.1.22' | Ip: '' | Eth: '00-01-f4-70-aa-f6' ###
### The following interface is commented out because:
### * it is operationally DOWN
#
# Target[100.50.4.7_22]: 22:public@100.50.4.7:
# SetEnv[100.50.4.7_22]: MRTG_INT_IP="" MRTG_INT_DESCR="EtherNet-Port-on-
unit-1,-port:22"
# MaxBytes[100.50.4.7_22]: 12500000
# Title[100.50.4.7_22]: Traffic Analysis for 22 --
# PageTop[100.50.4.7_22]: <h1>Traffic Analysis for 22 -- </h1>
# <div id="sysdetails">
# <table>
# <tr>
# <td>System:</td>
# <td> in </td>
# </tr>
# <tr>
# <td>Maintainer:</td>
# <td></td>
# </tr>
# <tr>
# <td>Description:</td>
# <td>EtherNet-Port-on-unit-1,-port:22 </td>
# </tr>
# <tr>
# <td>ifType:</td>
# <td>ethernetCsmacd (6)</td>
# </tr>
# <tr>
# <td>ifName:</td>
# <td>fe.1.22</td>
# </tr>
# <tr>
# <td>Max Speed:</td>
# <td>12.5 MBytes/s</td>
# </tr>
# </table>
# </div>

### Interface 23 >> Descr: 'EtherNet-Port-on-unit-1,-port:23' | Name:


'fe.1.23' | Ip: '' | Eth: '00-01-f4-70-aa-f7' ###
### The following interface is commented out because:
### * it is operationally DOWN
#
# Target[100.50.4.7_23]: 23:public@100.50.4.7:
# SetEnv[100.50.4.7_23]: MRTG_INT_IP="" MRTG_INT_DESCR="EtherNet-Port-on-
unit-1,-port:23"
# MaxBytes[100.50.4.7_23]: 12500000

Criado por Davi Eduardo R. Domingues 23


# Title[100.50.4.7_23]: Traffic Analysis for 23 --
# PageTop[100.50.4.7_23]: <h1>Traffic Analysis for 23 -- </h1>
# <div id="sysdetails">
# <table>
# <tr>
# <td>System:</td>
# <td> in </td>
# </tr>
# <tr>
# <td>Maintainer:</td>
# <td></td>
# </tr>
# <tr>
# <td>Description:</td>
# <td>EtherNet-Port-on-unit-1,-port:23 </td>
# </tr>
# <tr>
# <td>ifType:</td>
# <td>ethernetCsmacd (6)</td>
# </tr>
# <tr>
# <td>ifName:</td>
# <td>fe.1.23</td>
# </tr>
# <tr>
# <td>Max Speed:</td>
# <td>12.5 MBytes/s</td>
# </tr>
# </table>
# </div>

### Interface 24 >> Descr: 'EtherNet-Port-on-unit-1,-port:24' | Name:


'fe.1.24' | Ip: '' | Eth: '00-01-f4-70-aa-f8' ###
### The following interface is commented out because:
### * it is operationally DOWN
#
# Target[100.50.4.7_24]: 24:public@100.50.4.7:
# SetEnv[100.50.4.7_24]: MRTG_INT_IP="" MRTG_INT_DESCR="EtherNet-Port-on-
unit-1,-port:24"
# MaxBytes[100.50.4.7_24]: 12500000
# Title[100.50.4.7_24]: Traffic Analysis for 24 --
# PageTop[100.50.4.7_24]: <h1>Traffic Analysis for 24 -- </h1>
# <div id="sysdetails">
# <table>
# <tr>
# <td>System:</td>
# <td> in </td>
# </tr>
# <tr>
# <td>Maintainer:</td>
# <td></td>
# </tr>
# <tr>
# <td>Description:</td>
# <td>EtherNet-Port-on-unit-1,-port:24 </td>
# </tr>

Criado por Davi Eduardo R. Domingues 24


# <tr>
# <td>ifType:</td>
# <td>ethernetCsmacd (6)</td>
# </tr>
# <tr>
# <td>ifName:</td>
# <td>fe.1.24</td>
# </tr>
# <tr>
# <td>Max Speed:</td>
# <td>12.5 MBytes/s</td>
# </tr>
# </table>
# </div>

### Interface 257 >> Descr: 'Trunk-Port-ID-0001' | Name: 'lag.1' | Ip: ''
| Eth: '' ###
### The following interface is commented out because:
### * it is operationally DOWN
#
# Target[100.50.4.7_257]: 257:public@100.50.4.7:
# SetEnv[100.50.4.7_257]: MRTG_INT_IP="" MRTG_INT_DESCR="Trunk-Port-ID-
0001"
# MaxBytes[100.50.4.7_257]: 12500000
# Title[100.50.4.7_257]: Traffic Analysis for 257 --
# PageTop[100.50.4.7_257]: <h1>Traffic Analysis for 257 -- </h1>
# <div id="sysdetails">
# <table>
# <tr>
# <td>System:</td>
# <td> in </td>
# </tr>
# <tr>
# <td>Maintainer:</td>
# <td></td>
# </tr>
# <tr>
# <td>Description:</td>
# <td>Trunk-Port-ID-0001 </td>
# </tr>
# <tr>
# <td>ifType:</td>
# <td>ethernetCsmacd (6)</td>
# </tr>
# <tr>
# <td>ifName:</td>
# <td>lag.1</td>
# </tr>
# <tr>
# <td>Max Speed:</td>
# <td>12.5 MBytes/s</td>
# </tr>
# </table>
# </div>

Criado por Davi Eduardo R. Domingues 25


### Interface 263 >> Descr: 'Console-port' | Name: 'com.263' | Ip: '' |
Eth: '00-00-00-00-00-00' ###
### The following interface is commented out because:
### * has a speed of 0 which makes no sense
#
# Target[100.50.4.7_263]: 263:public@100.50.4.7:
# SetEnv[100.50.4.7_263]: MRTG_INT_IP="" MRTG_INT_DESCR="Console-port"
# MaxBytes[100.50.4.7_263]: 0
# Title[100.50.4.7_263]: Traffic Analysis for 263 --
# PageTop[100.50.4.7_263]: <h1>Traffic Analysis for 263 -- </h1>
# <div id="sysdetails">
# <table>
# <tr>
# <td>System:</td>
# <td> in </td>
# </tr>
# <tr>
# <td>Maintainer:</td>
# <td></td>
# </tr>
# <tr>
# <td>Description:</td>
# <td>Console-port </td>
# </tr>
# <tr>
# <td>ifType:</td>
# <td>rs232 (33)</td>
# </tr>
# <tr>
# <td>ifName:</td>
# <td>com.263</td>
# </tr>
# <tr>
# <td>Max Speed:</td>
# <td>0.0 Bytes/s</td>
# </tr>
# </table>
# </div>

### Interface 1001 >> Descr: 'VLAN-interface-ID-0001' | Name: 'VLAN.1' |


Ip: '100.50.4.7' | Eth: '00-01-f4-70-aa-e0' ###
### The following interface is commented out because:
### * has a speed of 0 which makes no sense
#
# Target[100.50.4.7_1001]: 1001:public@100.50.4.7:
# SetEnv[100.50.4.7_1001]: MRTG_INT_IP="100.50.4.7" MRTG_INT_DESCR="VLAN-
interface-ID-0001"
# MaxBytes[100.50.4.7_1001]: 0
# Title[100.50.4.7_1001]: Traffic Analysis for 1001 --
# PageTop[100.50.4.7_1001]: <h1>Traffic Analysis for 1001 -- </h1>
# <div id="sysdetails">
# <table>
# <tr>
# <td>System:</td>
# <td> in </td>
# </tr>

Criado por Davi Eduardo R. Domingues 26


# <tr>
# <td>Maintainer:</td>
# <td></td>
# </tr>
# <tr>
# <td>Description:</td>
# <td>VLAN-interface-ID-0001 </td>
# </tr>
# <tr>
# <td>ifType:</td>
# <td>Other (1)</td>
# </tr>
# <tr>
# <td>ifName:</td>
# <td>VLAN.1</td>
# </tr>
# <tr>
# <td>Max Speed:</td>
# <td>0.0 Bytes/s</td>
# </tr>
# <tr>
# <td>Ip:</td>
# <td>100.50.4.7 ()</td>
# </tr>
# </table>
# </div>

7º passo: Verifique se os serviços do mrtg e do apache estão no ar:


#ps aux | grep mrtg
#ps aux | grep apache

8º passo: Configurar indexmaker, esse comando pega o arquivo de configuração mrtg.cfg e


gera as páginas web, index.html e as figuras (/...png).
#indexmaker /etc/mrtg.cfg > /var/www/mrtg/index.html
Agora entre na pasta:
#cd /var/www/mrtg
#ls
#date
Verifique os serviços:
#ls – la

9º passo: Rode o apache e o mrtg


#apache start
#env LANG=C /usr/bin/mrtg

10º passo: Enfim chegou a hora de testarmos se funcionou, esse é o último passo do mrtg.
Execute o internet explorer, ou qualquer navegador web:
http://localhost/mrtg/index.html , no meu caso coloquei o endereço IP do meu servidor
linux: http://100.50.7.3/mrtg, que conseqüentemente aponta para o IP do switch.

Criado por Davi Eduardo R. Domingues 27


Figura 05 – Interface geral do MRTG.

11º passo: Esse passo é somente para quem for instalar alguma ferramenta que gere tráfego
na rede, quem não quiser não precisa de instalar, mas no meu caso foi utilizado o BRICKS,
para configurar esse programa se tem que ter duas máquinas com windows, A figura 06 e
07 mostrará o programa Bricks em andamento, que tem a função de gerar tráfego na rede.

Criado por Davi Eduardo R. Domingues 28


Figura 06 – Bricks Receptor

Figura 07 – Bricks Transmissor

Criado por Davi Eduardo R. Domingues 29


Depois de rodar o programa Bricks nas duas máquinas que estão com WINDOWS,
podemos verificar que o consumo da rede ficou com 99% e do cpu em torno de 60%.

Figura 08 Figura 09

5. Monitoramento do MRTG

 Equipamento a ser monitorado: Switch Enterasys, Inc. V2H124-24. Sendo que foi
disponibilizado somente as 5 primeiras portas para monitoramento.
 Tempo de monitoramento: 19h23min

A partir dos gráficos gerados, podemos observar que na interface 02, não foi conectado
nenhum dispositivo, assim não gerando nenhum resultado de tráfego no gráfico.

5.1. Tráfego da Porta 01: MICRO 01 (IP: 100.50.0.8) COM WINXP


Traffic Analysis for 1 --
System: in
Maintainer:
Description:
ifType: ethernetCsmacd (6)
ifName: fe.1.1
Max Speed: 12.5 MBytes/s

Criado por Davi Eduardo R. Domingues 30


A última atualização desta estatística foi Sexta, 27 Abril de 2007 às 10:10, com um tempo
total de 19:23:43.

5.1.1. Grafico `Diário' (5 Minutos Média)

Max Average Current


Entrada 10.8 MB/s (86.3%) 4950.7 kB/s (39.6%) 7904.4 kB/s (63.2%)
Saída 12.2 MB/s (97.5%) 8396.8 kB/s (67.2%) 11.3 MB/s (90.8%)

5.1.2. Gráfico `Semanal' (30 Minutos Média)

Max Average Current


Entrada 10.6 MB/s (84.6%) 4832.7 kB/s (38.7%) 8345.8 kB/s (66.8%)
Saída 12.0 MB/s (95.8%) 8281.4 kB/s (66.3%) 11.5 MB/s (92.4%)

5.1.3. Gráfico `Mensal' (2 Horas Média)

Max Average Current


Entrada 8772.8 kB/s (70.2%) 4600.8 kB/s (36.8%) 1755.1 kB/s (14.0%)

Criado por Davi Eduardo R. Domingues 31


Saída 12.0 MB/s (95.8%) 7960.7 kB/s (63.7%) 2404.5 kB/s (19.2%)

5.1.4. Gráfico `Anual' (1 Dia Média)

Max Average Current


In 0.0 B/s (0.0%) 0.0 B/s (0.0%) 0.0 B/s (0.0%)
Out 0.0 B/s (0.0%) 0.0 B/s (0.0%) 0.0 B/s (0.0%)
Entrada de Tráfego em Bytes por
Verde ###
Segundo
Azul ### Saída de Tráfego em Bytes por Segundo

5.2. Tráfego da Porta 02:


Traffic Analysis for 2 --
System: in
Maintainer:
Description:
ifType: ethernetCsmacd (6)
ifName: fe.1.2
Max Speed: 12.5 MBytes/s

5.2.1. Grafico `Diário' (5 Minutos Média)

Max Average Current

Criado por Davi Eduardo R. Domingues 32


Entrada 0.0 B/s (0.0%) 0.0 B/s (0.0%) 0.0 B/s (0.0%)
Saída 0.0 B/s (0.0%) 0.0 B/s (0.0%) 0.0 B/s (0.0%)

5.2.2. Gráfico `Semanal' (30 Minutos Média)

Max Average Current


Entrada 0.0 B/s (0.0%) 0.0 B/s (0.0%) 0.0 B/s (0.0%)
Saída 0.0 B/s (0.0%) 0.0 B/s (0.0%) 0.0 B/s (0.0%)

5.2.3. Gráfico `Mensal' (2 Horas Média)

Max Average Current


Entrada 0.0 B/s (0.0%) 0.0 B/s (0.0%) 0.0 B/s (0.0%)
Saída 0.0 B/s (0.0%) 0.0 B/s (0.0%) 0.0 B/s (0.0%)

5.2.4. Gráfico `Anual' (1 Dia Média)

Criado por Davi Eduardo R. Domingues 33


Max Average Current
Entrada 0.0 B/s (0.0%) 0.0 B/s (0.0%) 0.0 B/s (0.0%)
Saída 0.0 B/s (0.0%) 0.0 B/s (0.0%) 0.0 B/s (0.0%)
Entrada de Tráfego em Bytes por
Verde ###
Segundo
Azul ### Saída de Tráfego em Bytes por Segundo

5.3. Tráfego da Porta 03: MICRO 02 (100.50.0.5) COM WINXP


Traffic Analysis for 3 --
System: in
Maintainer:
Description: EtherNet-Port-on-unit-1,-port:3
ifType: ethernetCsmacd (6)
ifName: fe.1.3
Max Speed: 12.5 MBytes/s

5.3.1. Grafico `Diário' (5 Minutos Média)

Max Average Current


Entrada 12.2 MB/s (97.5%) 8472.2 kB/s (67.8%) 11.3 MB/s (90.8%)
Saída 10.8 MB/s (86.3%) 4995.5 kB/s (40.0%) 7904.6 kB/s (63.2%)

5.3.2. Gráfico `Semanal' (30 Minutos Média)

Criado por Davi Eduardo R. Domingues 34


Max Average Current
Entrada 12.0 MB/s (95.8%) 8369.8 kB/s (67.0%) 11.6 MB/s (92.5%)
Saída 10.6 MB/s (84.6%) 4924.6 kB/s (39.4%) 8228.2 kB/s (65.8%)

5.3.3. Gráfico `Mensal' (2 Horas Média)

Max Average Current


Entrada 12.0 MB/s (95.8%) 7960.5 kB/s (63.7%) 2404.5 kB/s (19.2%)
Saída 8773.2 kB/s (70.2%) 4601.0 kB/s (36.8%) 1755.2 kB/s (14.0%)

5.3.4. Gráfico `Anual' (1 Dia Média)

Max Average Current


Entrada 0.0 B/s (0.0%) 0.0 B/s (0.0%) 0.0 B/s (0.0%)
Saída 0.0 B/s (0.0%) 0.0 B/s (0.0%) 0.0 B/s (0.0%)
Entrada de Tráfego em Bytes por
Verde ###
Segundo
Azul ### Saída de Tráfego em Bytes por Segundo

Criado por Davi Eduardo R. Domingues 35


5.4. Tráfego da Porta 04: LIGADO NO FIREWALL, EM OUTRO SWITCH
Traffic Analysis for 4 --
System: in
Maintainer:
Description: EtherNet-Port-on-unit-1,-port:4
ifType: ethernetCsmacd (6)
ifName: fe.1.4
Max Speed: 12.5 MBytes/s

5.4.1. Grafico `Diário' (5 Minutos Média)

Max Average Current


Entrada 69.3 kB/s (0.6%) 31.4 kB/s (0.3%) 68.0 B/s (0.0%)
Saída 68.4 kB/s (0.5%) 51.0 kB/s (0.4%) 21.0 B/s (0.0%)

5.4.2. Gráfico `Semanal' (30 Minutos Média)

Max Average Current


Entrada 68.8 kB/s (0.6%) 31.1 kB/s (0.2%) 1310.0 B/s (0.0%)
Saída 67.6 kB/s (0.5%) 50.5 kB/s (0.4%) 366.0 B/s (0.0%)

Criado por Davi Eduardo R. Domingues 36


5.4.3. Gráfico `Mensal' (2 Horas Média)

Max Average Current


Entrada 68.6 kB/s (0.5%) 31.9 kB/s (0.3%) 1270.0 B/s (0.0%)
Saída 67.5 kB/s (0.5%) 51.9 kB/s (0.4%) 52.5 kB/s (0.4%)

5.4.4. Gráfico `Anual' (1 Dia Média)

Max Average Current


Entrada 0.0 B/s (0.0%) 0.0 B/s (0.0%) 0.0 B/s (0.0%)
Saída 0.0 B/s (0.0%) 0.0 B/s (0.0%) 0.0 B/s (0.0%

5.5. Tráfego da Porta 05: LINUX


Traffic Analysis for 5 --
System: in
Maintainer:
Description: EtherNet-Port-on-unit-1,-port:5

Criado por Davi Eduardo R. Domingues 37


ifType: ethernetCsmacd (6)
ifName: fe.1.5
Max Speed: 12.5 MBytes/s

5.5.1. Grafico `Diário' (5 Minutos Média)

Max Average Current


Entrada 68.0 kB/s (0.5%) 49.2 kB/s (0.4%) 167.0 B/s (0.0%)
Saída 69.1 kB/s (0.6%) 30.1 kB/s (0.2%) 139.0 B/s (0.0%)

5.6.2. Gráfico `Semanal' (30 Minutos Média)

Max Average Current


Entrada 67.6 kB/s (0.5%) 49.2 kB/s (0.4%) 379.0 B/s (0.0%)
Saída 68.6 kB/s (0.5%) 30.1 kB/s (0.2%) 1339.0 B/s (0.0%)

5.6.3. Gráfico `Mensal' (2 Horas Média)

Criado por Davi Eduardo R. Domingues 38


Max Average Current
Entrada 67.5 kB/s (0.5%) 51.9 kB/s (0.4%) 52.5 kB/s (0.4%)
Saída 68.5 kB/s (0.5%) 31.7 kB/s (0.3%) 1299.0 B/s (0.0%)

5.6.4. Gráfico `Anual' (1 Dia Média)

Max Average Current


Entrada 0.0 B/s (0.0%) 0.0 B/s (0.0%) 0.0 B/s (0.0%)
Saída 0.0 B/s (0.0%) 0.0 B/s (0.0%) 0.0 B/s (0.0%)
Entrada de Tráfego em Bytes por
Verde ###
Segundo
Azul ### Saída de Tráfego em Bytes por Segundo

6. Conclusão

Percebe-se que é de suma importância a utilização de alguma ferramenta que faça o


gerenciamento da rede nos trazendo dados reais de entrada e saída da rede, na qual a
ferramenta MRTG atende plenamente o que há de monitoramento, além do mais podemos
saber quais resultados de tráfego de dados por hora, diário, semanal, mensal ou anual,
fornecendo informações dos bits que entram e que saem. Muitas das vezes através do
MRTG, podemos verificar a largura de consumo da banda do link utilizado.

7. Bibliografia

[1] MRTG – Configurando o MRTG: <www.devin.com.br/eitch/mrtg/>. Acesso em: 26


abril. 2007.

Criado por Davi Eduardo R. Domingues 39


[2] MRTG (Multi Router Traffic Grapher). Disponível em: <http://oss.oetiker.ch/mrtg/ > .
Acesso em: 26 abril. 2007.

[2] Medidas e Caracterização de Tráfego de Rede. Disponível em:


<http://www.rnp.br/_arquivo/sci/2003/trafego_medidas.pdf>. Acesso em: 27 abril. 2007.

Criado por Davi Eduardo R. Domingues 40

You might also like