2017-12-20 08:36:49 -06:00
applications :
applications :
excluded_fields : [ device_id, app_id, timestamp]
application_metrics :
excluded_fields : [ app_id]
joins :
2018-05-17 09:42:00 -05:00
- { custom: 'INNER JOIN (SELECT app_id, app_type FROM applications WHERE `device_id`=?) I USING (app_id)', select : [ 'app_type' ] }
2017-12-20 08:36:49 -06:00
custom_where : ''
2018-08-19 17:44:11 -05:00
order_by : metric
2017-12-20 08:36:49 -06:00
arp-table :
ipv4_mac :
excluded_fields : [ device_id, port_id]
2018-01-21 09:50:05 -06:00
order_by : ipv4_mac.context_name, ipv4_mac.ipv4_address, ipv4_mac.mac_address
2017-12-20 08:36:49 -06:00
bgp-peers :
bgpPeers :
2019-01-19 18:44:32 +01:00
excluded_fields : [ device_id, bgpPeer_id, vrf_id]
2018-08-27 15:03:12 -05:00
joins :
2019-01-19 18:44:32 +01: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 08:36:49 -06:00
bgpPeers_cbgp :
excluded_fields : [ device_id]
2018-05-17 09:42:00 -05:00
fdb-table :
ports_fdb :
2019-02-21 13:23:01 +01:00
excluded_fields : [ device_id, ports_fdb_id, port_id, vlan_id, created_at, updated_at]
2018-05-17 09:42:00 -05:00
joins :
2018-05-19 10:46:42 +02: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 09:42:00 -05:00
order_by : ports.ifIndex, vlans.vlan_vlan, ports_fdb.mac_address
2017-12-20 08:36:49 -06:00
mempools :
mempools :
excluded_fields : [ device_id, mempool_id]
2019-06-06 23:12:13 +02:00
mpls :
mpls_lsps :
excluded_fields : [ lsp_id, device_id]
order_by : vrf_oid, lsp_oid
mpls_lsp_paths :
excluded_fields : [ lsp_path_id, device_id, lsp_id]
joins :
- { left: mpls_lsp_paths.lsp_id, right: mpls_lsps.lsp_id, select : [ vrf_oid, lsp_oid] }
order_by : vrf_oid, lsp_oid, path_oid
2019-07-28 06:11:04 +02:00
mpls_sdps :
excluded_fields : [ sdp_id, device_id]
order_by : sdp_oid
mpls_sdp_binds :
excluded_fields : [ bind_id, sdp_id, svc_id, device_id]
joins :
- { left: mpls_sdp_binds.sdp_id, right: mpls_sdps.sdp_id, select : [ mpls_sdps.sdp_oid] }
- { left: mpls_sdp_binds.svc_id, right: mpls_services.svc_id, select : [ mpls_services.svc_oid] }
order_by : mpls_sdps.sdp_oid, mpls_services.svc_oid
mpls_services :
excluded_fields : [ svc_id, device_id]
order_by : svc_oid
mpls_saps :
excluded_fields : [ sap_id, svc_id, device_id]
joins :
- { left: mpls_saps.svc_id, right: mpls_services.svc_id, select : [ mpls_services.svc_oid] }
order_by : mpls_services.svc_oid, mpls_saps.sapPortId, mpls_saps.sapEncapValue
2017-12-20 08:36:49 -06:00
ports :
ports :
2018-05-25 22:27:54 -06:00
excluded_fields : [ device_id, port_id, poll_time, poll_period, ifVrf]
2017-12-20 08:36:49 -06:00
joins :
- { left: ports.port_id, right : ports_statistics.port_id }
2018-03-14 17:28:01 -05:00
order_by : ports.ifIndex, ports.ifDescr, ports.ifName
2019-11-17 16:30:43 +01:00
route :
route :
2020-03-11 15:11:37 +01:00
excluded_fields : [ port_id, device_id, route_id, created_at, updated_at]
2019-11-17 16:30:43 +01:00
order_by : inetCidrRouteDest
2018-12-20 01:18:30 -02:00
nac :
ports_nac :
excluded_fields : [ ports_nac_id, device_id, port_id]
joins :
- { left: ports_nac.port_id, right: ports.port_id, select : [ ifIndex] }
2018-12-20 19:50:12 -06:00
order_by : ports.ifIndex, mac_address
2017-12-28 16:12:08 -06:00
os :
devices :
included_fields : [ sysName, sysObjectID, sysDescr, sysContact, version, hardware, features, location, os, type, serial, icon]
2018-11-28 16:49:18 -06:00
joins :
- { left: devices.location_id, right: locations.id, select : [ location] }
2017-12-20 08:36:49 -06: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 14:11:00 -05:00
order_by : sensors.sensor_class, sensors.sensor_type, sensors.sensor_index
2017-12-20 08:36:49 -06: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 07:43:10 -06:00
order_by : state_indexes.state_name, state_translations.state_value
2017-12-20 08:36:49 -06:00
custom_where : ''
storage :
storage :
excluded_fields : [ device_id, storage_id]
2019-08-28 14:14:26 +02:00
order_by : storage_index
2018-03-17 14:07:04 +08:00
toner :
toner :
2018-03-29 04:13:45 +01:00
excluded_fields : [ device_id, toner_id]
2018-03-17 14:07:04 +08:00
order_by : toner_oid, toner_index
2018-04-27 08:22:49 -05: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 09:42:00 -05:00
vrf :
vrfs :
excluded_fields : [ vrf_id, device_id]
2018-05-25 22:27:54 -06:00
joins :
2018-12-20 23:04:24 +01: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 08:36:49 -06:00
wireless :
wireless_sensors :
excluded_fields : [ device_id, sensor_id, access_point_id, lastupdate]
2019-05-21 03:56:19 +02: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 06:11:04 +02:00
order_by : ports.ifIndex, mac