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

Re: MRTG



    O problema ae me parece que é o servidor snmpd. Você tem que configura-lo para funcionar com outra mib e o SNMPv2 (creio que é isso). A dica é instalar o snmpd e o snmp, depois executar o snmpconf.
 
    Boa sorte
----- Original Message -----
To: Debian
Sent: Thursday, January 23, 2003 5:57 PM
Subject: MRTG

Opa lista.
Estou enfrentando alguns problemas com MRTG.
Baixei o mrtg pelo apt e criei um conf. simples para ele que é a:
 
zeus (/var/www/pagina/link)# cat /etc/link.cfg
######################################################################
# Multi Router Traffic Grapher -- Sample Configuration File
######################################################################
# This file is for use with mrtg-2.5.4c
 
# Global configuration
WorkDir: /var/www/pagina/link
WriteExpires: Yes
 
Title[^]: Analise do Link
 
# 128K leased line
# ----------------
Title[eth1]: 256kbs de Link
PageTop[eth1]: <H1>Link de 256k</H1>
Target[eth1]: 1:maicon@raidbr.com.br
MaxBytes[eth1]: 16000
ai rodo ele chamando essa conf.
E depois de alguns segundos me aparece isso...
 
zeus (/var/www/pagina/link)# mrtg /etc/link.cfg
SNMP Error:
no response received
SNMPv1_Session (remote host: "raidbr.com.br" [200.203.13.29].161)
                  community: "maicon"
                 request ID: 161797923
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/lib/perl5/SNMP_util.pm line 456
SNMPGET Problem for ifInOctets.1 ifOutOctets.1 sysUptime sysName on maicon@raidbr.com.br
 at /usr/bin/mrtg line 1496
WARNING: Expected a number but got ''
WARNING: Expected a number but got ''
Rateup WARNING: /usr/bin/rateup could not read the primary log file for eth1
Rateup WARNING: /usr/bin/rateup The backup log file for eth1 was invalid as well
Rateup WARNING: /usr/bin/rateup Can't remove eth1.old updating log file
Rateup WARNING: /usr/bin/rateup Can't rename eth1.log to eth1.old updating log file
Alguem saberia me informar algo sobre este erro, se alguem ja passou por isso?
Porque usando o tar.gz do mrtg eu consigo fazer funcionar, mas pelo instalando ele pelo apt nao to tendo exito.
 
Ele ate cria a pagina, mas nao gera as estatisticas e talz..
 
Grande Abraço a todos;
 
Maicon Triches

Reply to: