Scom_ee_monitor_info – Brocade Network Advisor IP User Manual v12.1.0 User Manual
Page 1717
Brocade Network Advisor IP User Manual
1663
53-1002947-01
Views
I
VM2.VM_HOST_ADDRESS AS DEST_VM_HOST_ADDRESS,
VM1.VM_ID AS SRC_VM_ID,
VM2.VM_ID AS DEST_VM_ID,
VM1.VM_HOST_ID AS SRC_VM_HOST_ID,
VM2.VM_HOST_ID AS DEST_VM_HOST_ID
FROM
SFLOW_STAGING
LEFT JOIN VM_ADDRESS_INFO VM1 ON SFLOW_STAGING.SRC_MAC = VM1.MAC_ADDRESS
LEFT JOIN VM_ADDRESS_INFO VM2 ON SFLOW_STAGING.DEST_MAC = VM2.MAC_ADDRESS
WHERE
SFLOW_STAGING.SLNUM >= (( SELECT SFLOW_STAGING_SLNUM.MIN_SLNUM
FROM SFLOW_STAGING_SLNUM
LIMIT 1));
SCOM_EE_MONITOR_INFO
This view provides combined ee_monitor, ee_monitor_stats, device_port and device_node tables to
get the EE Monitor information for SCOM plug-in.
create or replace view SCOM_EE_MONITOR_INFO as
select distinct
EE_MONITOR.NAME,
EE_MONITOR.SWITCH_PORT_ID,
EE_MONITOR.SOURCE_PORT_ID,
EE_MONITOR.DEST_PORT_ID,
EE_MONITOR_STATS.TX,
EE_MONITOR_STATS.RX,
EE_MONITOR_STATS.CRCERRORS,
EE_MONITOR_STATS.CREATION_TIME,
SOURCE_PORT.PORT_ID as SID,
DEST_PORT.PORT_ID as DID,
SOURCE_NODE.WWN as SOURCE_DEVICE_WWN,
SOURCE_PORT.WWN as SOURCE_PORT_WWN,
DEST_NODE.WWN as DEST_DEVICE_WWN,
DEST_PORT.WWN as DEST_PORT_WWN,
SOURCE_NODE.FABRIC_ID as SOURCE_FABRIC_ID,
DEST_NODE.FABRIC_ID as DEST_FABRIC_ID,
SOURCE_PORT.DOMAIN_ID as SOURCE_SWITCH_DOMAIN_ID,
DEST_PORT.DOMAIN_ID as DEST_SWITCH_DOMAIN_ID
from
DEVICE_PORT as SOURCE_PORT,
DEVICE_PORT as DEST_PORT,
DEVICE_NODE as DEST_NODE,
DEVICE_NODE as SOURCE_NODE,
EE_MONITOR,
EE_MONITOR_STATS
where
SOURCE_PORT.ID = EE_MONITOR.SOURCE_PORT_ID
and EE_MONITOR.ID = EE_MONITOR_STATS.EE_MONITOR_ID
and SOURCE_PORT.NODE_ID = SOURCE_NODE.ID
and DEST_PORT.ID = EE_MONITOR.DEST_PORT_ID
and DEST_PORT.NODE_ID = DEST_NODE.ID
and EE_MONITOR_STATS.CREATION_TIME in (
select MAX(CREATION_TIME)
from EE_MONITOR_STATS
group by EE_MONITOR_ID);