<?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 - Execute command via remote agent]]></title><description><![CDATA[<p dir="auto">Hello!</p>
<p dir="auto">I am trying to run an external program (cmd.exe) whenever a threshold is reached.</p>
<p dir="auto">I added an Actions Configuration called notepad of type 'Execute command on remote node via agent',<br />
and in the agent's configfile (etc/nxagentd.conf) i add 'ActionShellExec = notepad:cmd.exe /C pause'.</p>
<p dir="auto">But, it does not work.</p>
<p dir="auto">Can anyone give me a hint?</p>
<p dir="auto">THX! <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--wink" style="height:1.4em;width:auto;vertical-align:middle" title=";)" alt="😉" /></p>
]]></description><link>https://forum.netxms.org/topic/4296/action-execute-command-via-remote-agent</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 09:19:26 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/4296.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 10 Feb 2016 10:50:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Action - Execute command via remote agent on Wed, 10 Feb 2016 14:12:03 GMT]]></title><description><![CDATA[<p dir="auto">Agent by default is running as windows service and can't interact with the GUI. In older version os windows (before 7) you can enabled "Interact with GUI" option in service manger, but for newer ones – you'll have to run agent as application, not as service.<br />
You can add it to autorun, and if you want to hide console window – start it with "-H" command line option.</p>
]]></description><link>https://forum.netxms.org/post/19196</link><guid isPermaLink="true">https://forum.netxms.org/post/19196</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Wed, 10 Feb 2016 14:12:03 GMT</pubDate></item><item><title><![CDATA[Reply to Action - Execute command via remote agent on Wed, 10 Feb 2016 11:35:05 GMT]]></title><description><![CDATA[<p dir="auto">Correction!</p>
<p dir="auto">The Task is running, but i can't see it in the current user session...</p>
<p dir="auto"><img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--disappointed" style="height:1.4em;width:auto;vertical-align:middle" title=":(" alt="😞" /></p>
]]></description><link>https://forum.netxms.org/post/19193</link><guid isPermaLink="true">https://forum.netxms.org/post/19193</guid><dc:creator><![CDATA[SmEed]]></dc:creator><pubDate>Wed, 10 Feb 2016 11:35:05 GMT</pubDate></item></channel></rss>