Ad Widget

Collapse

SNMP Builder for Zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dionnes
    Junior Member
    • Apr 2014
    • 1

    #421
    Zabbix 2.2.3

    Hi,

    Good morning,

    Sorry for my english, I followed the steps according to the urls listed below, but got no success:

    Used version of zabbix: 2.2.3
    SO: Ubuntu Server 12.04.4 LTS


    http://pastebin.com/iXYsZBVY



    I had to create the MIBs folder in the /usr/share/snmp/ and give permission to the user www-data.
    I copied the MIB HOST-RESOURCES-MIB to the above directory, and the test tells us nothing as picture. The information visualization of the tree is also blank.

    Errors given in file /var/log/apache/error.log

    ...
    ...
    Cannot adopt OID in HOST-RESOURCES-MIB: hrSystemDate ::= { hrSystem 2 }
    Cannot adopt OID in HOST-RESOURCES-MIB: hrSystemInitialLoadDevice ::= { hrSystem 3 }
    Cannot adopt OID in HOST-RESOURCES-MIB: hrSystemInitialLoadParameters ::= { hrSystem 4 }
    Cannot adopt OID in HOST-RESOURCES-MIB: hrSystemNumUsers ::= { hrSystem 5 }
    Cannot adopt OID in HOST-RESOURCES-MIB: hrSystemProcesses ::= { hrSystem 6 }
    Cannot adopt OID in HOST-RESOURCES-MIB: hrSystemMaxProcesses ::= { hrSystem 7 }
    Error in packet
    Reason: (noSuchName) There is no such variable name in this MIB.
    Failed object: iso.0
    ...
    ...

    The host is tested with the public community and accepting connections for zabbix host.
    Someone could help me.
    thank
    Attached Files

    Comment

    • snariom38
      Junior Member
      • Apr 2014
      • 21

      #422
      ZAbbix2.2.3/debian 7.4

      Hi,

      I have juste install snmpbuilder an Zabbix2.2.3 on Debian 7.4 and i have this error when i click on snmpbuilder
      Undefined index: hostid [snmp_builder.php:464 → get_templates() in /usr/share/zabbix/snmp_builder.php:961]
      Undefined index: hostid [snmp_builder.php:464 → get_templates() in /usr/share/zabbix/snmp_builder.php:961]
      Undefined index: hostid [snmp_builder.php:464 → get_templates() in /usr/share/zabbix/snmp_builder.php:961]

      how i can resolve this problem?

      Thanks for your help

      Comment

      • madrose
        Junior Member
        • Apr 2014
        • 2

        #423
        Originally posted by dionnes
        Hi,

        Good morning,

        Sorry for my english, I followed the steps according to the urls listed below, but got no success:

        Used version of zabbix: 2.2.3
        SO: Ubuntu Server 12.04.4 LTS


        http://pastebin.com/iXYsZBVY



        I had to create the MIBs folder in the /usr/share/snmp/ and give permission to the user www-data.
        I copied the MIB HOST-RESOURCES-MIB to the above directory, and the test tells us nothing as picture. The information visualization of the tree is also blank.

        Errors given in file /var/log/apache/error.log

        ...
        ...
        Cannot adopt OID in HOST-RESOURCES-MIB: hrSystemDate ::= { hrSystem 2 }
        Cannot adopt OID in HOST-RESOURCES-MIB: hrSystemInitialLoadDevice ::= { hrSystem 3 }
        Cannot adopt OID in HOST-RESOURCES-MIB: hrSystemInitialLoadParameters ::= { hrSystem 4 }
        Cannot adopt OID in HOST-RESOURCES-MIB: hrSystemNumUsers ::= { hrSystem 5 }
        Cannot adopt OID in HOST-RESOURCES-MIB: hrSystemProcesses ::= { hrSystem 6 }
        Cannot adopt OID in HOST-RESOURCES-MIB: hrSystemMaxProcesses ::= { hrSystem 7 }
        Error in packet
        Reason: (noSuchName) There is no such variable name in this MIB.
        Failed object: iso.0
        ...
        ...

        The host is tested with the public community and accepting connections for zabbix host.
        Someone could help me.
        thank
        I have exactly the same problem.

        I hope someone have a solution

        Comment

        • Jorge
          Junior Member
          • Apr 2014
          • 14

          #424
          Snmpbuilder Error

          Originally posted by KorJek
          Hello
          There is, in the attachment, my snmpbuilder files and some files, that I have changed.
          All pathes in archeve are saved.
          Please, admit that zabbix22 is my zabbix frontend directory.
          For importing MIBS from web please change conf such as in this post


          If you will have any problem, than write here.

          Hi,

          This is my Zabbix server : Centos 6.4, and Zabbix 2.2.3. The problem is with snmpbuilder, I was installed all components described in https://github.com/atimonin/snmpbuilder, but snmpbuilder does'nt work correctly, show screen with errors. Please help, any ideas.
          Last edited by Jorge; 19-11-2014, 18:15.

          Comment

          • KorJek
            Junior Member
            • Mar 2014
            • 8

            #425
            Originally posted by Jorge
            Hi,

            This is my Zabbix server : Centos 6.4, and Zabbix 2.2.3. The problem is with snmpbuilder, I was installed all components described in https://github.com/atimonin/snmpbuilder, but snmpbuilder does'nt work correctly, show screen with errors. Please help, any ideas.
            Try select another template? Is the error the same?

            Comment

            • Jorge
              Junior Member
              • Apr 2014
              • 14

              #426
              Snmpbuilder Error

              Originally posted by KorJek
              Try select another template? Is the error the same?

              Yes, I try with another templates, and is the same error. Please any ideas.

              Comment

              • Jorge
                Junior Member
                • Apr 2014
                • 14

                #427
                Snmpbuilder Error

                Please Help.

                I think so that zabbix snmp builder doesn't work correctly, it have many problems and there haven't support by zabbix specialists. I'm very sad.

                Comment

                • Sam89
                  Junior Member
                  • Jun 2014
                  • 2

                  #428
                  There are no ways to import a MIB in Zabbix and build a Template??

                  I read that SNMP builder was a good solution in older versions..

                  Comment

                  • Jorge
                    Junior Member
                    • Apr 2014
                    • 14

                    #429
                    Snmpbuilder Error

                    Originally posted by Sam89
                    There are no ways to import a MIB in Zabbix and build a Template??

                    I read that SNMP builder was a good solution in older versions..

                    Hi,

                    Zabbix is not supported for snmpbuilder, and is very important, this is a great limitation. I think so Zabbix is a poor monitoring tool.

                    Comment

                    • BashOrgRu
                      Junior Member
                      • Jul 2014
                      • 1

                      #430
                      Originally posted by Jorge
                      Hi,

                      Zabbix is not supported for snmpbuilder, and is very important, this is a great limitation. I think so Zabbix is a poor monitoring tool.
                      hi guy. your problem was solved a couple pages ago.
                      here: https://www.zabbix.com/forum/showpos...&postcount=384

                      but i have another problem, OID tree doesn't builds

                      i don't know where to look for.
                      it's my first zabbix, linux experience and i confused a lot.

                      Comment

                      • gabriellg
                        Junior Member
                        • Jul 2014
                        • 1

                        #431
                        Errors

                        Hi.
                        Sorry for my english, I followed any steps for install snmp-builder.
                        I have exactly the same problem the users dionnes and madrose ^

                        I hope someone have a solution

                        Used version of zabbix: 2.2.3
                        SO: Debian Wheezy

                        Images for errors:






                        Comment

                        • snake79
                          Junior Member
                          • Aug 2014
                          • 4

                          #432
                          Snmpbuilder for Zabbix v2.2.5

                          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

                          Code:
                          [root@zabbix-machine zabbix]# pwd
                          /usr/share/zabbix
                          [root@zabbix-machine zabbix]# unzip snmpbuilder225v2.zip
                          Archive:  snmpbuilder225v2.zip
                          replace include/menu.inc.php? [y]es, [n]o, [A]ll, [N]one, [r]ename: A
                            inflating: include/menu.inc.php
                            inflating: include/page_header.php
                            inflating: include/views/administration.snmp_builder.php
                            inflating: jsLoader.php
                            inflating: js/jquery/jquery.cookie.js
                            inflating: js/jquery/jquery.jstree.js
                             creating: js/jquery/themes/
                             creating: js/jquery/themes/mib/
                           extracting: js/jquery/themes/mib/d.gif
                           extracting: js/jquery/themes/mib/d.png
                           extracting: js/jquery/themes/mib/dot_for_ie.gif
                            inflating: js/jquery/themes/mib/globe.gif
                            inflating: js/jquery/themes/mib/style.css
                            inflating: js/jquery/themes/mib/table.gif
                            inflating: js/jquery/themes/mib/throbber.gif
                             creating: js/snmp_builder/
                            inflating: js/snmp_builder/DynTable.js
                            inflating: js/snmp_builder/snmp_builder.js
                            inflating: snmp_builder.php
                          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
                          Attached Files

                          Comment

                          • blacksd
                            Junior Member
                            • Aug 2014
                            • 1

                            #433
                            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
                            I tried your build, on CentOS 6.5 x64 and Zabbix 2.2.5, and got an error:

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

                            Comment

                            • monosoul
                              Junior Member
                              • Nov 2013
                              • 16

                              #434
                              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
                              Same here:
                              Code:
                              Call to a member function useJQueryStyle() on a non-object in /usr/share/zabbix/include/html.inc.php on line 539

                              Comment

                              • glazkow
                                Junior Member
                                • Aug 2014
                                • 1

                                #435
                                Originally posted by monosoul
                                Same here:
                                Code:
                                Call to a member function useJQueryStyle() on a non-object in /usr/share/zabbix/include/html.inc.php on line 539
                                Anyone solved this problem?
                                Code:
                                Call to a member function useJQueryStyle() on a non-object in /usr/share/zabbix/include/html.inc.php on line 539

                                Comment

                                Working...