[GTER] Duvidas sobre o MRTG

zane at embratel.com.br zane at embratel.com.br
Fri Jun 11 18:36:24 -03 2004






Companheiro

Estou com as seguintes dúvidas e gostaria de contar com sua ajuda , mas
antes eu gostaria de dizer que possuo o seguinte ambiente, aonde eu rodo o
MRG

   WINDOWS 2000
   MRTG-2.10.13
   PERL
   APACHE

1) Gostaria de saber como possos fazer com que o MRTG rode todos os
processo de uma vez, os quais eu quero monitorar, sem que eu necessite
abrir uma janela DOS para cada processo, de maneira manual.  Você possui
algum scripr para isso ou uma dica de configuração?

2) Eu estou fazendo uma coleta dos seguintes objetos e gostaria de contar
com a sua experiência  para saber se eu configurei os arquivos corretamente
e/ou se esqueci algum ítem ou mesmo, definí parâmetros ou escalas
inconsistentes.

2.1) Para o tráfego das portas Ethernet  eu configurei da seguinte maneira
(arquivo --> SWBAY2#ETH1.cfg )

RunAsDaemon: Yes
Interval: 5
WorkDir: c:\www\mrtg
Options[_]: growright, bits
withpeak[_]: wmytg
EnableIPv6: no
# Created by
# cfgmaker xxxxxx at oct1.oct2.oct3.oct4 --global 'Workdir: c\www\mrtg'
--output SWBAY2#ETH1.cfg

######################################################################
# System: Switch de Laboratorio BAY-2
# Description: BayStack 450-24T HW:RevB  FW:V1.48 SW:v4.3.0.4 ISVN:2
# Contact: Zanegrey
# Location: 17 andar
######################################################################

### Interface 1 >> Descr: 'BayStack-450-24T---1' | Name: 'SWBAY2' | Ip:
'oct1.oct2.oct3.oct4' | Eth: '1' ###

Target[SWBAY2#ETH_1]: 1:xxxxxx at oct1.oct2.oct3.oct4
SetEnv[SWBAY2#ETH_1]: MRTG_INT_IP="10.16.254.2" MRTG_INT_DESCR
="BayStack-450-24T---1"
MaxBytes[SWBAY2#ETH_1]: 25000000
Title[SWBAY2#ETH_1]: Traffic Analysis for 1 -- Switch de Laboratorio BAY-2
PageTop[SWBAY2#ETH_1]: <H1>Traffic Analysis for 1 -- Switch de Laboratorio
BAY-2</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>Switch de Laboratorio BAY-2 in 17
andar</TD></TR>
   <TR><TD>Maintainer:</TD> <TD>Zanegrey</TD></TR>
   <TR><TD>Description:</TD><TD>BayStack-450-24T---1  </TD></TR>
   <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>
   <TR><TD>ifName:</TD>     <TD></TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>25.0 MBytes/s</TD></TR>
   <TR><TD>Ip:</TD>         <TD>oct1.oct2.oct3.oct4 ()</TD></TR>
 </TABLE>

2.2) Para obter o número de Octetos das portas Ethernet  eu configurei da
seguinte maneira (arquivo --> SWBAY2#OCTETH1.cfg )

RunAsDaemon: Yes
Interval: 5
WorkDir: c:\www\mrtg
Options[_]: growright, bits
withpeak[_]: wmytg
EnableIPv6: no
# Created by
# cfgmaker xxxxxx at oct1.oct2.oct3.oct4 --global 'Workdir: c\www\mrtg'
--output mrtg.cfg

######################################################################
# System: Switch de Laboratorio BAY-2
# Description: BayStack 450-24T HW:RevB  FW:V1.48 SW:v4.3.0.4 ISVN:2
# Contact: Zanegrey
# Location: 17 andar
######################################################################

### Interface 1 >> Descr: 'BayStack-450-24T---1' | Name: 'SWBAY2' | Ip:
'oct1.oct2.oct3.oct4' | Octetos em Eth: '1' ###

Target[SWBAY2#OCTETH_1]:
ifInOctets.1&ifOutOctets.1:xxxxxx at oct1.oct2.oct3.oct4
SetEnv[SWBAY2#OCTETH_1]: MRTG_INT_IP="oct1.oct2.oct3.oct4" MRTG_INT_DESCR
="BayStack-450-24T---1"
MaxBytes[SWBAY2#OCTETH_1]: 1000000
Title[SWBAY2#OCTETH_1]: Quantidade de Octetos -- Switch de Laboratorio
BAY-2 -- Porta Eth#1
PageTop[SWBAY2#OCTETH_1]: <H1>Quantidade de Octetos -- Switch de
Laboratorio BAY-2 -- Porta Eth#1</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>Switch de Laboratorio BAY-2 in 17
andar</TD></TR>
   <TR><TD>Maintainer:</TD> <TD>Zanegrey</TD></TR>
   <TR><TD>Description:</TD><TD>BayStack-450-24T---1  </TD></TR>
   <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>
   <TR><TD>ifName:</TD>     <TD></TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>1000000 Octetos</TD></TR>
   <TR><TD>Ip:</TD>         <TD>oct1.oct2.oct3.oct4 ()</TD></TR>
 </TABLE>


2.3) Para obter o número de Discards das portas Ethernet  eu configurei da
seguinte maneira (arquivo --> SWBAY2#DISCARTSETH1.cfg )

RunAsDaemon: Yes
Interval: 5
WorkDir: c:\www\mrtg
Options[_]: growright, bits
withpeak[_]: wmytg
EnableIPv6: no
# Created by
# cfgmaker xxxxxx at oct1.oct2.oct3.oct4 --global 'Workdir: c\www\mrtg'
--output mrtg.cfg

######################################################################
# System: Switch de Laboratorio BAY-2
# Description: BayStack 450-24T HW:RevB  FW:V1.48 SW:v4.3.0.4 ISVN:2
# Contact: Zanegrey
# Location: 17 andar
######################################################################

### Interface 1 >> Descr: 'BayStack-450-24T---1' | Name: 'SWBAY2' | Ip:
'oct1.oct2.oct3.oct4' | Octetos em Eth: '1' ###

Target[SWBAY2#DISCRTSETH_1]:
1.3.6.1.2.1.2.2.1.13.1&1.3.6.1.2.1.2.2.1.19.1:xxxxxx at oct1.oct2.oct3.oct4
SetEnv[SWBAY2#DISCRTSETH_1]: MRTG_INT_IP="10.16.254.2" MRTG_INT_DESCR
="BayStack-450-24T---1"
MaxBytes[SWBAY2#DISCRTSETH_1]: 1000000
Title[SWBAY2#DISCRTSETH_1]: Quantidade de Discarts -- Switch de Laboratorio
BAY-2 -- Porta Eth#1
PageTop[SWBAY2#DISCRTSETH_1]: <H1>Quantidade de Discarts -- Switch de
Laboratorio BAY-2 -- Porta Eth#1</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>Switch de Laboratorio BAY-2 in 17
andar</TD></TR>
   <TR><TD>Maintainer:</TD> <TD>Zanegrey</TD></TR>
   <TR><TD>Description:</TD><TD>BayStack-450-24T---1  </TD></TR>
   <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>
   <TR><TD>ifName:</TD>     <TD></TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>1000000 Discarts</TD></TR>
   <TR><TD>Ip:</TD>         <TD>1oct1.oct2.oct3.oct4 ()</TD></TR>
 </TABLE>

2.4) Para obter o número de Erros das portas Ethernet  eu configurei da
seguinte maneira  (arquivo --> SWBAY2#ERRETH1.cfg )

RunAsDaemon: Yes
Interval: 5
WorkDir: c:\www\mrtg
Options[_]: growright, bits
withpeak[_]: wmytg
EnableIPv6: no
# Created by
# cfgmaker xxxxxx at oct1.oct2.oct3.oct4 --global 'Workdir: c\www\mrtg'
--output mrtg.cfg

######################################################################
# System: Switch de Laboratorio BAY-2
# Description: BayStack 450-24T HW:RevB  FW:V1.48 SW:v4.3.0.4 ISVN:2
# Contact: Zanegrey
# Location: 17 andar
######################################################################

### Interface 1 >> Descr: 'BayStack-450-24T---1' | Name: 'SWBAY2' | Ip:
'10.16.254.2' | Erros em Eth: '1' ###

Target[SWBAY2#ERRETH_1]:
1.3.6.1.2.1.2.2.1.14.1&1.3.6.1.2.1.2.2.1.20.1:xxxxxx at oct1.oct2.oct3.oct4
SetEnv[SWBAY2#ERRETH_1]: MRTG_INT_IP="oct1.oct2.oct3.oct4" MRTG_INT_DESCR
="BayStack-450-24T---1"
MaxBytes[SWBAY2#ERRETH_1]: 1000000
Title[SWBAY2#ERRETH_1]: Quantidade de Erros -- Switch de Laboratorio BAY-2
-- Porta Eth#1
PageTop[SWBAY2#ERRETH_1]: <H1>Quantidade de Erros -- Switch de Laboratorio
BAY-2 -- Porta Eth#1</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>Switch de Laboratorio BAY-2 in 17
andar</TD></TR>
   <TR><TD>Maintainer:</TD> <TD>Zanegrey</TD></TR>
   <TR><TD>Description:</TD><TD>BayStack-450-24T---1  </TD></TR>
   <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>
   <TR><TD>ifName:</TD>     <TD></TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>1000000 Erros</TD></TR>
   <TR><TD>Ip:</TD>         <TD>oct1.oct2.oct3.oct4 ()</TD></TR>
 </TABLE>


4)  Você poderia me dizer como eu faço para monitorar:

Você teria uma dica passo-a-passo de coomo eu faço para construir uma
páginda INDEX usando o INDEXMAKER e/ou possui algum arquivo para ser
editado que eu possa usar como exemplo.

5) Você poderia me dizer como eu faço para monitorar:

   CPU do Bay450 e quais os parâmetros que eu utilizo dentro dos que estou
   encaminhado


      Desde já fico agradecido a todos pela atenção e ajuda


Atenciosamente

Zanegrey






More information about the gter mailing list