Ad Widget

Collapse

Use Mib files in Zabbix front-end

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jarne St
    Member
    • Sep 2019
    • 63

    #1

    Use Mib files in Zabbix front-end

    Hello
    I am using Zabbix 4.0.12, on an Ubuntu.

    I want to use a custom MIB-file in Zabbix for SNMP-Monitoring.
    This is what I have done:

    1) I have downloaded my MIB-file for my host.
    (http://www.networktechinc.com/downlo...onitor-16.html , enviromux-16d-v1-20.mib)

    2) I have followed the documentation, https://www.zabbix.com/documentation...ypes/snmp/mibs
    The directory in the documentation don't exists (/usr/local/share/snmp/mibs), so I have to create it.

    3) I have run the snmptranslate command to get my oid.
    HTML Code:
    snmptranslate -IR -On ENVIROMUX16D::enviromux16D
    .1.3.6.1.4.1.3699.1.1.11
    How to use this oid in the front-end? The documentation don't say anything about the use or what you can do with it?
    After searching for some time, I found the mib2zabbix script.
    (https://github.com/cavaliercoder/mib2zabbix)

    4) I have downloaded the script and set it in the correct location on my system. (/Bin)

    5) I have tried to convert my MIB-file into a template, but without success.
    HTML Code:
    mib2zabbix.pl -o .1.3.6.1.4.1.3699.1.1.11 -f MyTemplate.xml
    OID .1.3.6.1.4.1.3699.1.1.11 not found MIB tree.
    Any idea what I do wrong? Or what can I do to work with my MIB-file in the front-end?
    Any suggestions would be welcome.
  • kloczek
    Senior Member
    • Jun 2006
    • 1771

    #2
    Originally posted by Jarne St
    Hello
    I am using Zabbix 4.0.12, on an Ubuntu.

    I want to use a custom MIB-file in Zabbix for SNMP-Monitoring.
    Zabbix is using on all SNMP interreraction net-snmp libtraries so net-snmp documentation contains all necessary details abouyt that topic.
    http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
    https://kloczek.wordpress.com/
    zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
    My zabbix templates https://github.com/kloczek/zabbix-templates

    Comment

    • Jarne St
      Member
      • Sep 2019
      • 63

      #3
      Yes, I know that Zabbix uses SNMP.
      But what are the relevant parts in the documentation for this problem?
      Or where I should start.

      Comment

      • Hamardaban
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • May 2019
        • 2713

        #4
        MIB, by itself, is not used in frontend in any way. Therefore, there is nothing in the documentation about it.They belong to another level and describe the OID hierarchy.

        Comment

        Working...