<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Action]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Is there any way to get data from action ?<br />
Is there any way to pass argument to action functions?<br />
There is a Boolean return value for each action function in java sub agent, what is it for?<br />
And also there is some parameter (String action, String[] args) what is it for?</p>
<p dir="auto">with best regards<br />
Pouya</p>
]]></description><link>https://forum.netxms.org/topic/4029/action</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 12:17:52 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/4029.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 11 Oct 2015 13:42:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Action on Sat, 28 Nov 2015 06:56:54 GMT]]></title><description><![CDATA[<p dir="auto">Hi</p>
<p dir="auto">Thanks a lot, it works fine.<br />
the full format of action execution command is like:</p>
<p dir="auto">nxaction NodeIP ActionName ParameterHere  -a 'none' -e 0 -K /usr/local/var//lib/netxms/.server_key -p 4700 -w 10 -W 30</p>
<p dir="auto">it may help someone else.</p>
]]></description><link>https://forum.netxms.org/post/18448</link><guid isPermaLink="true">https://forum.netxms.org/post/18448</guid><dc:creator><![CDATA[pouya.moradian]]></dc:creator><pubDate>Sat, 28 Nov 2015 06:56:54 GMT</pubDate></item><item><title><![CDATA[Reply to Action on Fri, 06 Nov 2015 10:47:33 GMT]]></title><description><![CDATA[<p dir="auto">You have to specify agent address in command line as well (before action name).</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/18195</link><guid isPermaLink="true">https://forum.netxms.org/post/18195</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Fri, 06 Nov 2015 10:47:33 GMT</pubDate></item><item><title><![CDATA[Reply to Action on Mon, 02 Nov 2015 13:47:37 GMT]]></title><description><![CDATA[<p dir="auto">Hi</p>
<p dir="auto">You're right that's server side, And i can see my action is registered here !</p>
<p dir="auto">[root@netxmslinux bin]# nxget -l 192.168.11.84 Agent.ActionList<br />
Agent.Restart 2 "CORE"<br />
System.Restart 2 "WinNT"<br />
System.Shutdown 2 "WinNT"<br />
DeviceLogAction 2 "JAVA"</p>
<p dir="auto">Each time i use nxaction some error occur : Required argument(s) missing.<br />
Can i have some example for using nxaction ?</p>
<p dir="auto">My command is :<br />
nxaction DeviceLogAction -a 'none' -e 0 -K /usr/local/var/lib/netxms/.server_key -p 4700 -w 5 -W 30</p>
<p dir="auto">I Also tried to check each one of these option by removing them,<br />
and it does not work.</p>
<p dir="auto">Thanks for your reply,<br />
Pouya</p>
]]></description><link>https://forum.netxms.org/post/18161</link><guid isPermaLink="true">https://forum.netxms.org/post/18161</guid><dc:creator><![CDATA[pouya.moradian]]></dc:creator><pubDate>Mon, 02 Nov 2015 13:47:37 GMT</pubDate></item><item><title><![CDATA[Reply to Action on Sun, 25 Oct 2015 17:51:06 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">nxaction is a server side tool.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/18111</link><guid isPermaLink="true">https://forum.netxms.org/post/18111</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Sun, 25 Oct 2015 17:51:06 GMT</pubDate></item><item><title><![CDATA[Reply to Action on Sun, 25 Oct 2015 05:51:27 GMT]]></title><description><![CDATA[<p dir="auto">The Action is already registered (as it name appear in node's supported action list),<br />
but there is no nxaction binary fine in ..\NetXMS\bin in client side !<br />
I'm using 2.0 RC 1 agent.</p>
<p dir="auto">With best regards,<br />
Pouya</p>
]]></description><link>https://forum.netxms.org/post/18109</link><guid isPermaLink="true">https://forum.netxms.org/post/18109</guid><dc:creator><![CDATA[pouya.moradian]]></dc:creator><pubDate>Sun, 25 Oct 2015 05:51:27 GMT</pubDate></item><item><title><![CDATA[Reply to Action on Sat, 24 Oct 2015 16:17:11 GMT]]></title><description><![CDATA[<p dir="auto">Code seems to be correct. Try to check with nxget that action was registered:</p>
<p dir="auto">nxget -l <em>agent_ip_addr</em> Agent.ActionList</p>
<p dir="auto">Also, make sure you are using correct action name in object tool. You can also execute agent action from command line using nxaction command.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/18105</link><guid isPermaLink="true">https://forum.netxms.org/post/18105</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Sat, 24 Oct 2015 16:17:11 GMT</pubDate></item><item><title><![CDATA[Reply to Action on Mon, 19 Oct 2015 14:13:50 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Here is my action code in some class that extends the Plugin, the other part of code are same as the sample code in  ..\netxms-snapshot-develop\src\agent\subagents\java\sample<br />
All of my parameters and  actions work fine in this class but passing parameter to actions is not possible and the action.txt file only contain "Action has been executed" !</p>
<p dir="auto">Thanks</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000002544-Action.png" alt="Action.png" class="img-markdown  img-fluid" width="534" height="657" /></p>
]]></description><link>https://forum.netxms.org/post/18026</link><guid isPermaLink="true">https://forum.netxms.org/post/18026</guid><dc:creator><![CDATA[pouya.moradian]]></dc:creator><pubDate>Mon, 19 Oct 2015 14:13:50 GMT</pubDate></item><item><title><![CDATA[Reply to Action on Sat, 17 Oct 2015 16:42:11 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">did you define action correctly in subagent? Can you show code registering your action?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/18000</link><guid isPermaLink="true">https://forum.netxms.org/post/18000</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Sat, 17 Oct 2015 16:42:11 GMT</pubDate></item><item><title><![CDATA[Reply to Action on Sat, 17 Oct 2015 05:50:47 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Thanks for your reply,</p>
<p dir="auto">I defined action in object tool, is it right? because i saw an action configuration in configuration menu strip.<br />
Also i used {DeviceActionName arg1 arg2} in agent's command field in object tool but on execute i got : Cannot execute action on node {NodeName}: Communication failure</p>
<p dir="auto">With Best Regards<br />
Pouya</p>
]]></description><link>https://forum.netxms.org/post/17992</link><guid isPermaLink="true">https://forum.netxms.org/post/17992</guid><dc:creator><![CDATA[pouya.moradian]]></dc:creator><pubDate>Sat, 17 Oct 2015 05:50:47 GMT</pubDate></item><item><title><![CDATA[Reply to Action on Fri, 16 Oct 2015 15:32:57 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">no you cannot get data from action. You can pass arguments to action - in server configuration you specify them separated by spaces (like in normal command line). When action is called, String[] args will contain those arguments. Boolean return value is to indicate if action was executed successfully.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/17986</link><guid isPermaLink="true">https://forum.netxms.org/post/17986</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Fri, 16 Oct 2015 15:32:57 GMT</pubDate></item></channel></rss>