#
# This only applies to mesasges.dsp
# Policies are executed from top to bottom in the file.
# 0=notice,1=warning,2=error
#
[policy1a]
pattern=/LOG_ERR.*not found to quiesce or unquiesce/
severity=I
egrid=log_information
action=0

# LOG_WARNING  (SNAPSHOT: 0-0)  Snapshot (vol/sf_vol17) is 70 percent full.
[policy1b]
pattern=/LOG_WARNING.*Snapshot.*7.*percent full./
severity=W
egrid=snap_70
action=0

[policy1]
pattern=/LOG_WARNING/
severity=W
egrid=log_warning
action=0

# (PC_CARD: 31-0)  MIC PC Card - unmounted drive A: in slot 1.
[policy2a]
pattern=/LOG_ERR.*MIC PC Card - unmounted/
severity=E
egrid=micpc_unmounted
action=1

# (PC_CARD: 31-0)  MIC PC Card - in slot 1 has been removed.
[policy2b]
pattern=/LOG_ERR.*MIC PC Card.*has been removed/
severity=W
egrid=micpc_unmounted
action=0

#LOG_ERR      (LINE_CARD: 0-0)  I/O Card not present, failed, or removed on card:4
[policy22]
pattern=/LOG_ERR .*LINE_CARD.* Card not present, failed, or removed on card*/
severity=W
egrid=ComponentRemoveEventSIO
action=1

[policy2]
pattern=/LOG_ERR /
severity=W
egrid=log_error
action=0

# (PC_CARD: 31-0) MIC slave does not have a PC CARD - failover disabled!!
[policy3a]
pattern=/LOG_CRIT.*MIC.*does not have a PC CARD*/
severity=W
egrid=micpc_unmounted
action=0

[policy3]
pattern=/LOG_CRIT.*VCM: start vol redistribution*/
severity=I
egrid=log_vol_redist

[policy30]
pattern=/LOG_CRIT.*CSA.*ucast failed to deliver CSA/
severity=I
egrid=device_notice

[policy31]
pattern=/LOG_CRIT.*VCM: Initializing VCM Functionality/
severity=I
egrid=device_notice


# LOG_CRIT     (SNAPSHOT: 0-0)  Snapshot (vol/denver_vol16) is 90 percent full.
[policy33]
pattern=/LOG_CRIT.*Snapshot.*90 percent full./
severity=E
egrid=snap_90
action=1

# LOG_CRIT     (SNAPSHOT: 0-0)  Snapshot (vol/denver_vol16) is 95 percent full.
[policy34]
pattern=/LOG_CRIT.*Snapshot.*95 percent full./
severity=E
egrid=snap_95
action=1

# LOG_CRIT     (SNAPSHOT: 0-0)  Snapshot (vol/denver_vol16) is 100 percent full.
[policy35]
pattern=/LOG_CRIT.*Snapshot.*100 percent full./
severity=D
egrid=snap_100
action=1

# LOG_CRIT     (CPCM: 0-0)  Card 3 has been removed
[policy36]
pattern=/LOG_CRIT .*CPCM.*Card [1-4] has been removed*/
severity=E
egrid=ComponentRemoveEventSRC
action=1

[policy41]
pattern=/LOG_CRIT .*MIC_Failover/
severity=E
egrid=log_redund-c
action=1

[policy40]
pattern=/LOG_CRIT .*CPCM/
severity=W
egrid=log_alert
action=0

[policy42]
pattern=/LOG_CRIT .*TEMPERATURE:.*temperature is > ALARM threshold/
severity=E
egrid=log_critical.overtemp
action=1

[policy4]
pattern=/LOG_CRIT /
severity=W
egrid=log_critical
action=0

[policy50]
pattern=/LOG_ALERT .* SNTP time correction /
severity=W
egrid=sntp_alert
action=0
 
[policy50a]
pattern=/LOG_ALERT .* One or more fans have failed/
severity=I
egrid=sntp_alert
action=0

[policy5]
pattern=/LOG_ALERT /
severity=W
egrid=log_alert
action=0

[policy51]
pattern=/LOG_INFO .* Port .+ is DOWN/
severity=W
egrid=port_down
action=0

[policy6]
pattern=/MIC_Failover/
severity=I
egrid=mic_failover

# FIX for BUG 6178574
[policy7]
pattern=/has trans to Failed HA state/
severity=W
egrid=log_alert
action=0

