Snmp_builder for zabbix 3.2

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    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/

    #2
    Originally posted by mickvav View Post
    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


      #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


        #4
        Originally posted by mickvav View Post
        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


          #5
          Originally posted by mickvav View Post
          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


            #6
            Originally posted by Nevozmutimiy View Post
            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


              #7
              Originally posted by OlegBB View Post
              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


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

                Comment


                  #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


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

                    Comment


                      #11
                      Originally posted by louis-m View Post
                      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


                        #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.

                        #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


                          #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


                            #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 View Post

                            [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.

                          Announcement

                          Collapse
                          No announcement yet.
                          Working...
                          X