<?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[Agent ExternalTable not correctly shown in NetXMS-Console]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I dunno what I'm doing wrong, but I've come across a (at least to me) mysterious problem...</p>
<p dir="auto">I've configured an ExternalTable Parameter for all nxagents on our Windows-Hosts<br />
ExternalTable=file.TableSubFolders(*):instanceColumns=Folder;description=SubFolders with Size and FilesCount;separator=|:powershell "echo 'Folder|Size|Count'; Get-ChildItem -Force -LiteralPath '"$1"' | foreach { $$subFolderItems = Get-ChildItem $$_.FullName -recurse -force | Where-Object {$$_.PSIsContainer -eq $$false} | Measure-Object -property Length -sum; $$Status = $$_.Name + '|' + $$subFolderItems.Sum + '|' + $$subFolderItems.Count; echo $$Status }"</p>
<p dir="auto">That ExternalParameter will take (as an argument) a Folder-Path and return a table of all subfolders with the Size and the Count of all Files inside them...<br />
...I'm using that to monitor the Size of our Users RoamingProfiles and HomeDirectories.</p>
<p dir="auto">I created three DCIs using that ExternalParameter:</p>
<ul>
<li>RoamingProfiles Win7</li>
<li>RoamingProfiles Win10 (yes, we let our Users start over with empty Profiles for Win10, hence the seperate Directory for those...)</li>
<li>HomeDirectories</li>
</ul>
<p dir="auto">First I'd like to mention that the DCIs for the RoamingProfiles are working fine, while the DCI for the HomeDirectories seemingly does not work correct.</p>
<p dir="auto">If I query those three ExternalParameter directly with NXGET-CommandlineTool I get correct output.</p>
<p dir="auto">But if I view the "Table Last Value" in NetXMS-Console, I'll see correct Data for the RoamingProfiles-Directories, but I do not see any Data for the HomeDirectories at all...<br />
...I attached some screenshots for illustration...</p>
<p dir="auto">Any ideas what I might have configured wrong for the malfunctioning DCI?</p>
<p dir="auto">Best regards,<br />
Manuel</p>
<p dir="auto">PS.: I've already set the ServerConfiguration-Variable AgentCommandTimeout to 59000 and the AgentConfiguration-Parameter ExecTimeout to 55000, because of that and because of the ExternalList for the RoamingProfiles taking more time (on FS01 to calculate Directory-Sizes) with NXGET I don't think it's a timeout-related problem...but feel free to correct me if I'm wrong! <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>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000004461-HomeDirectories-CLI.png" alt="HomeDirectories-CLI.png" class="img-markdown  img-fluid" width="629" height="992" /></p>
<p dir="auto"><img src="/assets/uploads/files/smf/0000000004463-HomeDirectories-GUI.png" alt="HomeDirectories-GUI.png" class="img-markdown  img-fluid" width="912" height="386" /></p>
<p dir="auto"><img src="/assets/uploads/files/smf/0000000004465-RoamingProfiles-CLI.png" alt="RoamingProfiles-CLI.png" class="img-markdown  img-fluid" width="642" height="945" /></p>
<p dir="auto"><img src="/assets/uploads/files/smf/0000000004467-RoamingProfiles-GUI.png" alt="RoamingProfiles-GUI.png" class="img-markdown  img-fluid" width="908" height="766" /></p>
]]></description><link>https://forum.netxms.org/topic/5924/agent-externaltable-not-correctly-shown-in-netxms-console</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 13:59:01 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/5924.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 25 Apr 2019 11:51:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Agent ExternalTable not correctly shown in NetXMS-Console on Thu, 02 May 2019 13:29:36 GMT]]></title><description><![CDATA[<p dir="auto">Hi Victor,</p>
<p dir="auto">please find the NXMC UI-Log attached to this post.</p>
<p dir="auto">I extracted the last Section (last Execution of NXMC) of the LOG and replaced the Usernames with "User" followed by a consecutive number.<br />
I've noted the exact Replacements, so that I'm able to reverse them.</p>
<p dir="auto">Best regards,<br />
Manuel</p>
<hr />
<p dir="auto"><a href="/assets/uploads/files/smf/0000000004472-nxmc_ui.log">nxmc_ui.log</a></p>
]]></description><link>https://forum.netxms.org/post/25672</link><guid isPermaLink="true">https://forum.netxms.org/post/25672</guid><dc:creator><![CDATA[Manuel]]></dc:creator><pubDate>Thu, 02 May 2019 13:29:36 GMT</pubDate></item><item><title><![CDATA[Reply to Agent ExternalTable not correctly shown in NetXMS-Console on Mon, 29 Apr 2019 08:35:52 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">please check if there is any errors logged in UI log (usually it is in $HOME/.nxmc/data/.metadata/.log).</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/25663</link><guid isPermaLink="true">https://forum.netxms.org/post/25663</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 29 Apr 2019 08:35:52 GMT</pubDate></item><item><title><![CDATA[Reply to Agent ExternalTable not correctly shown in NetXMS-Console on Mon, 29 Apr 2019 07:07:08 GMT]]></title><description><![CDATA[<p dir="auto">Hi Victor,</p>
<p dir="auto">unfortunately I cannot send you raw-data (due to privacy-protection policies, cause there are usernames in that table)...</p>
<p dir="auto">Best regards,<br />
Manuel</p>
]]></description><link>https://forum.netxms.org/post/25658</link><guid isPermaLink="true">https://forum.netxms.org/post/25658</guid><dc:creator><![CDATA[Manuel]]></dc:creator><pubDate>Mon, 29 Apr 2019 07:07:08 GMT</pubDate></item><item><title><![CDATA[Reply to Agent ExternalTable not correctly shown in NetXMS-Console on Fri, 26 Apr 2019 12:57:49 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">it should be no problem to send you the raw-data via PM for testing purpose, but first our CIO has to agree...<br />
...I'll talk to him on next monday anyway, so next monday I should be able to provide you with the raw-data.</p>
<p dir="auto">Best regards,<br />
Manuel</p>
]]></description><link>https://forum.netxms.org/post/25655</link><guid isPermaLink="true">https://forum.netxms.org/post/25655</guid><dc:creator><![CDATA[Manuel]]></dc:creator><pubDate>Fri, 26 Apr 2019 12:57:49 GMT</pubDate></item><item><title><![CDATA[Reply to Agent ExternalTable not correctly shown in NetXMS-Console on Fri, 26 Apr 2019 12:04:00 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">from value sizes it seems that value is there but cannot be displayed for some reason (possibly UI bug). Is it possible to provide raw value from database for testing?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/25654</link><guid isPermaLink="true">https://forum.netxms.org/post/25654</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Fri, 26 Apr 2019 12:04:00 GMT</pubDate></item><item><title><![CDATA[Reply to Agent ExternalTable not correctly shown in NetXMS-Console on Fri, 26 Apr 2019 10:26:57 GMT]]></title><description><![CDATA[<p dir="auto">Hi Victor,</p>
<p dir="auto">the Screenshots "HomeDirectories-CLI.png" and "RoamingProfiles-CLI.png" both show the whole tables, but I don't know if you would call them big...</p>
<p dir="auto">I've checked the tdata_value for both DCIs:</p>
<ul>
<li>Value for HomeDirectories is about 1740 to 1744 characters long</li>
<li>Value for RoamingProfiles is about 1940 to 1944 characters long</li>
</ul>
<p dir="auto">Best regards,<br />
Manuel</p>
]]></description><link>https://forum.netxms.org/post/25653</link><guid isPermaLink="true">https://forum.netxms.org/post/25653</guid><dc:creator><![CDATA[Manuel]]></dc:creator><pubDate>Fri, 26 Apr 2019 10:26:57 GMT</pubDate></item><item><title><![CDATA[Reply to Agent ExternalTable not correctly shown in NetXMS-Console on Thu, 25 Apr 2019 14:14:13 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">how big are those tables? Also, could you check values stored in tdata table for those two table DCIs - is value for empty table really small?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/25650</link><guid isPermaLink="true">https://forum.netxms.org/post/25650</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 25 Apr 2019 14:14:13 GMT</pubDate></item></channel></rss>