Ad Widget

Collapse

SNMP Builder for Zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fabioteixei
    Junior Member
    • Oct 2012
    • 6

    #331
    Hi, thanks for the reply.

    Im not an Apache expert but this log file seems to present no error.

    Code:
    192.168.2.2 - - [30/Oct/2012:11:08:17 +0000] "GET /zabbix/snmp_builder.php?ddreset=1&sid=d8fa84140edea67b HTTP/1.1" 200 27480 "http://192.168.2.60/zabbix/hostgroups.php?sid=d8fa84140edea67b" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4"
    192.168.2.2 - - [30/Oct/2012:11:08:17 +0000] "GET /zabbix/jsLoader.php?ver=2.0.0&lang=pt_BR&files[]=DynTable.js&files[]=snmp_builder.js&files[]=jquery.js&files[]=jquery.cookie.js&files[]=jquery.jstree.js HTTP/1.1" 304 - "http://192.168.2.60/zabbix/snmp_builder.php?ddreset=1&sid=d8fa84140edea67b" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4"
    192.168.2.2 - - [30/Oct/2012:11:08:17 +0000] "GET /zabbix/jsLoader.php?ver=2.0.0&lang=pt_BR HTTP/1.1" 304 - "http://192.168.2.60/zabbix/snmp_builder.php?ddreset=1&sid=d8fa84140edea67b" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4"
    192.168.2.2 - - [30/Oct/2012:11:08:17 +0000] "POST /zabbix/jsrpc.php?output=json-rpc HTTP/1.1" 200 387 "http://192.168.2.60/zabbix/snmp_builder.php?ddreset=1&sid=d8fa84140edea67b" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4"
    192.168.2.2 - - [30/Oct/2012:11:08:18 +0000] "POST /zabbix/jsrpc.php?output=json-rpc HTTP/1.1" 200 36 "http://192.168.2.60/zabbix/snmp_builder.php?ddreset=1&sid=d8fa84140edea67b" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4"
    192.168.2.2 - - [30/Oct/2012:11:08:25 +0000] "GET /zabbix/jsLoader.php?ver=2.0.0&lang=pt_BR&files[]=DynTable.js&files[]=snmp_builder.js&files[]=jquery.js&files[]=jquery.cookie.js&files[]=jquery.jstree.js HTTP/1.1" 304 - "http://192.168.2.60/zabbix/snmp_builder.php" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4"
    192.168.2.2 - - [30/Oct/2012:11:08:25 +0000] "GET /zabbix/jsLoader.php?ver=2.0.0&lang=pt_BR HTTP/1.1" 304 - "http://192.168.2.60/zabbix/snmp_builder.php" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4"
    192.168.2.2 - - [30/Oct/2012:11:08:25 +0000] "POST /zabbix/snmp_builder.php HTTP/1.1" 200 38050 "http://192.168.2.60/zabbix/snmp_builder.php?ddreset=1&sid=d8fa84140edea67b" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4"
    192.168.2.2 - - [30/Oct/2012:11:08:26 +0000] "POST /zabbix/jsrpc.php?output=json-rpc HTTP/1.1" 200 387 "http://192.168.2.60/zabbix/snmp_builder.php" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4"
    192.168.2.2 - - [30/Oct/2012:11:08:26 +0000] "GET /zabbix/jsLoader.php?ver=2.0.0&lang=pt_BR&files[]=DynTable.js&files[]=snmp_builder.js&files[]=jquery.js&files[]=jquery.cookie.js&files[]=themes/mib/style.css HTTP/1.1" 304 - "http://192.168.2.60/zabbix/snmp_builder.php" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4"
    192.168.2.2 - - [30/Oct/2012:11:08:26 +0000] "GET /zabbix/js/jquery/themes/mib/d.png HTTP/1.1" 404 1309 "http://192.168.2.60/zabbix/snmp_builder.php" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4"
    192.168.2.2 - - [30/Oct/2012:11:08:26 +0000] "GET /zabbix/js/jquery/themes/mib/globe.gif HTTP/1.1" 404 1309 "http://192.168.2.60/zabbix/snmp_builder.php" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4"
    192.168.2.2 - - [30/Oct/2012:11:08:26 +0000] "GET /zabbix/js/jquery/themes/mib/globe.gif HTTP/1.1" 404 1309 "http://192.168.2.60/zabbix/snmp_builder.php" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4"
    192.168.2.2 - - [30/Oct/2012:11:08:26 +0000] "POST /zabbix/jsrpc.php?output=json-rpc HTTP/1.1" 200 36 "http://192.168.2.60/zabbix/snmp_builder.php" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4"
    ::1 - - [30/Oct/2012:11:08:42 +0000] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.2.21 (Linux/SUSE) (internal dummy connection)"
    Did you see anything wrong with it?

    Comment

    • patjking
      Junior Member
      • Jun 2012
      • 22

      #332
      Looks like you have some 404's (file not found) in there regarding the image files for the mib tree.


      192.168.2.2 - - [30/Oct/2012:11:08:26 +0000] "GET /zabbix/js/jquery/themes/mib/globe.gif HTTP/1.1" 404 1309 "http://192.168.2.60/zabbix/snmp_builder.php"

      Comment

      • fabioteixei
        Junior Member
        • Oct 2012
        • 6

        #333
        I solved the 404 error on the images but the tree its still empty.

        Any other sugestions?

        Comment

        • patjking
          Junior Member
          • Jun 2012
          • 22

          #334
          have you installed snmp-mibs-downloader??

          Comment

          • fabioteixei
            Junior Member
            • Oct 2012
            • 6

            #335
            I think not, that wasnt on the instructions on the Readme.

            Where can i find this?

            Comment

            • patjking
              Junior Member
              • Jun 2012
              • 22

              #336
              have a look at post #312 and look at step 36 onwards

              Comment

              • fabioteixei
                Junior Member
                • Oct 2012
                • 6

                #337
                I have folowed all the steps adapting the Ubuntu paths to fedora that is the SO of the Zabbix Appliance but the problem persists.

                Any other sugestions?

                Comment

                • zabbixx
                  Member
                  • Jul 2012
                  • 71

                  #338
                  Hi can you try an other browser?
                  If i open the webui with old IE the tree is always empty... but in firefox iz works...
                  I dont undetstand can you select mibs in snmp_builder ui?
                  Reg. Zabbixx

                  Comment

                  • fabioteixei
                    Junior Member
                    • Oct 2012
                    • 6

                    #339
                    About the browser i was using Chrome.

                    But i figured out what was the problem. I dont Know Why but the plus button (+) to expand the nodes is invisible but if you click where the button is supose to be de tree expands.

                    I still dont know why this hapens but at least is working now.

                    Thanks for the help

                    Comment

                    • patjking
                      Junior Member
                      • Jun 2012
                      • 22

                      #340
                      Just installed snmpbuilder in appliance 2.0.3 changed paths in patch file and copied images to correct place and it just works. Could it be something to do with the way you patched?

                      Comment

                      • patjking
                        Junior Member
                        • Jun 2012
                        • 22

                        #341
                        Originally posted by patjking
                        Just installed snmpbuilder in appliance 2.0.3 changed paths in patch file and copied images to correct place and it just works. Could it be something to do with the way you patched?
                        One more thing it could be is the style sheet. Make sure you copied style.css to the same place as the images, in the appliance I just installed I copied the images and the style sheet to /usr/share/zabbix/js/jquery/themes/mib

                        Comment

                        • innocent
                          Junior Member
                          • Dec 2012
                          • 12

                          #342
                          anyone who has the installation steps for snmp-builder on zabbix 2.0.2?

                          Comment

                          • patjking
                            Junior Member
                            • Jun 2012
                            • 22

                            #343
                            I posted some notes back in August when if first started using zabbix, see post #312 they may help, I was a total noob when I wrote them now I am just a noob I promoted my self.

                            Comment

                            • sersad
                              Senior Member
                              • May 2009
                              • 518

                              #344
                              I have Zabbix 2.0.3 and install snmp builder as post #312.
                              Code:
                              Error in packet.
                              Reason: authorizationError (access denied to that object)
                              logs clear
                              have any tips?
                              Attached Files
                              Last edited by sersad; 18-12-2012, 15:20.

                              Comment

                              • sersad
                                Senior Member
                                • May 2009
                                • 518

                                #345
                                error
                                Code:
                                S_FUNCTION: get_table_value. S_COMMAND: snmptable -v 2c -c public -M /usr/share/snmp/mibs -Ci -CH -Cf "," -m ALL 10.21.xxx.xxx .iso.org.dod.internet.private.enterprises.company.opticalProduct.fetSystem.fetChassis.shelfTable. S_ERROR: 2. S_MESSAGE: Error in packet.Reason: authorizationError (access denied to that object)
                                at console error authorization
                                Code:
                                noc@monitor:~$ snmptable -v 2c -c public -M /usr/share/snmp/mibs -Ci -CH -Cf "," -m ALL 10.21.xxx.xxx .iso.org.dod.internet.private.enterprises.company.opticalProduct.fetSystem.fetChassis.shelfTable
                                Error in packet.
                                Reason: authorizationError (access denied to that object)
                                Last edited by sersad; 18-12-2012, 15:24.

                                Comment

                                Working...