Ad Widget

Collapse

SNMP Builder for Zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • FTaras
    Junior Member
    • Aug 2014
    • 1

    #436
    Originally posted by snake79
    Hello,

    I made this zip file that contains snmpbuilder patched file for Zabbix 2.2.5.
    Unzipping this file into your "www-root" directory (/usr/share/zabbix for me), enables INSTANTLY access to SNMP Builder functions.
    You have to overwrite files when requested


    Tested with CentOS 6.5 64 bit. Only for zabbix 2.2.5, I cannot guarantee for other versions

    Any feedback will be appreciated.

    Best regards
    Ubuntu Server/zabbix 2.2.5 & zabbix VAppliance 2.2.2 on bouth

    Fatal error: Call to a member function useJQueryStyle() on a non-object in /var/www/html/include/html.inc.php on line 539

    Could you post all your frontend folder? thx

    Comment

    • KakersUK
      Junior Member
      • Apr 2012
      • 8

      #437
      I've been trying to get this to work for my company as it seems like a very handy tool. I think I may have it finally working, to a degree.. even though my PHP skills are terrible (working on it).

      Assuming this might help you guys out, I've uploaded what I've got to GitHub:
      GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.

      Comment

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

        #438
        SNMP-Builder for Zabbix 2.4

        Hi all,

        I release yesterday a new version of Zabbix-Extras (version 2.1). And with this version I send a new version of SNMP-Builder (with some adaptations for work in my tests and a easy install).

        The SNMP-Builder will be available in menu "Extras" Option "SNMP-Builder".

        For install: http://spinola.net.br/blog/?p=544#more-544



        Is for install with ZABBIX 2.4 only (I will try to put to work with 2.2 at same time too... but is not today).
        Adail Horst
        OCA/OCP - Oracle Application Server
        ZABBIX Certified Specialist
        http://www.spinola.net.br/blog (Blog sobre Zabbix e tecnologia)

        Comment

        • PacMan
          Junior Member
          • Sep 2014
          • 14

          #439
          Originally posted by spaww
          Hi all,

          I release yesterday a new version of Zabbix-Extras (version 2.1). And with this version I send a new version of SNMP-Builder (with some adaptations for work in my tests and a easy install).

          The SNMP-Builder will be available in menu "Extras" Option "SNMP-Builder".

          For install: http://spinola.net.br/blog/?p=544#more-544



          Is for install with ZABBIX 2.4 only (I will try to put to work with 2.2 at same time too... but is not today).
          After this installation, have error:
          "Function: get_oid_tree. Command: /snmptranslate -Ts -M /usr/share/zabbix/extras/snmp-builder/mibs -m DISMAN-SCRIPT-MIB. Error: 127"
          Does anybody know what's wrong?

          Comment

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

            #440
            PacMan,

            You have Zabbix 2.4 ? And have SNMP-Tools package ?

            Originally posted by PacMan
            After this installation, have error:
            "Function: get_oid_tree. Command: /snmptranslate -Ts -M /usr/share/zabbix/extras/snmp-builder/mibs -m DISMAN-SCRIPT-MIB. Error: 127"
            Does anybody know what's wrong?
            Adail Horst
            OCA/OCP - Oracle Application Server
            ZABBIX Certified Specialist
            http://www.spinola.net.br/blog (Blog sobre Zabbix e tecnologia)

            Comment

            • Bill
              Junior Member
              • Oct 2014
              • 1

              #441
              SNMP Builder cant save to templates.

              Hi,

              I installed SMNP Builder on Zabbix 2.4 & Ubuntu 14.04.1 LTS

              Builder is operating and I can load the MIB that I want.

              The MIB tree appears and I can get values from the device.

              The /var/log/apache2 error.log fills up with messages as below
              Cannot adopt OID in OLD-CISCO-INTERFACES-MIB: locIfarpInPkts ::= { lifEntry 106 }
              Cannot adopt OID in OLD-CISCO-INTERFACES-MIB: locIfarpOutPkts ::= { lifEntry 107 }
              Cannot adopt OID in OLD-CISCO-INTERFACES-MIB: locIfarpInOctets ::= { lifEntry 108 }
              Cannot adopt OID in OLD-CISCO-INTERFACES-MIB: locIfarpOutOctets ::= { lifEntry 109 }


              I don't know if this is connected to the problem as this is not the mib I am using.
              I then try and save to the selected template and nothing happens.

              I don't see anything in Zabbix log.

              Please help.
              Thanks
              Bill

              Comment

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

                #442
                Bill,

                I dont know. I dont change how SNMP-Builder works, I only make changes to work with Zabbix 2.4 and easy install. Someone with more experience with SNMP-Builder can help ?

                Originally posted by Bill
                Hi,

                I installed SMNP Builder on Zabbix 2.4 & Ubuntu 14.04.1 LTS

                Builder is operating and I can load the MIB that I want.

                The MIB tree appears and I can get values from the device.

                The /var/log/apache2 error.log fills up with messages as below
                Cannot adopt OID in OLD-CISCO-INTERFACES-MIB: locIfarpInPkts ::= { lifEntry 106 }
                Cannot adopt OID in OLD-CISCO-INTERFACES-MIB: locIfarpOutPkts ::= { lifEntry 107 }
                Cannot adopt OID in OLD-CISCO-INTERFACES-MIB: locIfarpInOctets ::= { lifEntry 108 }
                Cannot adopt OID in OLD-CISCO-INTERFACES-MIB: locIfarpOutOctets ::= { lifEntry 109 }


                I don't know if this is connected to the problem as this is not the mib I am using.
                I then try and save to the selected template and nothing happens.

                I don't see anything in Zabbix log.

                Please help.
                Thanks
                Bill
                Adail Horst
                OCA/OCP - Oracle Application Server
                ZABBIX Certified Specialist
                http://www.spinola.net.br/blog (Blog sobre Zabbix e tecnologia)

                Comment

                • PacMan
                  Junior Member
                  • Sep 2014
                  • 14

                  #443
                  Originally posted by spaww
                  PacMan,

                  You have Zabbix 2.4 ? And have SNMP-Tools package ?
                  Yes, Zabbix 2.4/
                  Update OS and error was gone, but when I import MIB, it`s writing:
                  "Fatal error: Call to a member function useJQueryStyle() on a non-object in /usr/share/zabbix/include/html.inc.php on line 499"

                  Update:
                  If i copied MIB manual (by command line), all work.
                  Last edited by PacMan; 03-10-2014, 09:55.

                  Comment

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

                    #444
                    Pacman,

                    Check permissions of directory... PHP need to write into folder.

                    Originally posted by PacMan
                    Yes, Zabbix 2.4/
                    Update OS and error was gone, but when I import MIB, it`s writing:
                    "Fatal error: Call to a member function useJQueryStyle() on a non-object in /usr/share/zabbix/include/html.inc.php on line 499"

                    Update:
                    If i copied MIB manual (by command line), all work.
                    Adail Horst
                    OCA/OCP - Oracle Application Server
                    ZABBIX Certified Specialist
                    http://www.spinola.net.br/blog (Blog sobre Zabbix e tecnologia)

                    Comment

                    • theocastelo
                      Member
                      Zabbix Certified Specialist
                      • Oct 2012
                      • 81

                      #445
                      Originally posted by spaww
                      Pacman,

                      Check permissions of directory... PHP need to write into folder.

                      I have the same problem Adail..

                      zabbix 2.4,

                      The folder have write permissions

                      Comment

                      • eagle
                        Junior Member
                        • Oct 2014
                        • 3

                        #446
                        Hello,

                        I have the following:
                        Centos 6.5
                        Zabbix 2.4

                        I have installed SNMP Builder following KakersUK instructions:

                        GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.


                        And same result: SNMP OID Tree is empty.

                        Which files need to be changed/edited to get this work?

                        Any help would be very appreciated.

                        Comment

                        • mmidgett
                          Junior Member
                          • Aug 2012
                          • 14

                          #447
                          Originally posted by eagle
                          Hello,

                          I have the following:
                          Centos 6.5
                          Zabbix 2.4

                          I have installed SNMP Builder following KakersUK instructions:

                          GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.


                          And same result: SNMP OID Tree is empty.

                          Which files need to be changed/edited to get this work?

                          Any help would be very appreciated.

                          Ive done the same with debian 7 and zabbix 2.2.6 and my tree is empty.
                          Can someone please show me what I have missed.

                          Comment

                          • Spoonman
                            Member
                            • Aug 2013
                            • 45

                            #448
                            Hello,

                            I have CentOS7 (64bit) and Zabbix 2.4.2
                            When I follow instructions to install snmpbuilder from KakersUK, I get a white homescreen, with no login etc....
                            Checked logfiles, and there is an error in line 28 from file "page_header.php".
                            I replaced this line with the original line 28 from my working setup, no luck.
                            (restarted HTTP, MySQL and zabbix-server services).
                            Last edited by Spoonman; 20-11-2014, 22:44.

                            Comment

                            • mario5046
                              Junior Member
                              • Nov 2014
                              • 2

                              #449
                              Installation snmp builder on debian

                              Hi,
                              Can someone write step by step instruction how to install snmp builder on debian ?

                              I know that instruction how to install it on centos/ubuntu exist but I cannot find instruction how to do it on debian.

                              Comment

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

                                #450
                                Originally posted by mario5046
                                Hi,
                                Can someone write step by step instruction how to install snmp builder on debian ?

                                I know that instruction how to install it on centos/ubuntu exist but I cannot find instruction how to do it on debian.
                                Mario,

                                Install Zabbix Extras and you will have SNMPBuilder together.

                                In portuguese:

                                Translated using google:


                                Is for Zabbix 2.4 ok ?
                                Adail Horst
                                OCA/OCP - Oracle Application Server
                                ZABBIX Certified Specialist
                                http://www.spinola.net.br/blog (Blog sobre Zabbix e tecnologia)

                                Comment

                                Working...