Merge branch 'ent-3439-Añadir-la-macro-de-id-del-trap-a-las-macros-de-alerta-de-trap-snmp' into 'develop'
Add _id_trap_ macro to snmp alert macros - #3439 See merge request artica/pandorafms!2177 Former-commit-id: 863b66aead27483654b8ec9eb21efd540f1a22e4
This commit is contained in:
commit
39a60639fb
|
@ -3454,6 +3454,7 @@ sub pandora_evaluate_snmp_alerts ($$$$$$$$$) {
|
||||||
|
|
||||||
# Specific SNMP Trap alert macros for regexp selectors in trap info
|
# Specific SNMP Trap alert macros for regexp selectors in trap info
|
||||||
my %macros;
|
my %macros;
|
||||||
|
$macros{'_trap_id_'} = $trap_id;
|
||||||
$macros{'_snmp_oid_'} = $trap_oid;
|
$macros{'_snmp_oid_'} = $trap_oid;
|
||||||
$macros{'_snmp_value_'} = $trap_value;
|
$macros{'_snmp_value_'} = $trap_value;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue