<?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[ExternalParameterShellExec runs multiple times]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I have set up one node to run a file via ExternalParameterShellExec on the agent but when it executes the file it runs it 3 times, any known related problems to this?<br />
Searched the bugtracker but could not find any.</p>
<p dir="auto">Tested both forced DCI poll and scheduled.</p>
<p dir="auto">Agent version 2.0.5<br />
Windows 2012 R2</p>
]]></description><link>https://forum.netxms.org/topic/4745/externalparametershellexec-runs-multiple-times</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 16:54:59 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/4745.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 10 Oct 2016 08:05:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ExternalParameterShellExec runs multiple times on Mon, 10 Oct 2016 17:36:44 GMT]]></title><description><![CDATA[<p dir="auto">Problem with slow external parameters is that server retrieve values in a single thread (per agent) and it can block data collection from the agent</p>
]]></description><link>https://forum.netxms.org/post/21115</link><guid isPermaLink="true">https://forum.netxms.org/post/21115</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Mon, 10 Oct 2016 17:36:44 GMT</pubDate></item><item><title><![CDATA[Reply to ExternalParameterShellExec runs multiple times on Mon, 10 Oct 2016 14:34:18 GMT]]></title><description><![CDATA[<p dir="auto">That seems logical, though this external does not return data by itself it consolidates data in an external sql db for faster queries.<br />
Can run it in windows schedule but felt more right to run it from the agent that uses it on set schedule.</p>
<p dir="auto">The answer though solved a few other data collection dilemmas i had so thanks for that, time to rethink my data providers <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/post/21113</link><guid isPermaLink="true">https://forum.netxms.org/post/21113</guid><dc:creator><![CDATA[MarcusH]]></dc:creator><pubDate>Mon, 10 Oct 2016 14:34:18 GMT</pubDate></item><item><title><![CDATA[Reply to ExternalParameterShellExec runs multiple times on Mon, 10 Oct 2016 12:04:54 GMT]]></title><description><![CDATA[<p dir="auto">Well, it behaves as expected.<br />
If you need to handle long-running command - use ExternalParameterProvider (<a href="https://wiki.netxms.org/wiki/ExternalParametersProvider" rel="nofollow ugc">https://wiki.netxms.org/wiki/ExternalParametersProvider</a>)</p>
]]></description><link>https://forum.netxms.org/post/21112</link><guid isPermaLink="true">https://forum.netxms.org/post/21112</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Mon, 10 Oct 2016 12:04:54 GMT</pubDate></item><item><title><![CDATA[Reply to ExternalParameterShellExec runs multiple times on Mon, 10 Oct 2016 09:05:51 GMT]]></title><description><![CDATA[<p dir="auto">This is not the real file, i tested different scenarios and this test.exe is only a while loop so it stays active</p>
<pre><code>[10-Oct-2016 11:01:16.251] [DEBUG] [session:0] Requesting parameter "test"
[10-Oct-2016 11:01:16.251] [DEBUG] H_ExternalParameter called for "test" "Sc:\test.exe"
[10-Oct-2016 11:01:16.251] [DEBUG] RunExternal called for "test" "Sc:\test.exe"
[10-Oct-2016 11:01:16.251] [DEBUG] RunExternal: command line is "c:\test.exe"
[10-Oct-2016 11:01:16.251] [DEBUG] RunExternal (shell exec): worker thread created
[10-Oct-2016 11:01:18.266] [DEBUG] RunExternal (shell exec): execution timeout
[10-Oct-2016 11:01:18.266] [DEBUG] RunExternal (shell exec): execution status 2
[10-Oct-2016 11:01:18.266] [DEBUG] [session:0] Requesting parameter "test"
[10-Oct-2016 11:01:18.266] [DEBUG] H_ExternalParameter called for "test" "Sc:\test.exe"
[10-Oct-2016 11:01:18.266] [DEBUG] RunExternal called for "test" "Sc:\test.exe"
[10-Oct-2016 11:01:18.266] [DEBUG] RunExternal: command line is "c:\test.exe"
[10-Oct-2016 11:01:18.266] [DEBUG] RunExternal (shell exec): worker thread created
[10-Oct-2016 11:01:20.266] [DEBUG] RunExternal (shell exec): execution timeout
[10-Oct-2016 11:01:20.266] [DEBUG] RunExternal (shell exec): execution status 2
[10-Oct-2016 11:01:20.266] [DEBUG] [session:0] Requesting parameter "test"
[10-Oct-2016 11:01:20.266] [DEBUG] H_ExternalParameter called for "test" "Sc:\test.exe"
[10-Oct-2016 11:01:20.266] [DEBUG] RunExternal called for "test" "Sc:\test.exe"
[10-Oct-2016 11:01:20.266] [DEBUG] RunExternal: command line is "c:\test.exe"
[10-Oct-2016 11:01:20.266] [DEBUG] RunExternal (shell exec): worker thread created
[10-Oct-2016 11:01:22.282] [DEBUG] RunExternal (shell exec): execution timeout
[10-Oct-2016 11:01:22.282] [DEBUG] RunExternal (shell exec): execution status 2
</code></pre>
]]></description><link>https://forum.netxms.org/post/21108</link><guid isPermaLink="true">https://forum.netxms.org/post/21108</guid><dc:creator><![CDATA[MarcusH]]></dc:creator><pubDate>Mon, 10 Oct 2016 09:05:51 GMT</pubDate></item><item><title><![CDATA[Reply to ExternalParameterShellExec runs multiple times on Mon, 10 Oct 2016 08:32:38 GMT]]></title><description><![CDATA[<p dir="auto">Please increase debug level to 5, reproduce problem and send us agent log</p>
]]></description><link>https://forum.netxms.org/post/21107</link><guid isPermaLink="true">https://forum.netxms.org/post/21107</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Mon, 10 Oct 2016 08:32:38 GMT</pubDate></item></channel></rss>