Ad Widget

Collapse

SNMP Builder for Zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aaresmi
    Junior Member
    • Aug 2015
    • 18

    #496
    Yes of course.

    Comment

    • aaresmi
      Junior Member
      • Aug 2015
      • 18

      #497
      Hi spaww,

      I sent you a PM but dont know if You saw it,

      Finally I installed all ZE 2.1 pluggins (to test the script) and seems to ends OK but in zabbix console I have the next errors

      SQL error [ORA-00942: table or view does not exist] in [SELECT userid, tx_option, tx_value from zbxe_preferences zpre WHERE userid in (0,1) and st_ativo = 1 order by userid, tx_option]
      oci_fetch_assoc(): ORA-24374: define not done before fetch or execute and fetch [dashboard.php:22 → require_once() → require_once() → DBfetch() → oci_fetch_assoc() in /home/swcomun/herrtux/aaresmi/mon-zabbix/httpd/htdocs/zabbix/include/db.inc.php:600]
      Undefined index: map_company [dashboard.php:22 → require_once() → require_once() in /home/swcomun/herrtux/aaresmi/mon-zabbix/httpd/htdocs/zabbix/include/zbxe_visual_imp.php:236]
      Undefined index: url [dashboard.php:31 → require_once() → zbx_construct_menu() in /home/swcomun/herrtux/aaresmi/mon-zabbix/httpd/htdocs/zabbix/include/menu.inc.php:338]
      Undefined index: url [dashboard.php:31 → require_once() → zbx_construct_menu() in /home/swcomun/herrtux/aaresmi/mon-zabbix/httpd/htdocs/zabbix/include/menu.inc.php:342]
      Undefined offset: 0 [dashboard.php:31 → require_once() → zbx_construct_menu() in /home/swcomun/herrtux/aaresmi/mon-zabbix/httpd/htdocs/zabbix/include/menu.inc.php:373]

      Could you guide, please?

      Regards

      Comment

      • sire
        Senior Member
        • Jul 2010
        • 210

        #498
        SNMP Builder for Zabbix 2.4.7

        Hi Guys,

        I have updated SNMP Builder to work with Zabbix 2.4.7. Please download from https://github.com/macrokernel/zabbi...der/tree/2.4.7. Installation instructions are also there.

        It works on my Debian-based Linux with Apache 2.2.22, PHP 5.4.4, Net-SNMP 5.4.3.

        Thanks to Lizard, whitevv, KakersUK and dionnes for patch ideas.
        Last edited by sire; 11-02-2016, 19:23.
        Regards,
        Sergey Syreskin

        Monitored hosts: 2646 / Active items: 23604 / Server performance: 765.74

        Temporary out of Zabbix business

        Comment

        • dan_cytexone
          Member
          • Dec 2008
          • 61

          #499
          Have you tested with 3.0?

          Comment

          • sire
            Senior Member
            • Jul 2010
            • 210

            #500
            No, I don't have 3.0 installed. Almost sure that SNMP Builder will not work with 3.0.
            Last edited by sire; 20-02-2016, 15:22.
            Regards,
            Sergey Syreskin

            Monitored hosts: 2646 / Active items: 23604 / Server performance: 765.74

            Temporary out of Zabbix business

            Comment

            • dan_cytexone
              Member
              • Dec 2008
              • 61

              #501
              Originally posted by sire
              Hi Guys,

              I have updated SNMP Builder to work with Zabbix 2.4.7. Please download from https://github.com/macrokernel/zabbi...der/tree/2.4.7. Installation instructions are also there.

              It works on my Debian-based Linux with Apache 2.2.22, PHP 5.4.4, Net-SNMP 5.4.3.

              Thanks to Lizard, whitevv, KakersUK and dionnes for patch ideas.
              Thanks for this! I tried to install it and I can't seem to get it to work. Here is what the screen looks like.

              No matter what MIB I try it only shows up with iso / ccitt underneath it and nothing works. I can snmpwalk and snmpget the device from the console. the import mib also doesn't work, but I manually uploaded the MIB to the server.



              Comment

              • sire
                Senior Member
                • Jul 2010
                • 210

                #502
                Hi, have your tried more basic MIBs like IF-MIB or HOST-RESOURCES-MIB?
                Regards,
                Sergey Syreskin

                Monitored hosts: 2646 / Active items: 23604 / Server performance: 765.74

                Temporary out of Zabbix business

                Comment

                • dan_cytexone
                  Member
                  • Dec 2008
                  • 61

                  #503
                  I was able to get this working by adding the main MIB directory into the snmpbuilder.php file. It was looking for those core MIBS.

                  Took me a while, noticed the errors primarily in Apache / error.log

                  Thanks

                  Comment

                  • Aksel
                    Senior Member
                    • Aug 2014
                    • 101

                    #504
                    Good evening.
                    Somebody set this script on 3.0?

                    Comment

                    • Gleb
                      Junior Member
                      • Apr 2016
                      • 4

                      #505
                      Hi!
                      I have some problems with Zabbix appliance 2.4 (open suse) and SNMP Builder. I have installed SNMP Builder, and i can see it in Zabbix Configuration menu. But, when i try to select mib in drop-down list, i see
                      PHP Code:
                      Fatal errorCall to undefined function json_encode() in /usr/share/zabbix/snmp_builder.php on line 700 
                      SNMP Builder installation log:
                      Code:
                      linux-yd68:/usr/share/zabbix # patch -p3 < snmpbuilder-2.4.7.patch
                      patching file include/menu.inc.php
                      patching file include/page_header.php
                      patching file include/views/administration.snmp_builder.php
                      patching file js/jquery/jquery.cookie.js
                      patching file js/jquery/jquery.jstree.js
                      patching file js/jquery/themes/mib/style.css
                      patching file js/snmp_builder/DynTable.js
                      patching file js/snmp_builder/snmp_builder.js
                      patching file jsLoader.php
                      patching file snmp_builder.php
                      
                      linux-yd68:/usr/share/zabbix # unzip zabbix-2.0-snmpbuilder-imgs.zip
                      Archive:  zabbix-2.0-snmpbuilder-imgs.zip
                       extracting: js/jquery/themes/mib/d.gif
                       extracting: js/jquery/themes/mib/d.png
                        inflating: js/jquery/themes/mib/dot_for_ie.gif
                        inflating: js/jquery/themes/mib/globe.gif
                        inflating: js/jquery/themes/mib/table.gif
                        inflating: js/jquery/themes/mib/throbber.gif
                      May be someone can give advice?

                      Comment

                      • richlv
                        Senior Member
                        Zabbix Certified Trainer
                        Zabbix Certified SpecialistZabbix Certified Professional
                        • Oct 2005
                        • 3112

                        #506
                        Originally posted by Gleb
                        Hi!
                        I have some problems with Zabbix appliance 2.4 (open suse) and SNMP Builder. I have installed SNMP Builder, and i can see it in Zabbix Configuration menu. But, when i try to select mib in drop-down list, i see
                        PHP Code:
                        Fatal errorCall to undefined function json_encode() in /usr/share/zabbix/snmp_builder.php on line 700 
                        May be someone can give advice?
                        you might be missing php json support. try this :
                        Code:
                        zypper in php5-json
                        rcapache2 restart
                        Zabbix 3.0 Network Monitoring book

                        Comment

                        • Gleb
                          Junior Member
                          • Apr 2016
                          • 4

                          #507
                          Originally posted by richlv
                          you might be missing php json support. try this :
                          Code:
                          zypper in php5-json
                          rcapache2 restart
                          Thank you! It helped!

                          Comment

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

                            #508
                            Hi,

                            For automatic install... i need to change the SNMP-Builder to use some functions included on Zabbix-Extras, so install "my build" of SNMP-Builder without the ZE... is very more complicated...

                            Currently I are coding a new version of ZE and SNMP-Builder for Zabbix 3 ... but have a LOOOOT of things to change to SNMP-Builder works on him...


                            Originally posted by aaresmi
                            Sorry spaww, one question. I am trying to install only the SNMP Builder plugin from zabbix-extras 2.1 manually,
                            For it, I did:
                            0.- uncompress snmpbuilder-master.zip
                            1.- copy the content of snmpbuilder-master folder into my zabbix web root
                            2.- Include the refer to zbxe-snmp-builder.php in include/menu.inc.php

                            When i click in SNMP Builder label i get Fatal error: require_once(): Failed opening required 'include/zbxe_visual_imp.php

                            I try to search this file in the plugin but i didn't find it.

                            am I doing something wrong?where can i find it?

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

                            Comment

                            • richlv
                              Senior Member
                              Zabbix Certified Trainer
                              Zabbix Certified SpecialistZabbix Certified Professional
                              • Oct 2005
                              • 3112

                              #509
                              Originally posted by spaww
                              Currently I are coding a new version of ZE and SNMP-Builder for Zabbix 3 ... but have a LOOOOT of things to change to SNMP-Builder works on him...
                              heya - poke me on irc, let's try again to expose the extras to the english speaking community more
                              Zabbix 3.0 Network Monitoring book

                              Comment

                              • gelowe
                                Member
                                • Jun 2008
                                • 30

                                #510
                                zabbix 3

                                Does this work with zabbix 3.0? If not is anyone looking to update it so it will? seems like too good of a tool to not get added to the overall zabbix development.

                                Comment

                                Working...