librenms/includes/discovery
Martijn Schmidt a64bd45dbc
Update IronWare sensors & bgp-peers discovery, allow skip_values to target a specific index appended to the OID (#10941)
* Migrate ironware sensor discovery from php to yaml.

* More sensors, add grouping.

* dynamic_discovery_get_value() becomes getValueFromData()

* Target a specific index with skip_values.

* Improve Brocade BGP session discovery/polling

This commit allows for the correct discovery of BGP sessions
with 32-bit ASNs, IPv6 neighbors using the BGP4V2-MIB which is
based on draft-ietf-idr-bgp4-mibv2-11 and also polls for IPv4
unicast received routes through the FOUNDRY-SN-BGP4-GROUP-MIB.

Copied most of the code from PR#8877 by @Mikeburke14, cleaned
up the code a little bit to match the normal LibreNMS style,
and fixed bgpPeers_cbgp discovery as well as polling for the
ipv4.unicast neighbors.

Note that older Brocade IronWare firmware versions are known
to have multiple defects relating to the BGP4V2-MIB which
might result in certain missing non-established neighbors.

Related vendor defect numbers:

- DEFECT000633962
-- Symptom: The OID bgp4V2PeerAdminStatus does not return the
            correct value
-- Reported: NI 05.7.00
-- Resolved: NI 05.8.00g

- DEFECT000583319
-- Symptom: SNMP polling on bgp4V2PeerTable (OID brcdIp.3.5.1.1.2)
            does not display all the BGP entries
-- Reported: NI 05.6.00
-- Resolved: NI 05.8.00e

- DEFECT000550309
-- Symptom: SNMP polling on bgp4V2PeerTable (OID brcdIp.3.5.1.1.2)
            does not display the full information
-- Reported: NI 05.7.00
-- Resolved: NI 05.8.00c

* Add ironware CER & ICX platform test data.

* Re-add ironware.json compatible with current master branch.
2020-02-01 23:28:03 +01:00
..
arp-table device: Added support for ScreenOS arp tables (#8273) 2018-02-22 08:28:41 +00:00
entity-physical Added VRP SFPs thresholds and map entPhysical to ifIndexes (#10363) 2019-07-14 18:37:01 -05:00
fdb-table Fixed issue with SNMP contexts using vlan 1002-1005 on IOS devices (#11031) 2020-01-15 12:10:02 +01:00
loadbalancers Improved Logging and Debugging (#8870) 2018-07-13 23:08:00 +01:00
mempools Support new os GWD (#10978) 2019-12-28 12:40:54 +01:00
ntp Improved Logging and Debugging (#8870) 2018-07-13 23:08:00 +01:00
os newdevice: Add basic Ubiquiti LTU airFiber support (#8521) 2018-04-09 00:34:25 -05:00
ports Brocade switches - Added names on fiberchannel ports (#10737) 2019-11-13 14:29:30 +00:00
sensors Update IronWare sensors & bgp-peers discovery, allow skip_values to target a specific index appended to the OID (#10941) 2020-02-01 23:28:03 +01:00
storage Added AIX file system, prefer over hrstorage for AIX (#10588) 2019-11-13 06:01:45 +00:00
vlans If dot1qVlanCurrentTable doesn't exist try dot1qVlanStaticTable (#10262) 2019-10-21 13:41:47 +00:00
applications.inc.php refactor: Replace custom queries with dbDeleteOrphans(). (#7862) 2017-12-06 22:44:23 +00:00
arp-table.inc.php fix: Fix arp-tables updates (#8180) 2018-02-01 09:50:32 +00:00
bgp-peers.inc.php Update IronWare sensors & bgp-peers discovery, allow skip_values to target a specific index appended to the OID (#10941) 2020-02-01 23:28:03 +01:00
cisco-cbqos.inc.php Update code in includes to be PSR-2 compliant (#4220) 2016-08-28 18:32:58 +01:00
cisco-cef.inc.php Disco / Poller tidy up + Added display of module mem usage (#5778) 2017-02-07 22:54:30 -06:00
cisco-mac-accounting.inc.php Fixed Cisco MAC accounting discovery, polling and HTML templates. (#10158) 2019-05-20 20:56:19 -05:00
cisco-otv.inc.php Cisco OTV cast issue building empty adj (#9968) 2019-03-15 07:28:01 -05:00
cisco-pw.inc.php Improved Logging and Debugging (#8870) 2018-07-13 23:08:00 +01:00
cisco-qfp.inc.php Added Cisco QFP module (#10637) 2019-10-05 11:10:34 +02:00
cisco-sla.inc.php Fix mysql bug in cisco-sla module (#10357) 2019-06-21 07:16:19 -05:00
cisco-vrf-lite.inc.php Escape SNMP & IPMI shell commands (#9537) 2018-12-16 13:42:50 +00:00
core.inc.php Ensure that sysName is trimmed on discovery (#10434) 2019-07-10 17:54:24 +02:00
discovery-arp.inc.php refactor: Use the Config class includes/discovery (#7299) 2017-09-11 21:26:41 +01:00
discovery-protocols.inc.php Fix for RouterOS LLDP discovery (#10265) 2019-05-28 08:32:51 +02:00
entity-physical.inc.php New OS: Schleifenbauer, entity-physical improvements, various html page fixes (#9471) 2019-01-20 12:24:11 -06:00
entity-state.inc.php Replace usages of array_combine() that match array_by_column() (#7863) 2017-12-06 08:19:29 +00:00
fdb-table.inc.php fdb-table.inc.php: Fix SQL constrain violation, 'port_id' cannot be null (#11055) 2020-01-21 10:46:34 +01:00
functions.inc.php Update IronWare sensors & bgp-peers discovery, allow skip_values to target a specific index appended to the OID (#10941) 2020-02-01 23:28:03 +01:00
hr-device.inc.php refactor: Various Code Cleanup (#5777) 2017-02-05 22:37:08 +00:00
ipv4-addresses.inc.php Ignore empty IPv4 addresses in discovery on buggy devices (#10198) 2019-05-09 06:39:57 -05:00
ipv6-addresses.inc.php Escape SNMP & IPMI shell commands (#9537) 2018-12-16 13:42:50 +00:00
junose-atm-vp.inc.php refactor: Use the Config class includes/discovery (#7299) 2017-09-11 21:26:41 +01:00
libvirt-vminfo.inc.php refactor: Use the Config class includes/discovery (#7299) 2017-09-11 21:26:41 +01:00
loadbalancers.inc.php F5 gtm support (#8161) 2018-02-01 23:35:23 -06:00
mef.inc.php newdevice: Added Coriant support (#6026) 2017-03-11 07:30:31 -06:00
mempools.inc.php Disco / Poller tidy up + Added display of module mem usage (#5778) 2017-02-07 22:54:30 -06:00
mpls.inc.php Add MPLS Support (#10263) 2019-06-06 16:12:13 -05:00
ntp.inc.php device: Add NTP support for Allied Telesis AWPlus products (#8580) 2018-05-08 20:37:06 -05:00
os.inc.php Major Processors rewrite (#8066) 2018-02-05 07:39:13 -06:00
ports-stack.inc.php Improved Logging and Debugging (#8870) 2018-07-13 23:08:00 +01:00
ports.inc.php Add bad_ifoperstatus for filtering interfaces having a status for example 'notPresent' (#10977) 2020-01-24 05:58:01 -06:00
processors.inc.php Major Processors rewrite (#8066) 2018-02-05 07:39:13 -06:00
route.inc.php Missing 'use LibreNMS\Config' in route discovery (#10844) 2019-11-19 20:38:21 +00:00
sensors.inc.php Printer paper tray status and error states (#9859) 2019-03-06 18:58:14 -06:00
services.inc.php refactor: Use the Config class includes/discovery (#7299) 2017-09-11 21:26:41 +01:00
storage.inc.php Pretty up the discovery process output 2016-06-21 00:59:43 +01:00
stp.inc.php Improved Logging and Debugging (#8870) 2018-07-13 23:08:00 +01:00
toner.inc.php Fix printer discovery level (#9917) 2019-03-07 19:51:39 -06:00
ucd-diskio.inc.php Feature: Add option to ignore blockdevice regex (#8797) 2018-06-05 09:28:13 +00:00
vlans.inc.php Fixed IN db queries (#9077) 2018-08-26 13:42:21 +01:00
vmware-vminfo.inc.php Improved Logging and Debugging (#8870) 2018-07-13 23:08:00 +01:00
vrf.inc.php Nokia vrf bgp (#9622) 2019-01-19 11:44:32 -06:00
wireless.inc.php Major Processors rewrite (#8066) 2018-02-05 07:39:13 -06:00