Filter Object Tool Action to specific node(s)

Started by suphu, June 18, 2012, 04:19:50 PM

Previous topic - Next topic

suphu

Hi,

I have been using NetXMS since version 1.0.7 (Windows) and now on version 1.2.1.  Great work on the Web UI!  Since the Web UI is now full featured, I would like to extend functionality to some power users.  Is there a way to tie an Agent's Action (ActionShellExec) with the Node's context menu (from Object Tool)?  It would be great to have a Node filter to display only Agent's Actions that match.

Thanks.

Victor Kirhenshtein

Hi!

It's not possible now. Main concern here is that object tool filtering is done on client, which doesn't have information about actions configured on agent. Implementing filtering on actions actually configured on agents will require either additional round-trip to server on each context menu opening (which can slow down UI) or synchronizing this information with client. I'll think what can be done here, because idea by itself is good.

Best regards,
Victor

suphu

Thanks for the update.  The implementation you suggest would be comprehensive.  I was hoping for a simple solution based on how it appears to work now (I don't know the internal details).  The Tools context menu that is displayed from node on right-click shows the Object Tool option on all nodes.  When you click that option and the agent has the action - all works as expected.  If you click and the agent does not, then you get error that agent does not support action.  I was hoping there was a way to filter from the Object Tool option - it has a filter property but not for node filtering.  This filtering would allow the Tool option to be filtered to a specific node - but understood that the agent would still need the action configured.

Thanks again.