Zabbix : Convert MIBs Files to Zabbix Templates

Поделиться
HTML-код
  • Опубликовано: 29 ноя 2022
  • Documentation : sbcode.net/zabbix/mib-to-zabb...
    MIB files can be analysed and converted to Zabbix templates containing Items, Discovery Rules and Value Types.
    One script for doing this is called mib2zabbix and can be downloaded from github.com/cavaliercoder/mib2....
    Before running this script, you should already have the required SNMP dependencies installed and configured correctly.
    I do not offer support, guarantees or warranty of this script.
    The skills required are very specialised.
    If you want support, then your options are to,
    * Contact Zabbix Support
    * Contact a recruitmant consultant to find a Zabbix expert that can do this
    * Or offer me a job.
    #zabbix
    #zabbix5
    #zabbixCourse
    #zabbixTutorial

Комментарии • 21

  • @jaifairley7975
    @jaifairley7975 Год назад +2

    Superb. Very useful, thanks

  • @mednes6020
    @mednes6020 Год назад

    I used MIB Juniper apparently I got this error ( Cannot adopt OID )

  • @alexrobinson5477
    @alexrobinson5477 Год назад +2

    What if the manufacturer gives you a few different versions of the MIB file? For example, one MIB for network and switching functions, one for QoS functions, one for Wireless functions, etc?

    • @sbcode
      @sbcode  Год назад +2

      There is no one solution for everything. It is always going to be a job that you need to spend many days trying to resolve. Or you can pay someone to do it.

  • @edinsonrodriguezsaza2540
    @edinsonrodriguezsaza2540 10 месяцев назад

    I have the following error to import to template: "Invalid parameter "/2/trends": value must be 0." in zabbix 6.4, do you have any idea for solve this issue?

    • @sbcode
      @sbcode  10 месяцев назад

      Read the description

  • @mednes6020
    @mednes6020 Год назад

    how to open ftp link?

  • @valerio53061
    @valerio53061 3 года назад

    Hello,
    i have a MIB of a vendor AETHRA but i cannot import , i have an errorr Smartmatch is experimental at ./mib2zabbix line 475.
    Use of uninitialized value $val in string ne at /usr/share/perl5/XML/Simple.pm line 924.
    can you help me? if you want i can pass you mib file

    • @sbcode
      @sbcode  3 года назад +1

      I managed to create one. I got the warning, but it still created the template.
      You can download it from
      github.com/Sean-Bradley/SNMP2ZABBIX/blob/master/templates/template-aethra-mib.xml
      I created this using mib2zabbix on a RPi4, Raspbian OS. And it imported into Zabbix 5.2 ok. I don't have this Aethra device so I cant verify how well the template actually works.
      Note that creating templates is not easy, there is no magic for everything, you will need to put more work into this yourself if you want it better.
      The command I used was
      snmptranslate -Tz -m ./AETHRA-MIB | ./mib2zabbix -o 1.3.6.1.4.1.7745 -f template-aethra-mib.xml -N aethra-mib

    • @valerio53061
      @valerio53061 3 года назад

      @@sbcode thank you but im not a programmer, im a network engineer the vendor give me the mib file so its the firse time for me to importo into Zabbix version 5

  • @suyogadhikari8179
    @suyogadhikari8179 Год назад

    Invalid parameter "/2/trends": value must be 0.
    I am getting this kind of error. How do i fix it ?

  • @JojosefaG
    @JojosefaG Год назад +1

    Hi, thank you so mucho for this tutorial. I followed everything on the video :) But i get an error on every snmp agent item that says: 'No Such Object available on this agent at this OID'. Have you had this error before? if you could help me i'll be very grateful.

  • @AJAYDHARWA
    @AJAYDHARWA 11 месяцев назад

    Hello Sir, fortinet F200 MIB file not Converting please help me,

    • @sbcode
      @sbcode  11 месяцев назад

      read the description. There is no support or warranty. You only get support if I have organised a suitable contract with your employer.

  • @sydneysahella4742
    @sydneysahella4742 Месяц назад

    how much do you charge to convert a mib to template?

    • @sbcode
      @sbcode  Месяц назад

      I contract for £500 a day. Min 10 working days.

  • @user-vd2jr5bh7s
    @user-vd2jr5bh7s 10 месяцев назад +3

    this script is old and the template is out of date and doesnt work after 2018 , dont try it

    • @sbcode
      @sbcode  10 месяцев назад

      And don’t forget to read the description