NetXMS Support Forum

English Support => General Support => Topic started by: Benjamin Dill on September 21, 2023, 12:29:50 AM

Title: nxaevent with object id
Post by: Benjamin Dill on September 21, 2023, 12:29:50 AM
I'm trying to send events from one agent in behalf of some other nodes using the nxaevent.exe tool, specifying the node id by --object command line option.
Is this function is broken? I checked the servers source code and it seems that the node id within the message is never extracted and instead the node id of the tunnel is always used.
https://github.com/netxms/netxms/blob/8934498acae116f32ada3ecc439255dd75ae5fb9/src/server/core/agent.cpp#L94

Thanks in advance,
Ben
Title: Re: nxaevent with object id
Post by: Filipp Sudanov on September 25, 2023, 03:02:40 PM
Yes, currently this is as you described. I've created an issue in our bug tracker, you can follow it to see when it will be fixed:
https://track.radensolutions.com/issue/NX-2460
Title: Re: nxaevent with object id
Post by: Benjamin Dill on September 25, 2023, 03:06:37 PM
Thank you very much!