Ad Widget

Collapse

SNMP Builder for Zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • asterroid
    Junior Member
    • May 2010
    • 2

    #106
    Hi!

    What CWidget hidden secret?

    Comment

    • CeeEss
      Senior Member
      Zabbix Certified Specialist
      • Nov 2007
      • 103

      #107
      [QUOTE=giapnguyen;64585]Unfortunately, I've switched my job and don't touch zabbix server any more . But I will try to revise 1.8.2 to help you guys soon.
      I hope someone adopt the project for me. It really helpful.

      Sure is helpful, and depressing that it won't receive the attention it's due after such a promising start. Zabbix, if you want to jump out way ahead of the other wannabe-Zabbixes (and match what WhatsUp, Openview, etc can already do with SNMP) - take SNMP seriously, adopt this and make it part of Zabbix!

      thx for your hard work, giapnguyen!

      Comment

      • Wonderer
        Member
        Zabbix Certified Specialist
        • May 2010
        • 53

        #108
        Originally posted by elvar
        Any chance we'll see a version of this released soon which works with 1.8.2? I really like this addon.
        To make it work on the latest 1.8.3 (and probably 1.8.2) do following changes:

        in the file snmp_builder.php
        change
        Code:
        $page['scripts'] = array('../snmp_builder/Tree.js','../snmp_builder/snmp_builder.js','../snmp_builder/DynTable.js','scriptaculou
        s.js?load=effects,dragdrop');
        to the
        Code:
        $page['scripts'] = array('Tree.js','snmp_builder.js','DynTable.js','effects.js','dragdrop.js');
        in the file jsLoader.php
        change
        Code:
                'class.curl.js' => '',
                'class.rpc.js' => '',
                'class.pmaster.js' => ''
        );
        to the
        Code:
                'class.curl.js' => '',
                'class.rpc.js' => '',
                'class.pmaster.js' => '',
                'Tree.js' => '../snmp_builder/',
                'snmp_builder.js' => '../snmp_builder/',
                'DynTable.js' => '../snmp_builder/'
        );
        Also, to allow using of the different SNMP port instead of default 161 one in the Server: text box
        file snmp_builder.php
        change
        Code:
                        if (!preg_match('/^[0-9,\.]+$/i', $_REQUEST['server_ip']))
        to the
        Code:
                        if (!preg_match('/^[:0-9,\.]+$/i', $_REQUEST['server_ip']))
        Than you can use addresses like 192.168.1.1:8161

        Comment

        • vel
          Junior Member
          • Jun 2010
          • 9

          #109
          Hello!
          I want to create zabbix-template for the switch ZyXEL GS-3012F. I installed the module "SNMP builder". When I select the mib from the list-MIB, I have an error:
          Code:
          .- (is a reserved word): At line 481 in /usr/local/www/zabbix/snmp_builder/mibs/380LR1C0 mib - (is a reserved word): At line 481 in /usr/local/www/zabbix/snmp_builder/mibs/380LR1C0.mib
          I don't understand this error. Dashes is inline comments.
          /usr/local/www/zabbix/snmp_builder/mibs/380LR1C0.mib:
          Code:
          471: ---------------------------------------------------------------------
          472: --
          473: --  dot1x Setup
          474: --
          475: --  for AAA Service
          476: --  1. rename radius8021xSetup as dot1xSetup
          477: --  2. remove radiusLoginPrecedence (AAA Service: authentication login)
          478: --  3. remove radiusAnd8021xServer (AAA Service: radius server setup)
          479: --  4. DO NOT change oid for backward compatible
          480: --
          [COLOR="red"]481: ---------------------------------------------------------------------[/COLOR]
          482: --  dot1xSetup
          483:         dot1xSetup OBJECT IDENTIFIER ::= { gs3012f 7 }
          I attached my MIB-file for ZyXEL GS-3012F.
          Version Zabbix: 1.8.2
          Verison net-snmp: 5.5
          OS: FreeBSD 8.0

          Help me please!
          Attached Files
          Last edited by vel; 05-07-2010, 12:51.

          Comment

          • Wonderer
            Member
            Zabbix Certified Specialist
            • May 2010
            • 53

            #110
            This is the pure net-snmp error, and is not related with the SNMP Builder.
            Anyway I have fixed all errors (at least I hope so).
            Please check the attached file.

            Also do not forget that this MIB also requires the following other MIBs to work :
            Cannot find module (P-BRIDGE-MIB): At line 19 in /usr/share/snmp/mibs/ZYXEL-GS3012F-MIB.txt
            Cannot find module (Q-BRIDGE-MIB): At line 21 in /usr/share/snmp/mibs/ZYXEL-GS3012F-MIB.txt
            Cannot find module (BRIDGE-MIB): At line 23 in /usr/share/snmp/mibs/ZYXEL-GS3012F-MIB.txt
            Cannot find module (DISMAN-PING-MIB): At line 31 in /usr/share/snmp/mibs/ZYXEL-GS3012F-MIB.txt
            Cannot find module (BRIDGE-MIB): At line 42 in /usr/share/snmp/mibs/ZYXEL-GS3012F-MIB.txt
            Attached Files

            Comment

            • HunterSeeker
              Junior Member
              • Aug 2010
              • 10

              #111
              I'd love to be able to use something like this. I attempted the above-mentioned fix but I don't believe I have a jsLoader.php file on my zabbix 1.8.2. Presently SNMPBuilder shows up, no errors occur, at least none that I can see from the web GUI. Input of information results in no output though, the tables remain blank.

              Comment

              • Axilla
                Senior Member
                • Aug 2010
                • 130

                #112
                please someone get this working for 1.8.2

                Comment

                • SpiderX
                  Junior Member
                  • Apr 2010
                  • 22

                  #113
                  its working - http://www.zabbix.com/forum/showpost...&postcount=108

                  Comment

                  • Axilla
                    Senior Member
                    • Aug 2010
                    • 130

                    #114
                    Originally posted by SpiderX
                    Thanks! I'll work on that this weekend

                    Comment

                    • Peteris
                      Member
                      • Feb 2010
                      • 89

                      #115
                      Does it works on newer builds like 1.8.3?

                      Comment

                      • Axilla
                        Senior Member
                        • Aug 2010
                        • 130

                        #116
                        Originally posted by Peteris
                        Does it works on newer builds like 1.8.3?
                        yes the fix is actually for 1.8.3 but they suggest that it will work on 1.8.2 too.. So it you're good to go, i'll test on 1.8.2 this weekend and inform.

                        Comment

                        • a.vaskin
                          Junior Member
                          • Jul 2010
                          • 22

                          #117
                          Hi all! Please help me to search mibs for hp printers (CLJ 2600n, CLJ 3525, LJ3030, Lj3300). I trayed rfc-1759, clj4500, but data recieved not correctly.

                          Comment

                          • nelsonab
                            Senior Member
                            Zabbix Certified SpecialistZabbix Certified Professional
                            • Sep 2006
                            • 1233

                            #118
                            Originally posted by a.vaskin
                            Hi all! Please help me to search mibs for hp printers (CLJ 2600n, CLJ 3525, LJ3030, Lj3300). I trayed rfc-1759, clj4500, but data recieved not correctly.
                            A.vaskin, start a new thread, please do not hijack this one. Also I would suggest including more information about what you have tried and what you are trying to accomplish, maybe someone will have some ideas for you then.
                            RHCE, author of zbxapi
                            Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
                            Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

                            Comment

                            • HunterSeeker
                              Junior Member
                              • Aug 2010
                              • 10

                              #119
                              Hi everyone!
                              Good job fixing this on 1.8.2! I got most everything working. I hope this add-on gets picked up by Zabbix, it's the one thing other products have over it.

                              Anyway, I have a BladeCenter in my environment which I am trying to monitor using SNMP, I've added the proper MIBS to the directory. It seems though, that something has gone wrong. Whenever I try to get info out of the BladeCenter, I only get blank tables. Apache is spitting out the following error:

                              Code:
                              Timeout: No Response from  x.x.x.x
                              Timeout: No Response from x.x.x.x
                              This does not happen when I do an snmpwalk manually, for example:
                              Code:
                              snmpwalk -v 1 -m BLADE-MIB -Os -c community x.x.x.x mmTemp
                              results in the expected:

                              Code:
                              mmTemp.0 = STRING: "36.00 Centigrade"
                              Last edited by HunterSeeker; 16-08-2010, 21:00.

                              Comment

                              • HunterSeeker
                                Junior Member
                                • Aug 2010
                                • 10

                                #120
                                For anyone who might have the problem I did in the future, I've figured it out! It turns out SNMP Builder uses SNMP v2c by default. We use v1 in my environment. Adjusting snmp_builder.php to use v1 allowed the BladeCenter to respond. It's kind of a niche issue but hopefully someone finds this solution useful.
                                Last edited by HunterSeeker; 19-08-2010, 19:32.

                                Comment

                                Working...