<?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[Object tools - command output (timeout?)]]></title><description><![CDATA[<p dir="auto">Hi there trying it the object tools command output setting like this<br />
<img src="/assets/uploads/files/smf/0000000006235-1.png" alt="1.png" class="img-markdown  img-fluid" width="631" height="280" /><br />
 <br />
When running the command it will return som data and then terminate (after 4 seconds)? it should return 30 rows. Tried to change Agent.CommandTimeOut in server configuration but that didn't change anything.<br />
<img src="/assets/uploads/files/smf/0000000006237-2.png" alt="2.png" class="img-markdown  img-fluid" width="406" height="300" /><br />
 <br />
Here is the content of my test script:</p>
<pre><code>For ($i=0; $i -le 30; $i++) {
                Start-Sleep -Seconds 1
               "Rad $i = " + (1 * $i)
               }
</code></pre>
<p dir="auto">And the config in agent config on the node that object tools is calling.<br />
ActionShellExec = TestEcho:Powershell -executionpolicy bypass -c "C:\NetXMS\script\Pilot.ps1"</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000006239-3.png" alt="3.png" class="img-markdown  img-fluid" width="656" height="116" /></p>
]]></description><link>https://forum.netxms.org/topic/7540/object-tools-command-output-timeout</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 09:18:24 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/7540.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 25 Oct 2022 11:36:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Object tools - command output (timeout?) on Tue, 25 Oct 2022 18:21:11 GMT]]></title><description><![CDATA[<p dir="auto">Thanks a lot I can confirm this is working.<br />
In agent config add:</p>
<p dir="auto">ExternalCommandTimeout = 30000</p>
<p dir="auto">Timeout is in milliseconds..</p>
]]></description><link>https://forum.netxms.org/post/31946</link><guid isPermaLink="true">https://forum.netxms.org/post/31946</guid><dc:creator><![CDATA[Hanfelt]]></dc:creator><pubDate>Tue, 25 Oct 2022 18:21:11 GMT</pubDate></item><item><title><![CDATA[Reply to Object tools - command output (timeout?) on Tue, 25 Oct 2022 14:20:12 GMT]]></title><description><![CDATA[<p dir="auto">On agent side this is configured via ExternalCommandTimeout configuration file parameter. This parameter was added recently, so it's better to install 4.2 version of the agent (it can work with 3.x and 4.x server).</p>
<p dir="auto">In previous versions of agent it was controlled by ExecTimeout configuration parameter that controlled both action and external parameter timeout.</p>
]]></description><link>https://forum.netxms.org/post/31944</link><guid isPermaLink="true">https://forum.netxms.org/post/31944</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Tue, 25 Oct 2022 14:20:12 GMT</pubDate></item></channel></rss>