<?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[How to use nxaction from command line]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">i need to run a netxms action from a script, so i want to use nxaction from command line. I have Netxms installed on Debian.<br />
My action is saved as "test_action", when executed it send a mail.<br />
if i run from command line "nxaction netxms test_action" (where netxms is the name of the node of the Netxms Server) , I got "Error 500: Internal Error".<br />
How can i run this action from command line?<br />
Thank you <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://forum.netxms.org/topic/2578/how-to-use-nxaction-from-command-line</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 18:11:17 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/2578.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 02 Sep 2013 14:48:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to use nxaction from command line on Thu, 19 Sep 2013 09:34:44 GMT]]></title><description><![CDATA[<p dir="auto">Thank you!<br />
It works fine!<br />
nxevent is a very useful utility!!!!</p>
]]></description><link>https://forum.netxms.org/post/11317</link><guid isPermaLink="true">https://forum.netxms.org/post/11317</guid><dc:creator><![CDATA[tivanni]]></dc:creator><pubDate>Thu, 19 Sep 2013 09:34:44 GMT</pubDate></item><item><title><![CDATA[Reply to How to use nxaction from command line on Tue, 10 Sep 2013 06:26:10 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">Yes, you have to run configure and make again. There should be no risks, it will just build few additional binaries.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/11241</link><guid isPermaLink="true">https://forum.netxms.org/post/11241</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 10 Sep 2013 06:26:10 GMT</pubDate></item><item><title><![CDATA[Reply to How to use nxaction from command line on Mon, 09 Sep 2013 15:38:21 GMT]]></title><description><![CDATA[<p dir="auto">Yes, I've installed netxms from source.</p>
<p dir="auto">When I've installed netxms, i didn't use the --with-client option...Have I to re-execute the installation process with the --with-client option?<br />
Are riskes in this operation?</p>
<p dir="auto">Thank you</p>
]]></description><link>https://forum.netxms.org/post/11240</link><guid isPermaLink="true">https://forum.netxms.org/post/11240</guid><dc:creator><![CDATA[tivanni]]></dc:creator><pubDate>Mon, 09 Sep 2013 15:38:21 GMT</pubDate></item><item><title><![CDATA[Reply to How to use nxaction from command line on Wed, 04 Sep 2013 12:51:28 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">If you install NetXMS from sources, you should add --with-client option to configure.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/11218</link><guid isPermaLink="true">https://forum.netxms.org/post/11218</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 04 Sep 2013 12:51:28 GMT</pubDate></item><item><title><![CDATA[Reply to How to use nxaction from command line on Wed, 04 Sep 2013 10:12:25 GMT]]></title><description><![CDATA[<p dir="auto">Thank You!</p>
<p dir="auto">nxevent is avaible from command line?</p>
<p dir="auto">I have installed version 1.2.7, and I cannot find in /usr/local/bin the nxevent utility. The following is the content of the directory:<br />
netxmsd      nxagentd     nxapush      nxencpasswd  nxscript     nxsnmpwalk<br />
nxaction     nxap         nxdbmgr      nxget        nxsnmpget    nxupload<br />
nxadm        nxappget     nxdevcfg     nxmibc       nxsnmpset</p>
<p dir="auto">If i search on filesystem, I found i found only the source code of nxevent.</p>
<p dir="auto">Thank you again.</p>
]]></description><link>https://forum.netxms.org/post/11213</link><guid isPermaLink="true">https://forum.netxms.org/post/11213</guid><dc:creator><![CDATA[tivanni]]></dc:creator><pubDate>Wed, 04 Sep 2013 10:12:25 GMT</pubDate></item><item><title><![CDATA[Reply to How to use nxaction from command line on Mon, 02 Sep 2013 17:06:38 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">nxaction is a tool intended for connecting to agent and executing action on agent (defined in nxagentd.conf using Action parameter). For executing server action simpliest way is to use nxevent for sending custom event and executing action you need in event processing policy as usual.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/11185</link><guid isPermaLink="true">https://forum.netxms.org/post/11185</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 02 Sep 2013 17:06:38 GMT</pubDate></item></channel></rss>