Erro no SNMP com CISCO
Amilar Sales Alves <[email protected]> Fri, 5 Aug 2011 13:39:46 -0400
| Newsgroups | gmane.network.nagios.user.brazil |
|---|---|
| Message-ID | <CAP0_uJ23bcoFcobGJX9_5Qj9Unsx2R4TQRCdSF+YwKLpu3zfkA@mail.gmail.com> |
Ol=E1 a Todos, Desculpe estar mudando um pouco o assunto, mas sou novato em nagios, e estou precisando de um Help com monitoramento de routers, ainda estou apanhando um pouco com SNMP... Baxei diversos plugins, porem so obtive sucesso com um, que me agradou muito, porem, ele s=F3 obtem resposta de uns routers da minha rede, a minor= ia, e os outros nao consigo... Segue abaixo minha situa=E7=E3o: Plugin utilizado: check_snmp_cisco_ifstatus *Router OK!* [t@localhost ~]# /usr/local/nagios/libexec/check_snmp_cisco_ifstatus -C public -i Serial0 -H 162.18.3.254 Status is OK - Serial0 (frameRelay DTE) - Current: 25 Kbps, Limit: 1.544 Mbps, MTU: 1500, Last change: 3 days, 18:10:40.70, STATS:(in errors: 197, out errors: 0, queue length: 0) [t@localhost ~]# *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 ~]#* *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 ~]#* *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 with snmp version 1 [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>EtherNet 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>EtherNet 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> |up=3D2,down=3D26,dormant=3D0,excluded=3D0,unused=3D0* Onde est=E3o sendo os meus erros? Sei que no caso que obtenho os dados pela metade =E9 devido a porta errada, por=E9m j=E1 tentei as interfaces Serial0 ate 4, Atm0 ate 4, FastEthernet0 = ate 4 e PPP0 ate 4 e em todas obtive a mesma resposta, nao existe... quais intefaces faltam? Qual =E9 a melhor maneira de obter os dados iguais ao do plugin que eu gost= ei? * Amilar Sales Alves * E-mail: [email protected] MSN: [email protected] Twitter: @amilar_sales ---------------------------------------------------------------------------= --- 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