2017-12-20 14:36:49 +00:00
applications :
applications :
excluded_fields : [ device_id, app_id, timestamp]
application_metrics :
2023-10-12 07:24:27 +00:00
excluded_fields : [ id, app_id]
2017-12-20 14:36:49 +00:00
joins :
2018-05-17 14:42:00 +00:00
- { custom: 'INNER JOIN (SELECT app_id, app_type FROM applications WHERE `device_id`=?) I USING (app_id)', select : [ 'app_type' ] }
2017-12-20 14:36:49 +00:00
custom_where : ''
2018-08-19 22:44:11 +00:00
order_by : metric
2017-12-20 14:36:49 +00:00
arp-table :
ipv4_mac :
2020-10-15 01:37:40 +00:00
excluded_fields : [ id, device_id, port_id]
2018-01-21 15:50:05 +00:00
order_by : ipv4_mac.context_name, ipv4_mac.ipv4_address, ipv4_mac.mac_address
2017-12-20 14:36:49 +00:00
bgp-peers :
bgpPeers :
2019-01-19 17:44:32 +00:00
excluded_fields : [ device_id, bgpPeer_id, vrf_id]
2018-08-27 20:03:12 +00:00
joins :
2019-01-19 17:44:32 +00:00
- { left: bgpPeers.device_id, right: devices.device_id, select : [ devices.bgpLocalAs] }
- { left: bgpPeers.vrf_id, right: vrfs.vrf_id, select : [ vrfs.bgpLocalAs as vrfLocalAs] }
2017-12-20 14:36:49 +00:00
bgpPeers_cbgp :
excluded_fields : [ device_id]
2018-05-17 14:42:00 +00:00
fdb-table :
ports_fdb :
2019-02-21 12:23:01 +00:00
excluded_fields : [ device_id, ports_fdb_id, port_id, vlan_id, created_at, updated_at]
2018-05-17 14:42:00 +00:00
joins :
2018-05-19 08:46:42 +00:00
- { left: ports_fdb.port_id, right: ports.port_id, select : [ ifIndex] }
- { left: ports_fdb.vlan_id, right: vlans.vlan_id, select : [ vlan_vlan] }
2018-05-17 14:42:00 +00:00
order_by : ports.ifIndex, vlans.vlan_vlan, ports_fdb.mac_address
2020-06-19 18:37:36 +00:00
loadbalancers :
component : true
2017-12-20 14:36:49 +00:00
ports :
ports :
2018-05-26 04:27:54 +00:00
excluded_fields : [ device_id, port_id, poll_time, poll_period, ifVrf]
2017-12-20 14:36:49 +00:00
joins :
- { left: ports.port_id, right : ports_statistics.port_id }
2018-03-14 22:28:01 +00:00
order_by : ports.ifIndex, ports.ifDescr, ports.ifName
2021-11-02 03:46:55 +00:00
cipsec-tunnels :
ipsec_tunnels :
2022-10-02 14:04:08 +00:00
excluded_fields : [ local_addr, tunnel_id, device_id]
2021-11-02 03:46:55 +00:00
order_by : peer_addr
2021-03-12 06:18:48 +00:00
cisco-pw :
pseudowires :
excluded_fields : [ pseudowire_id, device_id, port_id, peer_device_id]
joins :
2022-10-03 04:10:36 +00:00
- { left: pseudowires.port_id, right: ports.port_id, select : [ ifIndex ] }
2021-03-12 06:18:48 +00:00
order_by : cpwVcID, ifIndex
2019-11-17 15:30:43 +00:00
route :
route :
2020-03-11 14:11:37 +00:00
excluded_fields : [ port_id, device_id, route_id, created_at, updated_at]
2019-11-17 15:30:43 +00:00
order_by : inetCidrRouteDest
2017-12-20 14:36:49 +00:00
processors :
processors :
excluded_fields : [ device_id, processor_id]
sensors :
sensors :
excluded_fields : [ device_id, sensor_id, state_translation_id, state_index_id, sensors_to_state_translations_id, lastupdate]
joins :
- { left: sensors.sensor_id, right : sensors_to_state_indexes.sensor_id }
- { left: sensors_to_state_indexes.state_index_id, right : state_indexes.state_index_id }
2018-03-17 19:11:00 +00:00
order_by : sensors.sensor_class, sensors.sensor_type, sensors.sensor_index
2017-12-20 14:36:49 +00:00
state_indexes :
excluded_fields : [ device_id, sensor_id, state_translation_id, state_index_id, state_lastupdated]
joins :
- { left: state_indexes.state_index_id, right : state_translations.state_index_id }
- { custom : 'INNER JOIN ( SELECT i.state_index_id FROM `sensors_to_state_indexes` i LEFT JOIN `sensors` s ON (i.`sensor_id` = s.`sensor_id`) WHERE `device_id`=? GROUP BY i.state_index_id) d ON d.state_index_id = state_indexes.state_index_id' }
2018-01-21 13:43:10 +00:00
order_by : state_indexes.state_name, state_translations.state_value
2017-12-20 14:36:49 +00:00
custom_where : ''
storage :
storage :
excluded_fields : [ device_id, storage_id]
2021-01-28 16:49:26 +00:00
order_by : storage_index, storage_type
2018-04-27 13:22:49 +00:00
vlans :
vlans :
excluded_fields : [ vlan_id, device_id]
order_by : vlan_domain, vlan_vlan
ports_vlans :
excluded_fields : [ port_vlan_id, device_id, port_id]
order_by : vlan, baseport
2018-05-17 14:42:00 +00:00
vrf :
vrfs :
excluded_fields : [ vrf_id, device_id]
2018-05-26 04:27:54 +00:00
joins :
2018-12-20 22:04:24 +00:00
- { custom : "LEFT JOIN (SELECT ifVrf, GROUP_CONCAT(ifIndex ORDER BY ifIndex ASC SEPARATOR ',') as ifIndices FROM ports GROUP BY ifVrf) p ON p.ifVrf = vrfs.vrf_id" , select : [ "p.ifIndices" ] }
2017-12-20 14:36:49 +00:00
wireless :
wireless_sensors :
excluded_fields : [ device_id, sensor_id, access_point_id, lastupdate]
2019-05-21 01:56:19 +00:00
cisco-mac-accounting :
mac_accounting :
excluded_fields : [ ma_id, port_id, poll_time, poll_prev, poll_period, cipMacHCSwitchedBytes_input_rate, cipMacHCSwitchedBytes_output_rate, cipMacHCSwitchedPkts_input_rate, cipMacHCSwitchedPkts_output_rate]
joins :
- { left: mac_accounting.port_id, right: ports.port_id, select : [ ifIndex] }
custom_where : WHERE ports.device_id=?
2019-07-28 04:11:04 +00:00
order_by : ports.ifIndex, mac
2024-07-17 21:07:57 +00:00
discovery-protocols :
links :
joins :
- { left: links.local_port_id, right: ports.port_id, select : [ ports.ifAlias, ports.ifDescr, ports.ifName] }
custom_where : WHERE links.local_device_id=?
excluded_fields : [ local_device_id, local_port_id, remote_port_id, remote_device_id, id]
order_by : ports.ifAlias,ports.ifDescr,ports.ifName,remote_hostname,remote_version,remote_port