Ad Widget

Collapse

Monitorando Switch com SNMP v1

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jhonatanrampin
    Junior Member
    • Oct 2012
    • 15

    #1

    Monitorando Switch com SNMP v1

    E ai, pessoal. Beleza?

    Estou com 7 switches 3com modelo SuperStack 3, que só respondem ao SNMP v1. Verifiquei no manual do equipamento e realmente, o mesmo só trabalha com a versão 1 do SNMP.

    Caso eu configure o switch no Zabbix e coloco o Template SNMP Device, o ícone de monitoramento via SNMP fica verde, porém, não gera gráficos.
    Rapidamente, na coluna "discovery" aparece as interfaces, porém, ele só descobre na versão 2 do SNMP, sendo assim, não gera os gráficos.

    Caso alguém tenha algum template de 26 portas para SNMP v1 e possa me enviar ou me ajudar / ensinar a como criar os itens e gráficos para o switch?

    Precisaria monitorar todas as interfaces e a utilização do CPU.


    A saida abaixo seria o suficiente para vocês me auxiliarem?

    [root@zabbix ~]# snmpwalk -v1 -c public 192.168.0.220
    SNMPv2-MIB::sysDescr.0 = STRING: 3Com SuperStack 3
    SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.43.10.27.4.1.2.11
    DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (180709497) 20 days, 21:58:14.97
    SNMPv2-MIB::sysContact.0 = STRING:
    SNMPv2-MIB::sysName.0 = STRING:
    SNMPv2-MIB::sysLocation.0 = STRING:
    SNMPv2-MIB::sysServices.0 = INTEGER: 2
    IF-MIB::ifNumber.0 = INTEGER: 34
    IF-MIB::ifIndex.101 = INTEGER: 101
    IF-MIB::ifIndex.102 = INTEGER: 102
    IF-MIB::ifIndex.103 = INTEGER: 103
    IF-MIB::ifIndex.104 = INTEGER: 104
    IF-MIB::ifIndex.105 = INTEGER: 105
    IF-MIB::ifIndex.106 = INTEGER: 106
    IF-MIB::ifIndex.107 = INTEGER: 107
    IF-MIB::ifIndex.108 = INTEGER: 108
    IF-MIB::ifIndex.109 = INTEGER: 109
    IF-MIB::ifIndex.110 = INTEGER: 110
    IF-MIB::ifIndex.111 = INTEGER: 111
    IF-MIB::ifIndex.112 = INTEGER: 112
    IF-MIB::ifIndex.113 = INTEGER: 113
    IF-MIB::ifIndex.114 = INTEGER: 114
    IF-MIB::ifIndex.115 = INTEGER: 115
    IF-MIB::ifIndex.116 = INTEGER: 116
    IF-MIB::ifIndex.117 = INTEGER: 117
    IF-MIB::ifIndex.118 = INTEGER: 118
    IF-MIB::ifIndex.119 = INTEGER: 119
    IF-MIB::ifIndex.120 = INTEGER: 120
    IF-MIB::ifIndex.121 = INTEGER: 121
    IF-MIB::ifIndex.122 = INTEGER: 122
    IF-MIB::ifIndex.123 = INTEGER: 123
    IF-MIB::ifIndex.124 = INTEGER: 124
    IF-MIB::ifIndex.125 = INTEGER: 125
    IF-MIB::ifIndex.126 = INTEGER: 126
    IF-MIB::ifIndex.198 = INTEGER: 198
    IF-MIB::ifIndex.199 = INTEGER: 199
    IF-MIB::ifIndex.15000 = INTEGER: 15000
    IF-MIB::ifIndex.15001 = INTEGER: 15001
    IF-MIB::ifIndex.15512 = INTEGER: 15512
    IF-MIB::ifIndex.15513 = INTEGER: 15513
    IF-MIB::ifIndex.15514 = INTEGER: 15514
    IF-MIB::ifIndex.15515 = INTEGER: 15515
    IF-MIB::ifDescr.101 = STRING: RMON Port 01 on unit 1
    IF-MIB::ifDescr.102 = STRING: RMON Port 02 on unit 1
    IF-MIB::ifDescr.103 = STRING: RMON Port 03 on unit 1
    IF-MIB::ifDescr.104 = STRING: RMON Port 04 on unit 1
    IF-MIB::ifDescr.105 = STRING: RMON Port 05 on unit 1
    IF-MIB::ifDescr.106 = STRING: RMON Port 06 on unit 1
    IF-MIB::ifDescr.107 = STRING: RMON Port 07 on unit 1
    IF-MIB::ifDescr.108 = STRING: RMON Port 08 on unit 1
    IF-MIB::ifDescr.109 = STRING: RMON Port 09 on unit 1
    IF-MIB::ifDescr.110 = STRING: RMON Port 10 on unit 1
    IF-MIB::ifDescr.111 = STRING: RMON Port 11 on unit 1
    IF-MIB::ifDescr.112 = STRING: RMON Port 12 on unit 1
    IF-MIB::ifDescr.113 = STRING: RMON Port 13 on unit 1
    IF-MIB::ifDescr.114 = STRING: RMON Port 14 on unit 1
    IF-MIB::ifDescr.115 = STRING: RMON Port 15 on unit 1
    IF-MIB::ifDescr.116 = STRING: RMON Port 16 on unit 1
    IF-MIB::ifDescr.117 = STRING: RMON Port 17 on unit 1
    IF-MIB::ifDescr.118 = STRING: RMON Port 18 on unit 1
    IF-MIB::ifDescr.119 = STRING: RMON Port 19 on unit 1
    IF-MIB::ifDescr.120 = STRING: RMON Port 20 on unit 1
    IF-MIB::ifDescr.121 = STRING: RMON Port 21 on unit 1
    IF-MIB::ifDescr.122 = STRING: RMON Port 22 on unit 1
    IF-MIB::ifDescr.123 = STRING: RMON Port 23 on unit 1
    IF-MIB::ifDescr.124 = STRING: RMON Port 24 on unit 1
    IF-MIB::ifDescr.125 = STRING: RMON Port 25 on unit 1
    IF-MIB::ifDescr.126 = STRING: RMON Port 26 on unit 1
  • jhonatanrampin
    Junior Member
    • Oct 2012
    • 15

    #2
    Mais um pedaço da saida do SNMPWALK

    IF-MIB::ifDescr.198 = STRING: Console Port 192.168.101.1 on unit 1
    IF-MIB::ifDescr.199 = STRING: Management Port 192.168.0.220 on unit 1
    IF-MIB::ifDescr.15000 = STRING: VLAN 00001
    IF-MIB::ifDescr.15001 = STRING: 802.1Q Encapsulation Tag 0001
    IF-MIB::ifDescr.15512 = STRING: Stack Aggregated Link 01
    IF-MIB::ifDescr.15513 = STRING: Stack Aggregated Link 02
    IF-MIB::ifDescr.15514 = STRING: Stack Aggregated Link 03
    IF-MIB::ifDescr.15515 = STRING: Stack Aggregated Link 04
    IF-MIB::ifType.101 = INTEGER: ethernetCsmacd(6)
    IF-MIB::ifType.102 = INTEGER: ethernetCsmacd(6)
    IF-MIB::ifType.103 = INTEGER: ethernetCsmacd(6)
    IF-MIB::ifType.104 = INTEGER: ethernetCsmacd(6)
    IF-MIB::ifType.105 = INTEGER: ethernetCsmacd(6)
    IF-MIB::ifType.106 = INTEGER: ethernetCsmacd(6)
    IF-MIB::ifType.107 = INTEGER: ethernetCsmacd(6)
    IF-MIB::ifType.108 = INTEGER: ethernetCsmacd(6)
    IF-MIB::ifType.109 = INTEGER: ethernetCsmacd(6)
    IF-MIB::ifType.110 = INTEGER: ethernetCsmacd(6)
    IF-MIB::ifType.111 = INTEGER: ethernetCsmacd(6)
    IF-MIB::ifType.112 = INTEGER: ethernetCsmacd(6)
    IF-MIB::ifType.113 = INTEGER: ethernetCsmacd(6)
    IF-MIB::ifType.114 = INTEGER: ethernetCsmacd(6)
    IF-MIB::ifType.115 = INTEGER: ethernetCsmacd(6)
    IF-MIB::ifType.116 = INTEGER: ethernetCsmacd(6)
    IF-MIB::ifType.117 = INTEGER: ethernetCsmacd(6)
    IF-MIB::ifType.118 = INTEGER: ethernetCsmacd(6)
    IF-MIB::ifType.119 = INTEGER: ethernetCsmacd(6)
    IF-MIB::ifType.120 = INTEGER: ethernetCsmacd(6)
    IF-MIB::ifType.121 = INTEGER: ethernetCsmacd(6)
    IF-MIB::ifType.122 = INTEGER: ethernetCsmacd(6)
    IF-MIB::ifType.123 = INTEGER: ethernetCsmacd(6)
    IF-MIB::ifType.124 = INTEGER: ethernetCsmacd(6)
    IF-MIB::ifType.125 = INTEGER: ethernetCsmacd(6)
    IF-MIB::ifType.126 = INTEGER: ethernetCsmacd(6)
    IF-MIB::ifType.198 = INTEGER: rs232(33)
    IF-MIB::ifType.199 = INTEGER: ethernetCsmacd(6)
    IF-MIB::ifType.15000 = INTEGER: propVirtual(53)
    IF-MIB::ifType.15001 = INTEGER: propVirtual(53)
    IF-MIB::ifType.15512 = INTEGER: ieee8023adLag(161)
    IF-MIB::ifType.15513 = INTEGER: ieee8023adLag(161)
    IF-MIB::ifType.15514 = INTEGER: ieee8023adLag(161)
    IF-MIB::ifType.15515 = INTEGER: ieee8023adLag(161)
    IF-MIB::ifMtu.101 = INTEGER: 1500
    IF-MIB::ifMtu.102 = INTEGER: 1500
    IF-MIB::ifMtu.103 = INTEGER: 1500
    IF-MIB::ifMtu.104 = INTEGER: 1500
    IF-MIB::ifMtu.105 = INTEGER: 1500
    IF-MIB::ifMtu.106 = INTEGER: 1500
    IF-MIB::ifMtu.107 = INTEGER: 1500
    IF-MIB::ifMtu.108 = INTEGER: 1500
    IF-MIB::ifMtu.109 = INTEGER: 1500
    IF-MIB::ifMtu.110 = INTEGER: 1500
    IF-MIB::ifMtu.111 = INTEGER: 1500
    IF-MIB::ifMtu.112 = INTEGER: 1500
    IF-MIB::ifMtu.113 = INTEGER: 1500
    IF-MIB::ifMtu.114 = INTEGER: 1500
    IF-MIB::ifMtu.115 = INTEGER: 1500
    IF-MIB::ifMtu.116 = INTEGER: 1500
    IF-MIB::ifMtu.117 = INTEGER: 1500
    IF-MIB::ifMtu.118 = INTEGER: 1500
    IF-MIB::ifMtu.119 = INTEGER: 1500
    IF-MIB::ifMtu.120 = INTEGER: 1500
    IF-MIB::ifMtu.121 = INTEGER: 1500
    IF-MIB::ifMtu.122 = INTEGER: 1500
    IF-MIB::ifMtu.123 = INTEGER: 1500
    IF-MIB::ifMtu.124 = INTEGER: 1500
    IF-MIB::ifMtu.125 = INTEGER: 1500
    IF-MIB::ifMtu.126 = INTEGER: 1500
    IF-MIB::ifMtu.198 = INTEGER: 1500
    IF-MIB::ifMtu.199 = INTEGER: 1500

    Comment

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

      #3
      Acredito que vc deverá pesquisar a MIB desses equipamentos e nela vc encontrará as OIDs e as chaves para criar os itens e gráficos.
      __

      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

      • jhonatanrampin
        Junior Member
        • Oct 2012
        • 15

        #4
        E como eu faço isso?! *_*

        Com as saidas que postei, já não tem a MIB pra encontrar as OIDs e as chaves necessárias pra gerar os gráficos?

        Originally posted by Hernandes Martins
        Acredito que vc deverá pesquisar a MIB desses equipamentos e nela vc encontrará as OIDs e as chaves para criar os itens e gráficos.

        Comment

        • zolotujin
          Junior Member
          • Feb 2013
          • 8

          #5
          trabalhar com snmp

          você deve importar para o linux d MIB dos equipamentos que vc pretende gerar o monitoramento via SNMP.

          aqui pode lhe ajudar no monitoramento via zabbix usando snmp: http://andredeo.blogspot.com.br/2008...rmetro-do.html

          Rubens


          Originally posted by jhonatanrampin
          E como eu faço isso?! *_*

          Com as saidas que postei, já não tem a MIB pra encontrar as OIDs e as chaves necessárias pra gerar os gráficos?

          Comment

          • alessandro.silva
            Junior Member
            • Feb 2013
            • 22

            #6
            Sugestão

            Já tentou utilizar LLD (Low Level Discovery) do Zabbix? Ele reconhece tudo que você precisa utilizando autobusca.

            Comment

            • exkg
              Senior Member
              Zabbix Certified Trainer
              Zabbix Certified Specialist
              • Mar 2007
              • 718

              #7
              Em tempo e para referencia:




              []s,
              Luciano
              --
              Luciano Alves
              www.zabbix.com
              Brazil | México | Argentina | Colômbia | Chile
              Zabbix Performance Tuning

              Comment

              Working...