Announcement

Collapse
No announcement yet.

SNMP Builder for Zabbix

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Originally posted by giapnguyen View Post
    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


      #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


        #18
        This is probably the coolest thing since canned beer

        Installed and had it working in about 15 minutes.

        Comment


          #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


            #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


              #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


                #22
                Originally posted by laakness View Post
                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


                  #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


                    #24
                    Originally posted by ericgearhart View Post
                    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


                      #25
                      Originally posted by ericgearhart View Post
                      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
                      http://www.zabbix.com/forum/showthread.php?t=15400
                      https://support.zabbix.com/browse/ZBXNEXT-10
                      Last edited by dima_dm; 15-01-2010, 08:30.

                      Comment


                        #26
                        Originally posted by modest View Post
                        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


                          #27
                          Originally posted by danrog View Post
                          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


                            #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


                              #29
                              Originally posted by danrog View Post
                              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


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

                                Comment

                                Working...
                                X