Re: Erro no SNMP com CISCO
Shine <[email protected]> Fri, 5 Aug 2011 17:02:10 -0300
| Newsgroups | gmane.network.nagios.user.brazil |
|---|---|
| Message-ID | <CAJSE2wJg8bg5=p2Y8igrX=RZSgzOWTMTOf0U3QY9Bxq7i5cMYA@mail.gmail.com> |
Oi. > *Router que obtenho a Resposta pela metade* > *[t@localhost ~]# /usr/local/nagios/libexec/check_snmp_cisco_ifstatus -C > public -i Serial0 -H 162.18.2.254 > Interface Serial0 not found on device 162.18.2.254 > [t@localhost ~]#* N=E3o achou a interface na database... Faz "show ip int brief" no roteador... manda somente a linha com a interface Serial0. > *Router que nao obtenho resposta nenhuma > *[t@localhost ~]# /usr/local/nagios/libexec/check_snmp_cisco_ifstatus -C > public -i Serial0 -H 162.18.8.254 > Agent not responding, tried SNMP v1 and v2 > [t@localhost ~]#* Faz "show run | include snmp" no roteador. Confere se a community public est=E1 configurada. > *Porem quando digito o comando, check_ifstatus nos routers 2.254 e 8.254 > obtenho essas informa=E7=F5es:* > > *[t@localhost ~]# /usr/local/nagios/libexec/check_ifstatus -C public -v 1= -H > 162.18.8.254 > CRITICAL: No response from remote host '162.18.8.254' for > 1.3.6.1.2.1.2.2.1.8 =A0with snmp version 1 T=E1 mortinho da silva... > [t@localhost ~]# /usr/local/nagios/libexec/check_ifstatus -C public -H > 162.18.2.254 > CRITICAL: host '162.18.2.254', interfaces up: 2, down: 26, dormant: 0, > excluded: 0, unused: 0<BR>EtherNet Port on unit 1, port:11: down > <BR>EtherNet Port on unit 1, port:21: down <BR>EtherNet Port on unit 1, > port:7: down <BR>EtherNet Port on unit 1, port:26: down <BR>EtherNet Port= on > unit 1, port:17: down <BR>EtherNet Port on unit 1, port:22: down > <BR>EtherNet Port on unit 1, port:18: down <BR>EtherNet Port on unit 1, > port:13: down <BR>EtherNet Port on unit 1, port:16: down <BR>EtherNet Port > on unit 1, port:23: down <BR>EtherNet Port on unit 1, port:25: down > <BR>EtherNet Port on unit 1, port:27: down <BR>EtherNet Port on unit 1, > port:6: down <BR>EtherNet Port on unit 1, port:28: down <BR>EtherNet Port= on > unit 1, port:3: down <BR>EtherNet Port on unit 1, port:9: down <BR>EtherN= et > Port on unit 1, port:12: down <BR>EtherNet Port on unit 1, port:20: down > <BR>EtherNet Port on unit 1, port:14: down <BR>EtherNet Port on unit 1, > port:15: down <BR>EtherNet Port on unit 1, port:8: down <BR>EtherNet Port= on > unit 1, port:4: down <BR>EtherNet Port on unit 1, port:24: down <BR>Ether= Net > Port on unit 1, port:19: down <BR>EtherNet Port on unit 1, port:10: down > <BR>EtherNet Port on unit 1, port:5: down <BR> > =A0|up=3D2,down=3D26,dormant=3D0,excluded=3D0,unused=3D0* Tenta /usr/local/nagios/libexec/check_ifstatus -C public -i Serial0 -H 162.18.2.254 > Onde est=E3o sendo os meus erros? > Sei que no caso que obtenho os dados pela metade =E9 devido a porta errad= a, > por=E9m j=E1 tentei as interfaces Serial0 ate 4, Atm0 ate 4, FastEthernet= 0 ate 4 > e PPP0 ate 4 e em todas obtive a mesma resposta, nao existe... quais > intefaces faltam? As interfaces Cisco variam de modelo para modelo, se o seu modelo for modular ele vai ter um nome de interface diferente de um modelo n=E3o-modular, por exemplo. > Qual =E9 a melhor maneira de obter os dados iguais ao do plugin que eu go= stei? Eu acho q vc vai ter que customizar o plugin por modelo de equipamento. No resto, depende do administrador dos equipamentos. sd, Edgar ---------------------------------------------------------------------------= --- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. = Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 -- = [email protected] mailing list https://lists.sourceforge.net/lists/listinfo/nagios-users-br Wiki: http://nagios-br.sf.net/wiki