Switch_info – Brocade Network Advisor SAN + IP User Manual v12.1.0 User Manual
Page 2291
2254
Brocade Network Advisor SAN + IP User Manual
53-1002949-01
Views
I
sum(case when MEASURE_ID = 43 then value else 0 end) as TOO_LONG_ERRORS,
sum(case when MEASURE_ID = 39 then value else 0 end) as CRC_ERRORS
from TIME_SERIES_DATA_1_1DAY, VIRTUAL_SWITCH
where ME_ID = MANAGED_ELEMENT_ID and COLLECTOR_ID = 12
group by ME_ID, TARGET_TYPE, TARGET_ID, TIME_IN_SECONDS,VIRTUAL_SWITCH_ID order
by TIME_IN_SECONDS desc;
SWITCH_INFO
create or replace view SWITCH_INFO as
select
CORE_SWITCH.ID as PHYSICAL_SWITCH_ID,
CORE_SWITCH.NAME as PHYSICAL_SWITCH_NAME,
CORE_SWITCH.IP_ADDRESS,
CORE_SWITCH.WWN as PHYSICAL_SWITCH_WWN,
CORE_SWITCH.OPERATIONAL_STATUS as PHYSICAL_OPERATIONAL_STATUS,
CORE_SWITCH.TYPE,
CORE_SWITCH.MAX_VIRTUAL_SWITCHES,
CORE_SWITCH.NUM_VIRTUAL_SWITCHES,
CORE_SWITCH.FIRMWARE_VERSION,
CORE_SWITCH.VENDOR,
CORE_SWITCH.REACHABLE,
CORE_SWITCH.UNREACHABLE_TIME,
CORE_SWITCH.MODEL,
CORE_SWITCH.SYSLOG_REGISTERED,
CORE_SWITCH.SNMP_REGISTERED,
CORE_SWITCH.CALL_HOME_ENABLED,
CORE_SWITCH.USER_IP_ADDRESS,
CORE_SWITCH.NIC_PROFILE_ID,
CORE_SWITCH.MANAGING_SERVER_IP_ADDRESS,
CORE_SWITCH.VF_ENABLED,
CORE_SWITCH.VF_SUPPORTED,
CORE_SWITCH.MANAGED_ELEMENT_ID as CORE_MANAGED_ELEMENT_ID,
CORE_SWITCH.NAT_PRIVATE_IP_ADDRESS,
CORE_SWITCH.ALTERNATE_IP_ADDRESS,
CORE_SWITCH.MAC_ADDRESS,
VIRTUAL_SWITCH.ID,
VIRTUAL_SWITCH.NAME,
VIRTUAL_SWITCH.OPERATIONAL_STATUS,
VIRTUAL_SWITCH.SWITCH_MODE,
VIRTUAL_SWITCH.AD_CAPABLE,
VIRTUAL_SWITCH.WWN,
VIRTUAL_SWITCH.ROLE,
VIRTUAL_SWITCH.FCS_ROLE,
VIRTUAL_SWITCH.DOMAIN_ID,
VIRTUAL_SWITCH.VIRTUAL_FABRIC_ID,
VIRTUAL_SWITCH.BASE_SWITCH,
VIRTUAL_SWITCH.MAX_ZONE_CONFIG_SIZE,
VIRTUAL_SWITCH.CREATION_TIME,
VIRTUAL_SWITCH.LAST_UPDATE_TIME,
VIRTUAL_SWITCH.USER_NAME,
VIRTUAL_SWITCH.PASSWORD,
VIRTUAL_SWITCH.MANAGEMENT_STATE,
VIRTUAL_SWITCH.STATE,
VIRTUAL_SWITCH.STATUS,
VIRTUAL_SWITCH.STATUS_REASON,
VIRTUAL_SWITCH.FABRIC_IDID_MODE,
VIRTUAL_SWITCH.LOGICAL_ID,