Ad Widget

Collapse

SNMP Mikrotik para de funcionar

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mark-47
    Junior Member
    • Dec 2015
    • 6

    #1

    SNMP Mikrotik para de funcionar

    Olá pessoal,

    uso zabbix 2.4.5 instalado no debian8, monitoro tudo certinho na minha infra switch hp, windows, BSDos, pfsense, também uso rb1200 tudo funciona direitinho via snmp, mias quando boto para monitora outras rb750 rb450, funciona so por 15 minutos depois para de captura as informação, isso so acontece com com as rbs ja na rb1200 funciona blz, alguém pode me dar uma luz
  • Jefte
    Senior Member
    • Oct 2015
    • 207

    #2
    --

    1 - {$SNMP_COMMUNITY} está correto em todos equipamentos ? é a mesma macro pra todos ? ou esta cada um com um diferente ? [pode ser algum conflito]

    2 - Está usando o mesmo template da 1200 na 750 e 450 ? ou é o template padrão zabbix ?

    Comment

    • Mark-47
      Junior Member
      • Dec 2015
      • 6

      #3
      Originally posted by Jefte
      1 - {$SNMP_COMMUNITY} está correto em todos equipamentos ? é a mesma macro pra todos ? ou esta cada um com um diferente ? [pode ser algum conflito]

      2 - Está usando o mesmo template da 1200 na 750 e 450 ? ou é o template padrão zabbix ?


      Sim uso a {$SNMP_COMMUNITY} = public para todos, tem bem uso template para mikrotik, ja analisei as OID`s estao corretas, o engraçado é que so funciona por 10 a 15 minutos depois para captura as informação, e fica estar mensagem de iten nao suportado

      Comment

      • janssenreis
        Member
        • May 2010
        • 64

        #4
        Coloca o log do Zabbix Server em nível debug em posta aqui pra gente analisar.

        Att,

        Janssen dos Reis Lima
        Blog focado em ferramentas e tecnologias na área de administração de sistemas

        Comment

        • Mark-47
          Junior Member
          • Dec 2015
          • 6

          #5
          Originally posted by janssenreis
          Coloca o log do Zabbix Server em nível debug em posta aqui pra gente analisar.

          Att,

          Janssen dos Reis Lima
          Blog focado em ferramentas e tecnologias na área de administração de sistemas

          http://store.conectsys.com.br
          Oi segue os logs do zabbix
          1371:20160107:154217.584 item "Roteador Ifer da Amazonia:.1.3.6.1.2.1.2.2.1.10.["2"]" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
          1371:20160107:154217.584 item "Roteador Ifer da Amazonia:.1.3.6.1.2.1.2.2.1.10.["3"]" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
          1371:20160107:154217.584 item "Roteador Ifer da Amazonia:.1.3.6.1.2.1.2.2.1.10.["4"]" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
          1371:20160107:154217.584 item "Roteador Ifer da Amazonia:.1.3.6.1.2.1.2.2.1.10.["5"]" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
          1371:20160107:154217.584 item "Roteador Ifer da Amazonia:.1.3.6.1.2.1.2.2.1.11.["1"]" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
          1371:20160107:154217.584 item "Roteador Ifer da Amazonia:.1.3.6.1.2.1.2.2.1.11.["2"]" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
          1371:20160107:154217.584 item "Roteador Ifer da Amazonia:.1.3.6.1.2.1.2.2.1.11.["4"]" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
          1371:20160107:154217.585 item "Roteador Ifer da Amazonia:.1.3.6.1.2.1.2.2.1.17.["2"]" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
          1371:20160107:154217.585 item "Roteador Ifer da Amazonia:.1.3.6.1.2.1.2.2.1.17.["3"]" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
          1371:20160107:154217.585 item "Roteador Ifer da Amazonia:.1.3.6.1.2.1.2.2.1.17.["4"]" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
          1371:20160107:154217.585 item "Roteador Ifer da Amazonia:.1.3.6.1.2.1.2.2.1.7.["1"]" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
          1371:20160107:154217.585 item "Roteador Ifer da Amazonia:.1.3.6.1.2.1.2.2.1.7.["2"]" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
          1371:20160107:154217.585 item "Roteador Ifer da Amazonia:.1.3.6.1.2.1.2.2.1.7.["3"]" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
          1371:20160107:154217.585 item "Roteador Ifer da Amazonia:.1.3.6.1.2.1.2.2.1.7.["5"]" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
          1371:20160107:154217.585 item "Roteador Ifer da Amazonia:.1.3.6.1.2.1.2.2.1.8.["4"]" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
          1369:20160107:154221.702 item "Roteador Ifer da Amazonia:.1.3.6.1.2.1.2.2.1.8.["1"]" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
          1369:20160107:154221.703 item "Roteador Ifer da Amazonia:.1.3.6.1.2.1.2.2.1.8.["2"]" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
          1369:20160107:154221.703 item "Roteador Ifer da Amazonia:.1.3.6.1.2.1.2.2.1.8.["3"]" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
          1369:20160107:154221.703 item "Roteador Placibras-PCE:.1.3.6.1.2.1.2.2.1.10.["4"]" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
          1369:20160107:154221.703 item "Roteador Placibras-PCE:.1.3.6.1.2.1.2.2.1.16.["3"]" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
          1369:20160107:154221.703 item "Roteador Placibras-PCE:.1.3.6.1.2.1.2.2.1.17.["3"]" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
          1369:20160107:154221.703 item "Roteador Placibras-PCE:.1.3.6.1.2.1.2.2.1.17.["4"]" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
          1369:20160107:154221.703 item "Roteador Placibras-PCE:.1.3.6.1.2.1.2.2.1.17.["5"]" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
          1369:20160107:154221.703 item "Roteador Placibras-PCE:.1.3.6.1.2.1.2.2.1.7.["1"]" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
          1369:20160107:154221.703 item "Roteador Placibras-PCE:.1.3.6.1.2.1.2.2.1.7.["3"]" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
          1369:20160107:154221.703 item "Roteador Placibras-PCE:.1.3.6.1.2.1.2.2.1.7.["4"]" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
          1369:20160107:154221.703 item "Roteador Placibras-PCE:.1.3.6.1.2.1.2.2.1.7.["5"]" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
          1371:20160107:154223.074 item "Roteador Seta Atacadista av.Silves:.1.3.6.1.2.1.2.2.1.10.["1"]" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
          1371:20160107:154223.074 item "Roteador Seta Atacadista av.Silves:.1.3.6.1.2.1.2.2.1.10.["2"]" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
          1371:20160107:154223.074 item "Roteador Seta Atacadista av.Silves:.1.3.6.1.2.1.2.2.1.10.["3"]" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
          1371:20160107:154223.075 item "Roteador Seta Atacadista av.Silves:.1.3.6.1.2.1.2.2.1.10.["4"]" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
          1371:20160107:154223.075 item "Roteador Seta Atacadista av.Silves:.1.3.6.1.2.1.2.2.1.10.["5"]" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
          1371:20160107:154223.075 item "Roteador Seta Atacadista av.Silves:.1.3.6.1.2.1.2.2.1.11.["1"]" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
          1371:20160107:154223.075 item "Roteador Seta Atacadista av.Silves:.1.3.6.1.2.1.2.2.1.11.["2"]" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.



          é incrivel que ele funcionar so quando adiciono como host captura as informacoes normalmente inclusive gera graficos e tudo mais, mas ai passa 15 minutos ele para de captura as informacoes e dar esses erros.

          Comment

          • janssenreis
            Member
            • May 2010
            • 64

            #6
            Após o Zabbix parar de coletar os dados, se você executar um snmpwalk para o dispositivo ele responde com os dados corretos?

            Qual é a distribuição que você está utilizando?
            Qual é a versão do Zabbix?

            Att,

            Janssen dos Reis Lima
            Blog focado em ferramentas e tecnologias na área de administração de sistemas

            Comment

            • Hernandes Martins
              Senior Member
              Zabbix Certified SpecialistZabbix Certified Professional
              • Apr 2011
              • 900

              #7
              Mark,

              Da uma olhada ali na mib, parece que o seu zabbix não está interpretando ou não está com as mibs corretas, ( (noSuchName) There is no such variable name), parece que ele não está traduzindo os nomes dos itens.
              __

              Att.
              Hernandes Martins - Zabbix Trainer

              Zabbix Brazil Partner - www.luniobr.com

              Zabbix Brazil Community - www.zabbixbrasil.org

              Blog: hernandesmartins.blogspot.com.br

              Skype: hernandss
              Telegram: @MrHernandes

              Español
              Facebook: facebook.com/groups/zabbixlatam
              Telegram: https://t.me/ZabbixEspañol

              Português
              Facebook: facebook.com/groups/zabbixbrasil/
              Telegram: https://t.me/ZabbixBrasil

              Comment

              • Mark-47
                Junior Member
                • Dec 2015
                • 6

                #8
                ele funciona por ums instantes depois da erro

                Comment

                • Hernandes Martins
                  Senior Member
                  Zabbix Certified SpecialistZabbix Certified Professional
                  • Apr 2011
                  • 900

                  #9
                  Olá meu caro,

                  De uma olhada nas mibs, veja se estão corretas e se você adicionou as mibs do equipamento no diretorio de mibs.

                  Insira a mib dentro do diretório de mibs do S.O Zabbix server e valide se ela está funcional.

                  Para validar digite o comando

                  snmpwalk -v1 ou v2 -c suacommnity 192.16x.xxx.xxx item a ser monitorado
                  snmpwalk -v1 ou v2 -c suacommnity 192.16x.xxx.xxx e1
                  snmpwalk -v1 ou v2 -c suacommnity 192.16x.xxx.xxx channels


                  Observe o tutorial no link a seguir.

                  http://www.net-snmp.org/wiki/index.p...d_loading_MIBS


                  __

                  Att.
                  Hernandes Martins - Zabbix Trainer

                  Zabbix Brazil Partner - www.luniobr.com

                  Zabbix Brazil Community - www.zabbixbrasil.org

                  Blog: hernandesmartins.blogspot.com.br

                  Skype: hernandss
                  Telegram: @MrHernandes

                  Español
                  Facebook: facebook.com/groups/zabbixlatam
                  Telegram: https://t.me/ZabbixEspañol

                  Português
                  Facebook: facebook.com/groups/zabbixbrasil/
                  Telegram: https://t.me/ZabbixBrasil

                  Comment

                  • Mark-47
                    Junior Member
                    • Dec 2015
                    • 6

                    #10
                    amigao tenho que fazer download das mibs padrao na versao 2.4 ? uso ele no debian8

                    Comment

                    • Hernandes Martins
                      Senior Member
                      Zabbix Certified SpecialistZabbix Certified Professional
                      • Apr 2011
                      • 900

                      #11
                      É o mesmo procedimento, só confira o onde está localizado as mibs.

                      Abraços
                      __

                      Att.
                      Hernandes Martins - Zabbix Trainer

                      Zabbix Brazil Partner - www.luniobr.com

                      Zabbix Brazil Community - www.zabbixbrasil.org

                      Blog: hernandesmartins.blogspot.com.br

                      Skype: hernandss
                      Telegram: @MrHernandes

                      Español
                      Facebook: facebook.com/groups/zabbixlatam
                      Telegram: https://t.me/ZabbixEspañol

                      Português
                      Facebook: facebook.com/groups/zabbixbrasil/
                      Telegram: https://t.me/ZabbixBrasil

                      Comment

                      • Mark-47
                        Junior Member
                        • Dec 2015
                        • 6

                        #12
                        bom dia amigos,

                        esse é o diretório em que coloquei a mib do mikrotik,

                        /usr/share/snmp/mibs

                        dentro desse diretório também estar algumas mibs padrão do zabbix.

                        não entende como faço para startar essa mib

                        Comment

                        • Hernandes Martins
                          Senior Member
                          Zabbix Certified SpecialistZabbix Certified Professional
                          • Apr 2011
                          • 900

                          #13
                          da uma olhada nesse link que postei anteriormente, nele informa as etapas para adicionar e fazer a leitura das novas mibs, procure na parte "mibs +ALL"

                          __

                          Att.
                          Hernandes Martins - Zabbix Trainer

                          Zabbix Brazil Partner - www.luniobr.com

                          Zabbix Brazil Community - www.zabbixbrasil.org

                          Blog: hernandesmartins.blogspot.com.br

                          Skype: hernandss
                          Telegram: @MrHernandes

                          Español
                          Facebook: facebook.com/groups/zabbixlatam
                          Telegram: https://t.me/ZabbixEspañol

                          Português
                          Facebook: facebook.com/groups/zabbixbrasil/
                          Telegram: https://t.me/ZabbixBrasil

                          Comment

                          Working...