Ad Widget

Collapse

Snmp_builder for zabbix 3.2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mickvav
    Junior Member
    • May 2017
    • 4

    #1

    Snmp_builder for zabbix 3.2

    Hello, everyone.
    I've just made some effort on porting snmp_builder plugin to zabbix 3.2. Seems to work, testers and bug reports appreciated.
    Locates here - https://github.com/mickvav/snmpbuilder/
  • spaww
    Senior Member
    Zabbix Certified Specialist
    • May 2009
    • 178

    #2
    Originally posted by mickvav
    Hello, everyone.
    I've just made some effort on porting snmp_builder plugin to zabbix 3.2. Seems to work, testers and bug reports appreciated.
    Locates here - https://github.com/mickvav/snmpbuilder/
    Very Good Iniciative !
    What do you think about integrate with EveryZ ?
    Adail Horst
    OCA/OCP - Oracle Application Server
    ZABBIX Certified Specialist
    http://www.spinola.net.br/blog (Blog sobre Zabbix e tecnologia)

    Comment

    • mickvav
      Junior Member
      • May 2017
      • 4

      #3
      Nice idea.
      Not sure if I'll have free time to do it in near future, but it seems to be an important next step.

      Comment

      • spaww
        Senior Member
        Zabbix Certified Specialist
        • May 2009
        • 178

        #4
        Originally posted by mickvav
        Nice idea.
        Not sure if I'll have free time to do it in near future, but it seems to be an important next step.
        Mickvav,

        I can help with this change... if you still working with SNMPBuilder code in nexts releases of Zabbix

        EveryZ can help with Integration with Zabbix... and you still mantain the SNMPBuilder module code... what do you think ?
        Adail Horst
        OCA/OCP - Oracle Application Server
        ZABBIX Certified Specialist
        http://www.spinola.net.br/blog (Blog sobre Zabbix e tecnologia)

        Comment

        • Nevozmutimiy
          Junior Member
          • Sep 2017
          • 16

          #5
          Originally posted by mickvav
          Hello, everyone.
          I've just made some effort on porting snmp_builder plugin to zabbix 3.2. Seems to work, testers and bug reports appreciated.
          Locates here - https://github.com/mickvav/snmpbuilder/
          Hi, I integrated snmp_builder and got an error, please help

          error
          Cannot find module (SNMPv2-SMI): At line 13 in /usr/share/snmp/mibs/F5-BIGIP-LOCAL-MIB txt Cannot find module (SNMPv2-SMI): At line 13 in /usr/share/snmp/mibs/F5-BIGIP-LOCAL-MIB.txt

          Comment

          • OlegBB
            Junior Member
            • Sep 2017
            • 2

            #6
            Originally posted by Nevozmutimiy
            Hi, I integrated snmp_builder and got an error, please help

            error
            Cannot find module (SNMPv2-SMI): At line 13 in /usr/share/snmp/mibs/F5-BIGIP-LOCAL-MIB txt Cannot find module (SNMPv2-SMI): At line 13 in /usr/share/snmp/mibs/F5-BIGIP-LOCAL-MIB.txt

            Had same problem fix that in next way

            use
            #download-mibs it downloaded mibs to dir in config file

            cat /etc/snmp-mibs-downloader/snmp-mibs-downloader.conf
            # Master configuarion for mib-downloader
            #
            BASEDIR=/var/lib/mibs

            then copy from /var/lib/mibs/iana and ietf to folder /usr/share/snmp/mibs/


            BUT!!! after that i still have problem , just have empty page without errors

            Click image for larger version

Name:	snmp.PNG
Views:	1
Size:	7.6 KB
ID:	313947

            Who can help with it ??

            Comment

            • Nevozmutimiy
              Junior Member
              • Sep 2017
              • 16

              #7
              Originally posted by OlegBB
              Had same problem fix that in next way

              use
              #download-mibs it downloaded mibs to dir in config file

              cat /etc/snmp-mibs-downloader/snmp-mibs-downloader.conf
              # Master configuarion for mib-downloader
              #
              BASEDIR=/var/lib/mibs

              then copy from /var/lib/mibs/iana and ietf to folder /usr/share/snmp/mibs/


              BUT!!! after that i still have problem , just have empty page without errors

              Who can help with it ??

              Check the path to the scripts, it seems there is an error (Проверь путь к скриптам, похоже там есть ошибка)
              Attached Files

              Comment

              • OlegBB
                Junior Member
                • Sep 2017
                • 2

                #8
                Thanks! Yes it's work for me
                I just do not have path to scripts

                Comment

                • louis-m
                  Member
                  • Nov 2013
                  • 70

                  #9
                  Just tried this on 3.2. I get sutck at the edit include/menu.inc.php with

                  * Open include/menu.inc.php. At line 203, insert a piece of code

                  array('url'=>'snmp_builder.php',
                  'label'=>'SNMP Builder'
                  ),

                  Like this:

                  'label'=>S_NOTIFICATIONS
                  ),
                  array('url'=>'locales.php',
                  'label'=>S_LOCALES
                  ),
                  array('url'=>'snmp_builder.php',
                  'label'=>'SNMP Builder'
                  ),
                  array('url'=>'instal.php',
                  'label'=>S_INSTALLATION,
                  'sub_pages'=>array('setup.php','warning.php')
                  )
                  )

                  as I can see any of that code in there?

                  Comment

                  • mickvav
                    Junior Member
                    • May 2017
                    • 4

                    #10
                    Well, looks like they've made some changes in menu configuration system, so I've updated the documentation accordingly.

                    Comment

                    • mickvav
                      Junior Member
                      • May 2017
                      • 4

                      #11
                      Originally posted by louis-m
                      Just tried this on 3.2. I get sutck at the edit include/menu.inc.php with

                      * Open include/menu.inc.php. At line 203, insert a piece of code
                      ...
                      as I can see any of that code in there?
                      Looks like they've changed menu configuration system a little bit - I've updated README accordingly.

                      Comment

                      • Alfista
                        Senior Member
                        • Mar 2017
                        • 136

                        #12
                        Hi,

                        i have instales it in the version 3.4.5 and I see it, can with it work, but when I choose the MIB i have only this message on the bottom:

                        .MIB search path: /var/www/html/zabbix/snmp_builder/mibs:/usr/share/snmp/mibs:/home/appliance/ snmp/mibs/ MIB search path: /var/www/html/zabbix/snmp_builder/mibs:/usr/share/snmp/mibs:/home/appliance/.snmp/mibs

                        but I doesn't see anything in the Tree view and can save anything.

                        Comment


                        • Alfista
                          Alfista commented
                          Editing a comment
                          I use the 3.4.5 appliance. Please can you tell me where can be the problem, that I can use the importer. Thanks.
                      • andredeo
                        Junior Member
                        • May 2008
                        • 19

                        #13
                        Hello,

                        Tested on Zabbix 3.4.6. When I clique in save, I recieved the error:
                        Incorrect value for field "history": must be between "3600" and "788400000".

                        Just change:
                        snmp_builder.php
                        Line 240: 'history' => 90,
                        To a value between the interval and OK!

                        ;-)

                        Comment

                        • Taner
                          Member
                          • Apr 2018
                          • 47

                          #14
                          Hi, I search way how to write templates for zabbix from MIB files.

                          I am with lates zabbix 3.4 + version.

                          What is the right start point ?

                          Comment

                          • Alfista
                            Senior Member
                            • Mar 2017
                            • 136

                            #15
                            I have the same screen but only with the error mesage as decribed beloow.
                            I hahe check the all installed componets and all are as decribed in the mnaual.

                            Originally posted by OlegBB

                            [ATTACH]10145[/ATTACH]

                            Comment


                            • Alfista
                              Alfista commented
                              Editing a comment
                              Hi,

                              After a clean install I have now these problems:
                              1. light gray text on white background in the tree view
                              2. No Such Object available on this agent at this OID
                              or
                              3. Did not find 'PhysAddress' in module #-1 (/usr/share/snmp/mibs/LSI-AdapterSAS mib) Did not find 'PhysAddress' in module #-1 (/usr/share/snmp/mibs/LSI-AdapterSAS.mib)

                              Please can some one help what is wrong?

                              Thanks.
                          Working...