News:

We really need your input in this questionnaire

Main Menu

nxaevent with object id

Started by Benjamin Dill, September 21, 2023, 12:29:50 AM

Previous topic - Next topic

Benjamin Dill

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

Filipp Sudanov

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

Benjamin Dill