I defined an action in an agent's config file. Something like:
Action = test_action: /bin/echo "hello"
Is there a way to define an Object Tool that will call this action, and also have the output of the action displayed in the NetXMS management interface?
			
			
			
				try in 'Object Tools' new Tool type 'Action':
Agent's action = test_action
Command generates ouput = ON
			
			
			
				Hi,
This is the config of my agent:
MasterServers = 10.20.1.7,10.10.1.7,10.20.1.107
Action = test_action: /bin/echo "hello"
I already checked that option and i expected to see "hello" in the pop-up confirmation window that appears, but all it says is:
"Action test_action executed successfully on node <name of node>"
			
			
			
				Hi!
"Command generates output" option is not handler correctly yet for agent actions. Will fix this for next release.
Best regards,
Victor