You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
416 lines
16 KiB
416 lines
16 KiB
#### Start Fiber Guardian ####
|
|
###
|
|
##
|
|
#
|
|
else if ((nmatch(@AlertKey, ".1.3.6.1.4.1.2544")))
|
|
{
|
|
log(INFO,"AAB Specific : Fiber Guardian trap from " + $hostname )
|
|
|
|
$hostname = @Node
|
|
$hostname = extract($hostname, "(.*)\.nl\.eu\.abnamro\.com$")
|
|
|
|
@Node = $hostname
|
|
|
|
@ApplId = "FiberGuardian"
|
|
|
|
if (nmatch(@AlertKey, ".1.3.6.1.4.1.2544.1.14.6.11")) # alarmThresCrossedFast
|
|
{
|
|
@Severity = 5
|
|
$Event_Reasoncode = "MON.I.FIB.00001"
|
|
|
|
@Summary = $hostname + ": alarmThresCrossedFast: portAidString = " + $2 + ", portName = " + $3 + ", alarmSeverity = " + $4
|
|
|
|
log(INFO,"AAB Specific: Detected trap alarmThresCrossedFast")
|
|
|
|
} # end alarmThresCrossedFast
|
|
|
|
else if (nmatch(@AlertKey, ".1.3.6.1.4.1.2544.1.14.6.12")) # alarmThresCrossedMedium
|
|
{
|
|
@Severity = 5
|
|
$Event_Reasoncode = "MON.I.FIB.00001"
|
|
|
|
@Summary = $hostname + ": alarmThresCrossedMedium: portAidString = " + $2 + ", portName = " + $3 + ", alarmSeverity = " + $4
|
|
|
|
log(INFO,"AAB Specific: Detected trap alarmThresCrossedMedium")
|
|
|
|
} # end alarmThresCrossedMedium
|
|
|
|
else if (nmatch(@AlertKey, ".1.3.6.1.4.1.2544.1.14.6.13")) # alarmThresCrossedSlow
|
|
{
|
|
@Severity = 5
|
|
$Event_Reasoncode = "MON.I.FIB.00001"
|
|
|
|
@Summary = $hostname + ": alarmThresCrossedSlow: portAidString = " + $2 + ", portName = " + $3 + ", alarmSeverity = " + $4
|
|
|
|
log(INFO,"AAB Specific: Detected trap alarmThresCrossedSlow")
|
|
|
|
} # end alarmThresCrossedSlow
|
|
else if (nmatch(@AlertKey, ".1.3.6.1.4.1.2544.1.14.6.14")) # alarmLinkBudgetExceeded
|
|
{
|
|
@Severity = 5
|
|
$Event_Reasoncode = "MON.I.FIB.00001"
|
|
|
|
@Summary = $hostname + ": alarmLinkBudgetExceeded: portAidString = " + $2 + ", portName = " + $3 + ", alarmSeverity = " + $4
|
|
|
|
log(INFO,"AAB Specific: Detected trap alarmLinkBudgetExceeded")
|
|
|
|
} # end alarmLinkBudgetExceeded
|
|
|
|
else if (nmatch(@AlertKey, ".1.3.6.1.4.1.2544.1.14.6.15")) # alarmLinkBudgetNearlyExceeded
|
|
{
|
|
@Severity = 5
|
|
$Event_Reasoncode = "MON.I.FIB.00001"
|
|
|
|
@Summary = $hostname + ": alarmLinkBudgetNearlyExceeded: portAidString = " + $2 + ", portName = " + $3 + ", alarmSeverity = " + $4
|
|
|
|
log(INFO,"AAB Specific: Detected trap alarmLinkBudgetNearlyExceeded")
|
|
|
|
} # end alarmLinkBudgetNearlyExceeded
|
|
|
|
else if (nmatch(@AlertKey, ".1.3.6.1.4.1.2544.1.14.6.45")) # transientInternalError
|
|
{
|
|
@Severity = 4
|
|
$Event_Reasoncode = "MON.I.FIB.00002"
|
|
|
|
@Summary = $hostname + ": transientInternalError: some critical error happened which affects monitoring capabilities."
|
|
|
|
log(INFO,"AAB Specific: Detected trap transientInternalError")
|
|
|
|
} # end transientInternalError
|
|
|
|
else if (nmatch(@AlertKey, ".1.3.6.1.4.1.2544.1.14.6.46")) # alarmRebootRunning
|
|
{
|
|
@Severity = 4
|
|
$Event_Reasoncode = "MON.I.FIB.00002"
|
|
|
|
@Summary = $hostname + ": alarmRebootRunning: aidString = " + $2 + ", alarmSeverity = " + $3
|
|
|
|
log(INFO,"AAB Specific: Detected trap alarmMonProcNotRunning")
|
|
|
|
} # end alarmRebootRunning
|
|
|
|
else if (nmatch(@AlertKey, ".1.3.6.1.4.1.2544.1.14.6.48")) # alarmBadSysStat
|
|
{
|
|
@Severity = 4
|
|
$Event_Reasoncode = "MON.I.FIB.00002"
|
|
|
|
@Summary = $hostname + ": alarmBadSysStat: aidString = " + $2 + ", alarmSeverity = " + $3
|
|
|
|
log(INFO,"AAB Specific: Detected trap alarmBadSysStat")
|
|
|
|
} # end alarmBadSysStat
|
|
|
|
|
|
else if (nmatch(@AlertKey, ".1.3.6.1.4.1.2544.1.14.6.50")) # alarmMonProcNotRunning
|
|
{
|
|
@Severity = 4
|
|
$Event_Reasoncode = "MON.I.FIB.00002"
|
|
|
|
@Summary = $hostname + ": alarmMonProcNotRunning: aidString = " + $2 + ", alarmSeverity = " + $3
|
|
|
|
log(INFO,"AAB Specific: Detected trap alarmMonProcNotRunning")
|
|
|
|
} # end alarmMonProcNotRunning
|
|
|
|
else if (nmatch(@AlertKey, ".1.3.6.1.4.1.2544.1.14.6.60")) # alarmEmailNotifyLinkBudgetExceeded
|
|
{
|
|
@Severity = 5
|
|
$Event_Reasoncode = "MON.I.FIB.00001"
|
|
|
|
@Summary = $hostname + ": alarmEmailNotifyLinkBudgetExceeded: portAidString = " + $2 + ", portName = " + $3 +
|
|
", alarmEmailNotifyExternalId = " + $4 + ", alarmEmailNotifyId = " + $5 +
|
|
", alarmEmailNotifySeverity = " + $6 + ", alarmEmailNotifyTimeStamp = " + $7 +
|
|
", alarmEmailNotifyState = " + $8 + ", alarmEmailNotifyEvent = " + $9 +
|
|
", alarmEmailNotifyEventTimeStamp = " + $10 + ", alarmEmailNotifyFaultType = " + $11 +
|
|
", alarmEmailNotifyFaultPosition = " + $12 + ", alarmEmailNotifyFaultAnalysisReference = " + $13
|
|
|
|
log(INFO,"AAB Specific: Detected trap alarmEmailNotifyLinkBudgetExceeded")
|
|
|
|
} # end alarmEmailNotifyLinkBudgetExceeded
|
|
|
|
else if (nmatch(@AlertKey, ".1.3.6.1.4.1.2544.1.14.6.63")) # authenticationNotificationSummary
|
|
{
|
|
@Severity = 4
|
|
$Event_Reasoncode = "MON.I.FIB.00002"
|
|
|
|
@Summary = $hostname + ": authenticationNotificationSummary: authTrapProtocol = " + $2 + ", authTrapSuccessfulAuthCount = " + $3 +
|
|
", authTrapUnsuccessfulAuthCount = " + $4 + ", authTrapLogoutCount = " + $5
|
|
|
|
log(INFO,"AAB Specific: Detected trap authenticationNotificationSummary")
|
|
|
|
} # end authenticationNotificationSummary
|
|
|
|
else if (nmatch(@AlertKey, ".1.3.6.1.4.1.2544.1.14.6.68")) # alarmRootLinkFault
|
|
{
|
|
@Severity = 5
|
|
$Event_Reasoncode = "MON.I.FIB.00001"
|
|
|
|
@Summary = $hostname + ": alarmRootLinkFault: portAidString = " + $2 + ", portName = " + $3 + ", alarmSeverity = " + $4
|
|
|
|
log(INFO,"AAB Specific: Detected trap alarmRootLinkFault")
|
|
|
|
} # end alarmRootLinkFault
|
|
|
|
else if (nmatch(@AlertKey, ".1.3.6.1.4.1.2544.1.15.6.11")) # alarmThresCrossedFast
|
|
{
|
|
@Severity = 5
|
|
$Event_Reasoncode = "MON.I.FIB.00001"
|
|
|
|
@Summary = $hostname + ": alarmThresCrossedFast: neEventLogIdentityTranslation = " + $2 + ", alarmSeverity = " + $3
|
|
|
|
log(INFO,"AAB Specific: Detected trap alarmThresCrossedFast")
|
|
|
|
} # end alarmThresCrossedFast
|
|
|
|
else if (nmatch(@AlertKey, ".1.3.6.1.4.1.2544.1.15.6.12")) # alarmThresCrossedMedium
|
|
{
|
|
@Severity = 5
|
|
$Event_Reasoncode = "MON.I.FIB.00001"
|
|
|
|
@Summary = $hostname + ": alarmThresCrossedMedium: neEventLogIdentityTranslation = " + $2 + ", alarmSeverity = " + $3
|
|
|
|
log(INFO,"AAB Specific: Detected trap alarmThresCrossedMedium")
|
|
|
|
} # end alarmThresCrossedMedium
|
|
|
|
else if (nmatch(@AlertKey, ".1.3.6.1.4.1.2544.1.15.6.13")) # alarmThresCrossedSlow
|
|
{
|
|
@Severity = 5
|
|
$Event_Reasoncode = "MON.I.FIB.00001"
|
|
|
|
@Summary = $hostname + ": alarmThresCrossedSlow: neEventLogIdentityTranslation = " + $2 + ", alarmSeverity = " + $3
|
|
|
|
log(INFO,"AAB Specific: Detected trap alarmThresCrossedSlow")
|
|
|
|
} # end alarmThresCrossedSlow
|
|
|
|
else if (nmatch(@AlertKey, ".1.3.6.1.4.1.2544.1.15.6.14")) # alarmLinkBudgetExceeded
|
|
{
|
|
@Severity = 5
|
|
$Event_Reasoncode = "MON.I.FIB.00001"
|
|
|
|
@Summary = $hostname + ": alarmLinkBudgetExceeded: neEventLogIdentityTranslation = " + $2 + ", alarmSeverity = " + $3
|
|
|
|
log(INFO,"AAB Specific: Detected trap alarmLinkBudgetExceeded")
|
|
|
|
} # end alarmLinkBudgetExceeded
|
|
|
|
else if (nmatch(@AlertKey, ".1.3.6.1.4.1.2544.1.15.6.15")) # alarmLinkBudgetNearlyExceeded
|
|
{
|
|
@Severity = 5
|
|
$Event_Reasoncode = "MON.I.FIB.00001"
|
|
|
|
@Summary = $hostname + ": alarmLinkBudgetNearlyExceeded: neEventLogIdentityTranslation = " + $2 + ", alarmSeverity = " + $3
|
|
|
|
log(INFO,"AAB Specific: Detected trap alarmLinkBudgetNearlyExceeded")
|
|
|
|
} # end alarmLinkBudgetNearlyExceeded
|
|
|
|
else if (nmatch(@AlertKey, ".1.3.6.1.4.1.2544.1.15.6.50")) # alarmMonProcNotRunning
|
|
{
|
|
@Severity = 4
|
|
$Event_Reasoncode = "MON.I.FIB.00002"
|
|
|
|
@Summary = $hostname + ": alarmMonProcNotRunning: neEventLogIdentityTranslation = " + $2 + ", alarmSeverity = " + $3
|
|
|
|
log(INFO,"AAB Specific: Detected trap alarmMonProcNotRunning")
|
|
|
|
} # end alarmMonProcNotRunning
|
|
|
|
else if (nmatch(@AlertKey, ".1.3.6.1.4.1.2544.1.15.6.102")) # alarmAinsState
|
|
{
|
|
@Severity = 4
|
|
$Event_Reasoncode = "MON.I.FIB.00002"
|
|
|
|
@Summary = $hostname + ": alarmAinsState: neEventLogIdentityTranslation = " + $2 + ", alarmSeverity = " + $3
|
|
|
|
log(INFO,"AAB Specific: Detected trap alarmAinsState")
|
|
|
|
} # end alarmAinsState
|
|
|
|
else if (nmatch(@AlertKey, ".1.3.6.1.4.1.2544.1.15.6.103")) # alarmRemoved
|
|
{
|
|
@Severity = 4
|
|
$Event_Reasoncode = "MON.I.FIB.00002"
|
|
|
|
@Summary = $hostname + ": alarmRemoved: neEventLogIdentityTranslation = " + $2 + ", alarmSeverity = " + $3
|
|
|
|
log(INFO,"AAB Specific: Detected trap alarmRemoved")
|
|
|
|
} # end alarmRemoved
|
|
|
|
else if (nmatch(@AlertKey, ".1.3.6.1.4.1.2544.1.15.6.104")) # alarmHwFailure
|
|
{
|
|
@Severity = 4
|
|
$Event_Reasoncode = "MON.I.FIB.00002"
|
|
|
|
@Summary = $hostname + ": alarmHwFailure: neEventLogIdentityTranslation = " + $2 + ", alarmSeverity = " + $3
|
|
|
|
log(INFO,"AAB Specific: Detected trap alarmHwFailure")
|
|
|
|
} # end alarmHwFailure
|
|
|
|
else if (nmatch(@AlertKey, ".1.3.6.1.4.1.2544.1.15.6.107")) # alarmDatabaseFailure
|
|
{
|
|
@Severity = 4
|
|
$Event_Reasoncode = "MON.I.FIB.00002"
|
|
|
|
@Summary = $hostname + ": alarmDatabaseFailure: neEventLogIdentityTranslation = " + $2 + ", alarmSeverity = " + $3
|
|
|
|
log(INFO,"AAB Specific: Detected trap alarmDatabaseFailure")
|
|
|
|
} # end alarmDatabaseFailure
|
|
|
|
else if (nmatch(@AlertKey, ".1.3.6.1.4.1.2544.1.15.6.110")) # alarmHwDegrade
|
|
{
|
|
@Severity = 4
|
|
$Event_Reasoncode = "MON.I.FIB.00002"
|
|
|
|
@Summary = $hostname + ": alarmHwDegrade: neEventLogIdentityTranslation = " + $2 + ", alarmSeverity = " + $3
|
|
|
|
log(INFO,"AAB Specific: Detected trap alarmHwDegrade")
|
|
|
|
} # end alarmHwDegrade
|
|
|
|
else if (nmatch(@AlertKey, ".1.3.6.1.4.1.2544.1.15.6.111")) # alarmHwFailure
|
|
{
|
|
@Severity = 4
|
|
$Event_Reasoncode = "MON.I.FIB.00002"
|
|
|
|
@Summary = $hostname + ": alarmHwFailure: neEventLogIdentityTranslation = " + $2 + ", alarmSeverity = " + $3
|
|
|
|
log(INFO,"AAB Specific: Detected trap alarmHwFailure")
|
|
|
|
} # end alarmHwFailure
|
|
|
|
else if (nmatch(@AlertKey, ".1.3.6.1.4.1.2544.1.15.6.112")) # alarmLinkDown
|
|
{
|
|
@Severity = 4
|
|
$Event_Reasoncode = "MON.I.FIB.00002"
|
|
|
|
@Summary = $hostname + ": alarmLinkDown: neEventLogIdentityTranslation = " + $2 + ", alarmSeverity = " + $3
|
|
|
|
log(INFO,"AAB Specific: Detected trap alarmLinkDown")
|
|
|
|
} # end alarmLinkDown
|
|
|
|
else if (nmatch(@AlertKey, ".1.3.6.1.4.1.2544.1.15.6.121")) # transientSwResetReload
|
|
{
|
|
@Severity = 4
|
|
$Event_Reasoncode = "MON.I.FIB.00002"
|
|
|
|
@Summary = $hostname + ": transientSwResetReload: neEventLogIdentityTranslation = " + $2
|
|
|
|
log(INFO,"AAB Specific: Detected trap transientSwResetReload")
|
|
|
|
} # end transientSwResetReload
|
|
|
|
else if (nmatch(@AlertKey, ".1.3.6.1.4.1.2544.1.15.6.122")) # alarmTemperatureTooHigh
|
|
{
|
|
@Severity = 4
|
|
$Event_Reasoncode = "MON.I.FIB.00002"
|
|
|
|
@Summary = $hostname + ": alarmTemperatureTooHigh: neEventLogIdentityTranslation = " + $2 + ", alarmSeverity = " + $3
|
|
|
|
log(INFO,"AAB Specific: Detected trap alarmTemperatureTooHigh")
|
|
|
|
} # end alarmTemperatureTooHigh
|
|
|
|
else if (nmatch(@AlertKey, ".1.3.6.1.4.1.2544.1.15.6.123")) # transientBootUpFailed
|
|
{
|
|
@Severity = 4
|
|
$Event_Reasoncode = "MON.I.FIB.00002"
|
|
|
|
@Summary = $hostname + ": transientBootUpFailed: neEventLogIdentityTranslation = " + $2 + ", alarmSeverity = " + $3
|
|
|
|
log(INFO,"AAB Specific: Detected trap transientBootUpFailed")
|
|
|
|
} # end transientBootUpFailed
|
|
|
|
else if (nmatch(@AlertKey, ".1.3.6.1.4.1.2544.1.15.6.124")) # transientBootUpCompleted
|
|
{
|
|
@Severity = 4
|
|
$Event_Reasoncode = "MON.I.FIB.00002"
|
|
|
|
@Summary = $hostname + ": transientBootUpCompleted: neEventLogIdentityTranslation = " + $2
|
|
|
|
log(INFO,"AAB Specific: Detected trap transientBootUpCompleted")
|
|
|
|
} # end transientBootUpCompleted
|
|
|
|
else if (nmatch(@AlertKey, ".1.3.6.1.4.1.2544.1.15.6.125")) # transientBootUpStarted
|
|
{
|
|
@Severity = 4
|
|
$Event_Reasoncode = "MON.I.FIB.00002"
|
|
|
|
@Summary = $hostname + ": transientBootUpStarted: neEventLogIdentityTranslation = " + $2
|
|
|
|
log(INFO,"AAB Specific: Detected trap transientBootUpStarted")
|
|
|
|
} # end transientBootUpStarted
|
|
else if (nmatch(@AlertKey, ".1.3.6.1.4.1.2544.1.15.6.128")) # alarmVoltageOutOfRange
|
|
{
|
|
@Severity = 4
|
|
$Event_Reasoncode = "MON.I.FIB.00002"
|
|
|
|
@Summary = $hostname + ": alarmVoltageOutOfRange: neEventLogIdentityTranslation = " + $2 + ", alarmSeverity = " + $3
|
|
|
|
log(INFO,"AAB Specific: Detected trap alarmVoltageOutOfRange")
|
|
|
|
} # end alarmVoltageOutOfRange
|
|
|
|
else if (nmatch(@AlertKey, ".1.3.6.1.4.1.2544.1.15.6.129")) # alarmMultipleFanFailure
|
|
{
|
|
@Severity = 4
|
|
$Event_Reasoncode = "MON.I.FIB.00002"
|
|
|
|
@Summary = $hostname + ": alarmMultipleFanFailure: neEventLogIdentityTranslation = " + $2 + ", alarmSeverity = " + $3
|
|
|
|
log(INFO,"AAB Specific: Detected trap alarmMultipleFanFailure")
|
|
|
|
} # end alarmMultipleFanFailure
|
|
|
|
else if (nmatch(@AlertKey, ".1.3.6.1.4.1.2544.1.15.6.130")) # alarmCurrentTooHigh
|
|
{
|
|
@Severity = 4
|
|
$Event_Reasoncode = "MON.I.FIB.00002"
|
|
|
|
@Summary = $hostname + ": alarmCurrentTooHigh: neEventLogIdentityTranslation = " + $2 + ", alarmSeverity = " + $3
|
|
|
|
log(INFO,"AAB Specific: Detected trap alarmCurrentTooHigh")
|
|
|
|
} # end alarmCurrentTooHigh
|
|
|
|
else if (nmatch(@AlertKey, ".1.3.6.1.4.1.2544.1.15.6.131")) # alarmInputVoltageFailure
|
|
{
|
|
@Severity = 4
|
|
$Event_Reasoncode = "MON.I.FIB.00002"
|
|
|
|
@Summary = $hostname + ": alarmInputVoltageFailure: neEventLogIdentityTranslation = " + $2 + ", alarmSeverity = " + $3
|
|
|
|
log(INFO,"AAB Specific: Detected trap alarmInputVoltageFailure")
|
|
|
|
} # end alarmInputVoltageFailure
|
|
|
|
else if (nmatch(@AlertKey, ".1.3.6.1.4.1.2544.1.15.6.303")) # authenticationNotificationSummary
|
|
{
|
|
@Severity = 4
|
|
$Event_Reasoncode = "MON.I.FIB.00002"
|
|
|
|
@Summary = $hostname + ": authenticationNotificationSummary: authTrapProtocol = " + $2 +
|
|
", authTrapSuccessfulAuthCount = " + $3 + ", authTrapUnsuccessfulAuthCount = " + $4
|
|
|
|
log(INFO,"AAB Specific: Detected trap authenticationNotificationSummary")
|
|
|
|
} # end authenticationNotificationSummary
|
|
|
|
else
|
|
{
|
|
log(INFO,"Unknown Trap " + $enterprise + " with number \(" + $specific-trap + "\) received.")
|
|
log(INFO,"Trap number \(" + $specific-trap + "\) discarded.")
|
|
discard
|
|
}
|
|
|
|
log(INFO,"AAB Specific : Summary - " + @Summary)
|
|
}
|
|
#### end Fiber Guardian #### |