0
0
Fork 0
mirror of https://github.com/alerta/alerta.git synced 2025-01-24 17:29:39 +00:00
alerta_alerta/conf/alert-snmptrap.yaml
2012-11-22 17:32:30 +00:00

106 lines
1.7 KiB
YAML

# Standard variables found in the trap
#
# $$ = dollar sign
# $T = sysUpTime
# $A = agent-addr
# $a = agent-addr (IP)
# $R = true source
# $O = trap oid
# $E = enterprise oid
# $C = community string
# $G = generic trap
# $S = specific trap
# $n = varbind 'n'
# Defaults
#
# event: $O
# resource: $A
# severity: NORMAL
# group: SNMP
# count: 1
# repeat: 1
# value: Trap=[$G|$S]
# text: $3
# environment: INFRA
# service: Network
# Oracle Enterprise Manager
- trapoid: ORACLE-ENTERPRISE-MANAGER-4-MIB
parser: OracleEMTrapParser
group: Database
service: R2
# ZXTM Pool Traps
- trapoid: ZXTM-MIB::pooldied
parser: ZxtmTrapParser
event: ZxtmPoolStatus
value: Died
resource: $4
group: ZXTM
- trapoid: ZXTM-MIB::poolok
parser: ZxtmTrapParser
event: ZxtmPoolStatus
value: OK
resource: $4
group: ZXTM
# ZXTM Node Traps
- trapoid: ZXTM-MIB::nodefail
parser: ZxtmTrapParser
event: ZxtmNodeStatus
value: Fail
resource: $4
group: ZXTM
- trapoid: ZXTM-MIB::nodeworking
parser: ZxtmTrapParser
event: ZxtmNodeStatus
value: Working
resource: $4
group: ZXTM
# ZXTM Monitor Traps
- trapoid: ZXTM-MIB::monitorfail
parser: ZxtmTrapParser
event: ZxtmMonitorStatus
value: Fail
resource: $4
group: ZXTM
- trapoid: ZXTM-MIB::monitorok
parser: ZxtmTrapParser
event: ZxtmMonitorStatus
value: OK
resource: $4
group: ZXTM
# ZXTM Rule Msg Traps
- trapoid: ZXTM-MIB::rulelogmsginfo
parser: ZxtmTrapParser
event: ZxtmRuleMsg
value: Info
resource: $4
group: ZXTM
# ZXTM Trap catch-all
- trapoid: ZXTM-MIB
parser: ZxtmTrapParser
resource: $4
group: ZXTM
# NetApp Traps
- trapoid: NETAPP-MIB
value: $S
group: NetApp
tags: [ serial_num=$4 ]