NetXMS Support Forum

English Support => General Support => Topic started by: Sch.Donat on August 26, 2020, 04:56:55 PM

Title: User Tag
Post by: Sch.Donat on August 26, 2020, 04:56:55 PM
Hi all!

On NetXMS 3.4.313  User Tag is ignored in alarm generation. The User Tags are configured in SNMP Trap Configuration and added to alarm key via the %u macro. It worked fine in version  2.2.16.
I'm trying to map alarm activation and deactivation events with the User Tag, this way I can pair them, and can have only one EPP rule for a lot of events.
Title: Re: User Tag
Post by: Filipp Sudanov on August 27, 2020, 02:08:37 PM
Tags were reworked in 3.x - was added ability to have multiple tags for event. %u was deprecated. Currently you can use %[script_name] macro and make a script that will go through tags and return the value.
Created an issue https://track.radensolutions.com/issue/NX-1944 to make a macro that would return tags in concatenated form.
Title: Re: User Tag
Post by: Sch.Donat on August 27, 2020, 03:52:12 PM
Hi!

It worked like a charm, thanks!