Ad Widget

Collapse

SNMP Builder for Zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ericgearhart
    Senior Member
    • Jan 2009
    • 115

    #16
    Originally posted by giapnguyen
    I think zabbix already use json to draw map. Whatever php-json is required.
    Well maps were working before I installed php-json... I hadn't done a lot with maps(I'm still playing with items and triggers) but I hadn't noticed that the default "Local Network" map wasn't working

    Comment

    • jroberson
      Senior Member
      • May 2008
      • 124

      #17
      Wow, that looks incredible! Just another reason for me to get off my lazy butt and upgrade to 1.8.

      Great Job and Much Appreciated!

      Comment

      • laakness
        Junior Member
        • Oct 2009
        • 20

        #18
        This is probably the coolest thing since canned beer

        Installed and had it working in about 15 minutes.

        Comment

        • laakness
          Junior Member
          • Oct 2009
          • 20

          #19
          Not sure if it's possible but I have a suggestion/feature request for this.

          Can you lock the Column Title row in the Table View so that when you are scrolling around the list you know what you are clicking on easier?

          Comment

          • ericgearhart
            Senior Member
            • Jan 2009
            • 115

            #20
            After playing with this over the past week it's become increasingly apparent that Zabix really, really needs a way to associate an SNMP ifAlias with an interface.... Cacti does this brilliantly already and it would be a much welcomed addition to Zabbix

            Comment

            • ericgearhart
              Senior Member
              • Jan 2009
              • 115

              #21
              Zbxnext-1

              There's already a feature request open for this too on the bug tracker... appropriately enough its id is ZBXNEXT-1

              Comment

              • giapnguyen
                Member
                • Aug 2009
                • 33

                #22
                Originally posted by laakness
                Not sure if it's possible but I have a suggestion/feature request for this.

                Can you lock the Column Title row in the Table View so that when you are scrolling around the list you know what you are clicking on easier?
                It's quite possible. I'll move title's row and index column into other fixed tables, only contain is scrollable. It's next version.

                Comment

                • danrog
                  Senior Member
                  • Sep 2009
                  • 164

                  #23
                  I have some issues with tables being converted to items. It's logging some snmptranslate syntax errors. I noticed if I change the get_oid_content function to include the MIB name with the oid name it gets further but not much. Have you run into this with some of your MIBs? If so, did you fix it, if not, could you point me the right direction?

                  Here is what doesn't work (added some echo statements to a tmp logfile):
                  Code:
                  snmptranslate -Td -OS -M /var/www/html/zabbix/snmp_builder/mibs:/usr/share/snmp/mibs -m ALL ltmPoolStatServerPktsIn
                  This does:
                  Code:
                  snmptranslate -Td -OS -M /var/www/html/zabbix/snmp_builder/mibs:/usr/share/snmp/mibs -m ALL F5-BIGIP-LOCAL-MIB::ltmPoolStatServerPktsIn

                  Comment

                  • modest
                    Member
                    • Dec 2009
                    • 40

                    #24
                    Originally posted by ericgearhart
                    I was able to test this today, and it works! I pointed snmpbuilder at a Cisco 2960G switch here at work and added a few interface items... as you can see at the bottom I also get the "Undefined index" errors but it seems to work OK nevertheless. I'm on CentOS 5.4.

                    The screenshot speaks for itself:
                    I get the same errors on latest Zabbix 1.9 (trunk) rev.9324 and CentOS 5.4. Seems they are not related to Zabbix. Has anybody solution to it?

                    It would be great if Zabbix would have their own Template builder or something like that for transforming SNMP MIB files to Templates...

                    Comment

                    • dima_dm
                      Senior Member
                      • Dec 2009
                      • 2697

                      #25
                      Originally posted by ericgearhart
                      There's already a feature request open for this too on the bug tracker... appropriately enough its id is ZBXNEXT-1
                      it is more flexible approach

                      Last edited by dima_dm; 15-01-2010, 08:30.

                      Comment

                      • giapnguyen
                        Member
                        • Aug 2009
                        • 33

                        #26
                        Originally posted by modest
                        I get the same errors on latest Zabbix 1.9 (trunk) rev.9324 and CentOS 5.4. Seems they are not related to Zabbix. Has anybody solution to it?

                        It would be great if Zabbix would have their own Template builder or something like that for transforming SNMP MIB files to Templates...
                        It not a big issue. You can decrease notify level in php.ini. I kind of busy - moving office so next version is delay.
                        I agree that it could be great if Zabbix integrate the tool for better maintain.

                        Comment

                        • giapnguyen
                          Member
                          • Aug 2009
                          • 33

                          #27
                          Originally posted by danrog
                          I have some issues with tables being converted to items. It's logging some snmptranslate syntax errors. I noticed if I change the get_oid_content function to include the MIB name with the oid name it gets further but not much. Have you run into this with some of your MIBs? If so, did you fix it, if not, could you point me the right direction?

                          Here is what doesn't work (added some echo statements to a tmp logfile):
                          Code:
                          snmptranslate -Td -OS -M /var/www/html/zabbix/snmp_builder/mibs:/usr/share/snmp/mibs -m ALL ltmPoolStatServerPktsIn
                          This does:
                          Code:
                          snmptranslate -Td -OS -M /var/www/html/zabbix/snmp_builder/mibs:/usr/share/snmp/mibs -m ALL F5-BIGIP-LOCAL-MIB::ltmPoolStatServerPktsIn
                          The second is right one, could you send your MIBs for me. I can check it for you.

                          Comment

                          • danrog
                            Senior Member
                            • Sep 2009
                            • 164

                            #28
                            Here is one of them. The issue is with the tables. It will pick up the values from the device but it will not convert them to a zabbix item. Its getting hung up on the index value for each of the table items.
                            Attached Files

                            Comment

                            • giapnguyen
                              Member
                              • Aug 2009
                              • 33

                              #29
                              Originally posted by danrog
                              Here is one of them. The issue is with the tables. It will pick up the values from the device but it will not convert them to a zabbix item. Its getting hung up on the index value for each of the table items.
                              Hi danrog, I don't F5 devices so I can't debug the bug. I think the bug made involve with indexes. SNMP Builder should solve OID automatically (via get_oid_value function), you don't need add MIB manually in get_oid_from_name function. It is because selected oids may belong to related MIBs not current one.

                              I don't know why your snmptranslate commands missing MIB and Index values. Could you post the screenshot of your table?

                              My tableview with correct generated oids.

                              Click image for larger version

Name:	vmm.jpg
Views:	1
Size:	95.6 KB
ID:	308743

                              Comment

                              • danrog
                                Senior Member
                                • Sep 2009
                                • 164

                                #30
                                How did you get that debug statement up???? Much more elegant then mine :-)

                                Comment

                                Working...