mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Add _id_trap_ macro to snmp alert macros - #3439
Former-commit-id: 81fca58b445355834e136be8f0c09d6ea3a8f54f
This commit is contained in:
parent
8054809dda
commit
8041c66f4c
@ -3454,6 +3454,7 @@ sub pandora_evaluate_snmp_alerts ($$$$$$$$$) {
|
||||
|
||||
# Specific SNMP Trap alert macros for regexp selectors in trap info
|
||||
my %macros;
|
||||
$macros{'_trap_id_'} = $trap_id;
|
||||
$macros{'_snmp_oid_'} = $trap_oid;
|
||||
$macros{'_snmp_value_'} = $trap_value;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user