jjmartres / Zabbix

A great collection of Zabbix scripts and templates
GNU General Public License v2.0
882 stars 584 forks source link

ZBX-CISCO-CDP #144

Open pavkamlc opened 6 years ago

pavkamlc commented 6 years ago

Hello, Is possible to rewrite ZBX-CISCO-CDP into ZBX-CISCO-LLDP? I used https://github.com/zenoss/ZenPacks.community.LLDP before, but zabbix havent any LLDP template. I dont know if is SNMP tree the some or must be rewriten anythink else. LLDP use .1.0.8802.1.1.2.1.3.7.1 with this output:

[root@ ~]# snmpwalk -v2c -c ***** .1.0.8802.1.1.2.1.3.7.1 iso.0.8802.1.1.2.1.3.7.1.2.4 = INTEGER: 5 iso.0.8802.1.1.2.1.3.7.1.2.5 = INTEGER: 5 iso.0.8802.1.1.2.1.3.7.1.2.7 = INTEGER: 5 iso.0.8802.1.1.2.1.3.7.1.2.8 = INTEGER: 5 iso.0.8802.1.1.2.1.3.7.1.2.9 = INTEGER: 5 iso.0.8802.1.1.2.1.3.7.1.2.10 = INTEGER: 5 iso.0.8802.1.1.2.1.3.7.1.2.19 = INTEGER: 5 iso.0.8802.1.1.2.1.3.7.1.2.23 = INTEGER: 5 iso.0.8802.1.1.2.1.3.7.1.2.24 = INTEGER: 5 iso.0.8802.1.1.2.1.3.7.1.2.25 = INTEGER: 5 iso.0.8802.1.1.2.1.3.7.1.3.4 = STRING: "GigabitEthernet1/0/4" iso.0.8802.1.1.2.1.3.7.1.3.5 = STRING: "GigabitEthernet1/0/5" iso.0.8802.1.1.2.1.3.7.1.3.7 = STRING: "GigabitEthernet1/0/7" iso.0.8802.1.1.2.1.3.7.1.3.8 = STRING: "GigabitEthernet1/0/8" iso.0.8802.1.1.2.1.3.7.1.3.9 = STRING: "GigabitEthernet1/0/9" iso.0.8802.1.1.2.1.3.7.1.3.10 = STRING: "GigabitEthernet1/0/10" iso.0.8802.1.1.2.1.3.7.1.3.19 = STRING: "GigabitEthernet1/0/19" iso.0.8802.1.1.2.1.3.7.1.3.23 = STRING: "GigabitEthernet1/0/23" iso.0.8802.1.1.2.1.3.7.1.3.24 = STRING: "GigabitEthernet1/0/24" iso.0.8802.1.1.2.1.3.7.1.3.25 = STRING: "GigabitEthernet1/0/25" iso.0.8802.1.1.2.1.3.7.1.4.4 = STRING: "MSA2012mgmt" iso.0.8802.1.1.2.1.3.7.1.4.5 = STRING: "Recit" iso.0.8802.1.1.2.1.3.7.1.4.7 = STRING: "VLAN214" iso.0.8802.1.1.2.1.3.7.1.4.8 = STRING: "VLAN214" iso.0.8802.1.1.2.1.3.7.1.4.9 = STRING: "NAS01" iso.0.8802.1.1.2.1.3.7.1.4.10 = STRING: "NAS01" iso.0.8802.1.1.2.1.3.7.1.4.19 = STRING: "P2000_Man1" iso.0.8802.1.1.2.1.3.7.1.4.23 = STRING: "GigabitEthernet1/0/23 Interface" iso.0.8802.1.1.2.1.3.7.1.4.24 = STRING: "GigabitEthernet1/0/24 Interface" iso.0.8802.1.1.2.1.3.7.1.4.25 = STRING: "VLAN214" [root@zabbix ~]#