[FUG-BR] SNMP + MRTG
R. Filippus
filippus em gmail.com
Sex Mar 4 15:48:26 BRT 2005
Bom, observei que em /usr/local/share/snmp/ tinha um arquivo
snmpd.conf.sample, então cp snmp.conf.sample snmp.conf, e adicionei a
linha que vc comentou.
Mas os erros persistem.
Alguem tem um howto sobre o snmp?
Log erro:
2004-03-05 15:45:00 -- Started mrtg with config '/usr/local/etc/mrtg/mrtg.cfg'
2004-03-05 15:45:00 -- ERROR: I Quit! Another copy of mrtg seems to be
running. Check /usr/local/etc/mrtg/mrtg.pid
2004-03-05 15:47:46 -- SNMP Error:
no response received
SNMPv1_Session (remote host: "192.168.250.250" [192.168.250.250].161)
community: "public"
request ID: 555956008
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/local/lib/perl5/site_perl/5.8.5/SNMP_util.pm line 490
2004-03-05 15:47:46 -- SNMPGET Problem for ifInOctets.1 ifOutOctets.1
sysUptime sysName on public em 192.168.250.250::::::v4only
at /usr/local/bin/mrtg line 1849
2004-03-05 15:47:46 -- WARNING: skipping because at least the query
for ifInOctets.1 on 192.168.250.250 did not succeed
2004-03-05 15:47:46 -- WARNING: no data for
ifInOctets&ifOutOctets:public em 192.168.250.250. Skipping further
queries for Host 192.168.250.250 in this round.
2004-03-05 15:47:46 -- ERROR: Target[porta1][_IN_] '
$target->[0]{$mode} ' did not eval into defined data
2004-03-05 15:47:46 -- ERROR: Target[porta1][_OUT_] '
$target->[0]{$mode} ' did not eval into defined data
On Fri, 4 Mar 2005 12:41:19 -0300 (BRST), Ricardo de Lima e Souza
<ricardo em bsiinformatica.com.br> wrote:
> Filippus,
>
> Edite o arquivo /usr/local/share/snmp/snmpd.conf e insira a linha abaixo:
>
> rocommunity public x.x.x.x/24
>
> onde: x.x.x.x = classe de ip da sua rede
>
> Atenciosamente,
>
> Ricardo Souza
> Administrador de Redes
> ricardo em bsiinformatica.com.br
>
>
> On Fri, 4 Mar 2005, R. Filippus wrote:
>
--
Atenciosamente,
R. Filippus
_______________________________________________________________
Para enviar um novo email para a lista: freebsd em fug.com.br
Sair da Lista: http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br
Historico: http://www4.fugspbr.org/lista/html/FUG-BR/
Mais detalhes sobre a lista de discussão freebsd