<?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[Script timeout after upgrade to 4.2]]></title><description><![CDATA[<p dir="auto">Hey,</p>
<p dir="auto">I've just upgraded from 4.1 to 4.2 and noticed most of my scripts on agents are timing out after 5 seconds</p>
<pre><code>2022.11.01 11:36:17.798 *D* [comm.cs.1          ] H_ExternalTable called for "BackupList2" (separator=0x007C mode=S cmd="powershell -NoProfile C:\veeamscripts\Get-VeeamJobs-ExternalTable.ps1"
2022.11.01 11:36:17.798 *D* [exec               ] RunExternal called for "BackupList2" "Spowershell -NoProfile C:\veeamscripts\Get-VeeamJobs-ExternalTable.ps1"
2022.11.01 11:36:17.798 *D* [exec               ] RunExternal: command line is "powershell -NoProfile C:\veeamscripts\Get-VeeamJobs-ExternalTable.ps1"
2022.11.01 11:36:17.816 *D* [procexec           ] ProcessExecutor::execute(): process "CMD.EXE /C powershell -NoProfile C:\veeamscripts\Get-VeeamJobs-ExternalTable.ps1" started
2022.11.01 11:36:22.816 *D* [exec               ] RunExternal: external process execution timeout (command line "powershell -NoProfile C:\veeamscripts\Get-VeeamJobs-ExternalTable.ps1")
2022.11.01 11:36:22.823 *D* [procexec           ] ProcessExecutor::readOutput(): process termination detected
</code></pre>
<p dir="auto">Tried adding DefaultExecutionTimeout=30000 to the agent config, but seems to have no effect whatsoever. Have no other timeout values defined in the config. Cannot figure out what agent setting should I mess with.</p>
<p dir="auto">Thank you!</p>
]]></description><link>https://forum.netxms.org/topic/7547/script-timeout-after-upgrade-to-4.2</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 09:39:38 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/7547.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 01 Nov 2022 10:54:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Script timeout after upgrade to 4.2 on Tue, 01 Nov 2022 14:02:59 GMT]]></title><description><![CDATA[<p dir="auto">This did the trick, thank you! Great support as always. Will also look into this background mode as well.</p>
]]></description><link>https://forum.netxms.org/post/31977</link><guid isPermaLink="true">https://forum.netxms.org/post/31977</guid><dc:creator><![CDATA[szabolcs]]></dc:creator><pubDate>Tue, 01 Nov 2022 14:02:59 GMT</pubDate></item><item><title><![CDATA[Reply to Script timeout after upgrade to 4.2 on Tue, 01 Nov 2022 12:32:57 GMT]]></title><description><![CDATA[<p dir="auto">Hi!<br />
There's a bug in recently released 4.2 - DefaultExecutionTimeout is not taken in account. This will be fixed in next patch release.</p>
<p dir="auto">Try settingExternalMetricTimeout - it should affect external tables and external metrics.</p>
<p dir="auto">Also, external tables now have a new, background mode of operations - command is called regularly, it's output is cached and instantly returned to server when it requests the table. See for more info: <a href="https://www.netxms.org/documentation/adminguide/agent-management.html?highlight=externaltable#externaltable" rel="nofollow ugc">https://www.netxms.org/documentation/adminguide/agent-management.html?highlight=externaltable#externaltable</a></p>
]]></description><link>https://forum.netxms.org/post/31975</link><guid isPermaLink="true">https://forum.netxms.org/post/31975</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Tue, 01 Nov 2022 12:32:57 GMT</pubDate></item></channel></rss>