Ad Widget
Collapse
SNMP Builder for Zabbix
Collapse
X
-
-
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 ZabbixComment
-
-
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
-
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):
This does:Code:snmptranslate -Td -OS -M /var/www/html/zabbix/snmp_builder/mibs:/usr/share/snmp/mibs -m ALL ltmPoolStatServerPktsIn
Code:snmptranslate -Td -OS -M /var/www/html/zabbix/snmp_builder/mibs:/usr/share/snmp/mibs -m ALL F5-BIGIP-LOCAL-MIB::ltmPoolStatServerPktsIn
Comment
-
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?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:
It would be great if Zabbix would have their own Template builder or something like that for transforming SNMP MIB files to Templates...Comment
-
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 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...
I agree that it could be great if Zabbix integrate the tool for better maintain.
Comment
-
The second is right one, could you send your MIBs for me. I can check it for you.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):
This does:Code:snmptranslate -Td -OS -M /var/www/html/zabbix/snmp_builder/mibs:/usr/share/snmp/mibs -m ALL ltmPoolStatServerPktsIn
Code:snmptranslate -Td -OS -M /var/www/html/zabbix/snmp_builder/mibs:/usr/share/snmp/mibs -m ALL F5-BIGIP-LOCAL-MIB::ltmPoolStatServerPktsIn
Comment
-
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 FilesComment
-
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.
Comment
I think zabbix already use json to draw map. Whatever php-json is required.

Comment