AnsweredAssumed Answered

How to use Event Fields in automatic reaction on R80.10?

Question asked by Pedro Espindola on Aug 23, 2017
Latest reply on Jun 4, 2018 by Dameon Welch-Abernathy

Hello guys,


I am trying to setup some SNMP traps as automatic reactions on R80.10 SmartEvent. It doesn't seem to work the same way as it did in R77.30.


Fields like [Source] and [Destination] have an array of sub-fields which can be seen when using a script to print it: Destination: (countryname: United States; IP:; repetitions: 1).


Thus, when the host has a public IP address it returns only the countryname in the trap.


Also, the field [Origin] always returns the IP as "0", but I could really work with the second sub-field "hostname":

Origin: (IP: 0; hostname: SMS; repetitions: 1)


Is it possible to put these sub-fields in the trap using some variation of the notation [<field>]?


The alternative would be to create a script to filter the event output and send these traps, but I'd rather not have to install scripts every time I need to set these up.