Ad Widget

Collapse

SNMP Builder for Zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Nerfux
    Junior Member
    • Jan 2011
    • 19

    #151
    Originally posted by Nerfux
    I have just finished the snmpbuilder config, and now when i try to open a mib file to our APC InRow mib file, my browser stops answaring and give me a message that a script has stop answaring, and i get this error message;

    Script: http://10.80.145.50/zabbix/jsLoader....ng=en_gb&files[]=Tree.js&files[]=snmp_builder.js&files[]=DynTable.js&files[]=effects.js&files[]=dragdrop.js:5312

    then i press continue instead of stop the script, now i get this message:
    Script: http://10.80.145.50/zabbix/jsLoader....ng=en_gb&files[]=Tree.js&files[]=snmp_builder.js&files[]=DynTable.js&files[]=effects.js&files[]=dragdrop.js:5283

    and again i click continue;
    Skript: http://10.80.145.50/zabbix/jsLoader....ng=en_gb&files[]=Tree.js&files[]=snmp_builder.js&files[]=DynTable.js&files[]=effects.js&files[]=dragdrop.js:4075

    and then comes up with this message: Script: file:///C:/Users/eip.NO/AppData/Roaming/Mozilla/Firefox/Profiles/igzlzjb9.default/extensions/[email protected]/components/nsIeTabWatchFactory.js:244

    and after this its shows this message again:Script: http://10.80.145.50/zabbix/jsLoader....ng=en_gb&files[]=Tree.js&files[]=snmp_builder.js&files[]=DynTable.js&files[]=effects.js&files[]=dragdrop.js:4075

    anyone that have the same problem?
    is it something in my config file that is wrong?
    looking at the mib file Im trying to open its 2 Mb, so is it maybe a timeout ?

    Im using zabbix server 1.8.4 stabel vers.
    k, found out this comes because the size of the file, is it anyway that i can speed up the buffer of the script or remove the warnings i get ?

    Comment

    • acalvo
      Member
      • Oct 2010
      • 30

      #152
      Here you have a prepared version for 1.8.3, just remove the xml extension.
      It fixes the loading of JS (as mentioned in this thread).

      Is not working for me, but should work in other systems.

      And, could you post which web server, php version, json version and agent version are you using and if snmp_builder works for you?
      I want to contrast with my system so I can discard options.

      @giapnguyen
      Could it be that your modified DynTable has some glitches?
      Couldn't get it to work, but it seems to be gathering data as expected.
      Attached Files

      Comment

      • dagun
        Member
        • Sep 2009
        • 71

        #153
        Originally posted by siriusshiu-2010
        hi all,

        i had following the above installation, then i get the following result.
        Many thanks for help.
        你好啊,你在哪里?我珠海

        Comment

        • dagun
          Member
          • Sep 2009
          • 71

          #154
          你好

          Originally posted by siriusshiu-2010
          hi all,

          i had following the above installation, then i get the following result.
          Many thanks for help.
          你好啊,你在哪里?我珠海

          Comment

          • nima0102
            Senior Member
            • May 2010
            • 106

            #155
            install snmpbuilder on zabbix-1.8.3

            Hi
            I intend install snmpbuilder on zabbix-1.8.3.Is there any reported issue in patching on this version??
            for this version, DO I have to patch other files in zabbix source?

            Thanks in advance

            Comment

            • acalvo
              Member
              • Oct 2010
              • 30

              #156
              Originally posted by nima0102
              Hi
              I intend install snmpbuilder on zabbix-1.8.3.Is there any reported issue in patching on this version??
              for this version, DO I have to patch other files in zabbix source?

              Thanks in advance
              AFAIK, you only need to deploy the provided files for snmp_builder, modify the snmp_builder.php to fix paths, change jsLoader.php to include needed libraries and add the link to snmp_builder.

              Comment

              • nima0102
                Senior Member
                • May 2010
                • 106

                #157
                Thanks for your attention
                I have the same problem.

                Click image for larger version

Name:	snmp_builder.jpg
Views:	1
Size:	35.4 KB
ID:	309234

                Thanks in advance

                Comment

                • Jason
                  Senior Member
                  • Nov 2007
                  • 430

                  #158
                  I'm trying to get this working on 1.8.4... I've got php-pecl-json installed

                  but I get a blank page (no oid table) when I input an IP and select the MIB. I can browser the device fine with snmpwalk. No errors that I can spy in httpd/error_log or access_log.

                  Comment

                  • luisdavim
                    Junior Member
                    • Feb 2011
                    • 4

                    #159
                    I've modified the version from https://github.com/giapnguyen/snmpbuilder to add a dropbox for one to select the snmp version to use.
                    Attached Files
                    Last edited by luisdavim; 07-02-2011, 15:32.

                    Comment

                    • hexes
                      Junior Member
                      • Feb 2011
                      • 10

                      #160
                      Originally posted by Jason
                      I'm trying to get this working on 1.8.4... I've got php-pecl-json installed

                      but I get a blank page (no oid table) when I input an IP and select the MIB. I can browser the device fine with snmpwalk. No errors that I can spy in httpd/error_log or access_log.
                      I'v got the same error. Zabbix 1.8.3


                      Output of
                      PHP Code:
                      <?php
                          exec
                      ("snmptranslate -Ts -M /var/www/localhost/htdocs/snmp_builder/mibs -m ALL 2>&1"$results); 
                          
                      print_r($results); 
                      ?>
                      is going without errors...

                      Comment

                      • luisdavim
                        Junior Member
                        • Feb 2011
                        • 4

                        #161
                        check the apache error logs...

                        Comment

                        • hexes
                          Junior Member
                          • Feb 2011
                          • 10

                          #162
                          nginx, not Apache, it's clear. Nothink in error log...

                          Comment

                          • XelNag
                            Junior Member
                            • Feb 2011
                            • 1

                            #163
                            I've got working snmpbuilder on 1.8.4, just added the following variables to $availableJScripts array in jsLoader.php:
                            Code:
                                    'Tree.js' => '../snmp_builder/',
                                    'snmp_builder.js' => '../snmp_builder/',
                                    'DynTable.js' => '../snmp_builder/'
                            and changed $page['scripts'] variable in snmp_builder.php to the following:
                            Code:
                            $page['scripts'] = array('Tree.js','snmp_builder.js','DynTable.js','effects.js','dragdrop.js');
                            But now I have another issue - I can't to save snmp-variables as items - nothing happens then "save" button is pressed.
                            Last edited by XelNag; 28-02-2011, 17:09.

                            Comment

                            • luis
                              Junior Member
                              • Mar 2011
                              • 3

                              #164
                              snmpbuilder save&amp;clear list buttons

                              hi all,
                              thank you for this wonderful product.
                              i'm using snmpbuilder on zabbix 1.8.1, everything works well but save and clear list buttons.

                              i've already tried the fix for zabbix 1.8.4rc1 but it doesn't work.

                              how can i solve?

                              thank you

                              Comment

                              • luis
                                Junior Member
                                • Mar 2011
                                • 3

                                #165
                                snmpbuilder save&amp;clear list buttons

                                ...
                                i've installed zabbix 1.8.4 on another server and i've the same issue with the save button even if i try to use the fix of the wiki.

                                Comment

                                Working...