mirror of
https://github.com/alerta/alerta.git
synced 2025-01-30 03:33:59 +00:00
68 lines
1.3 KiB
YAML
68 lines
1.3 KiB
YAML
---
|
|
# SNMP Trap Special variables
|
|
#
|
|
# $$ = a literal dollar sign
|
|
# $a = agent-addr (IP)
|
|
# $A = agent-addr
|
|
# $s = SNMP version
|
|
# $b = PDU source address
|
|
# $B = PDU source hostname
|
|
# $x = time on local system
|
|
# $X = date on local system
|
|
# $N = enterprise string
|
|
# $q = trap sub-type
|
|
# $P = security information from the PDU
|
|
# $O = trap oid
|
|
# $t = seconds since system epoch
|
|
# $T = sysUpTime
|
|
# $w = trap type
|
|
# $W = trap description
|
|
# $n = varbind 'n'
|
|
# $# = number of varbinds
|
|
|
|
|
|
# Defaults
|
|
#
|
|
# resource: (str) $B or $A
|
|
# event: (str) $O
|
|
# severity: NORMAL (CRITICAL, MAJOR, MINOR, WARNING, INDETERMINATE, CLEARED, NORMAL, INFORM, DEBUG, AUTH, UNKNOWN)
|
|
# group: (str) SNMP
|
|
# value: (str) $w
|
|
# text: (str) $W
|
|
# environment: (str) PROD
|
|
# service: (list) Network
|
|
# correlate: (list) null
|
|
# tags: (list) $s
|
|
# timeout: (int) system default
|
|
|
|
# Suppression flag
|
|
#
|
|
# suppress: (bool) False
|
|
|
|
|
|
# Oracle Enterprise Manager
|
|
|
|
- trapoid: ORACLE-ENTERPRISE-MANAGER-4-MIB
|
|
group: Database
|
|
service: [R2]
|
|
parser: OracleEMTrapParser
|
|
|
|
# ZXTM Pool Traps
|
|
|
|
- trapoid: ZXTM-MIB
|
|
group: ZXTM
|
|
parser: ZxtmTrapParser
|
|
|
|
# IPMI PET Event Traps
|
|
|
|
- trapoid: PET-EVENTS
|
|
group: Hardware
|
|
service: [Common]
|
|
parser: IpmiTrapParser
|
|
|
|
# NetApp Traps
|
|
|
|
- trapoid: NETAPP-MIB
|
|
value: $S
|
|
group: NetApp
|
|
tags: [ serial_num=$4 ]
|