<?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[Macro {instance} not working for FileSystem.Free() - Error]]></title><description><![CDATA[<p dir="auto">Hi @ll,</p>
<p dir="auto">i have create a template for defaults i want to poll. One of the DCI poll use the Parameter FileSystem.Free(*) via agent. I set up my DCI with follwoing:<br />
[General] Parameter: FileSystem.Free({instance})<br />
[Instance Discovery]: Method-&gt;Agent List; List name-&gt;FileSystem.MountPoints<br />
This issue was also reported in this post: <a href="https://www.netxms.org/forum/general-support/lt-lt-error-gtgt-for-last-values-of-instance-discovery/msg17605/#msg17605" rel="nofollow ugc">https://www.netxms.org/forum/general-support/lt-lt-error-gtgt-for-last-values-of-instance-discovery/msg17605/#msg17605</a></p>
<p dir="auto">The descripted solution (using [] instead of {}) does not solv my issue.</p>
<p dir="auto">If i use identical settings with Parameter FileSystem.FreePerc({instance}) it works.</p>
<p dir="auto"><strong>Output from debugger:</strong><br />
Node(Test)-&gt;getMetricFromAgent(FileSystem.Free()): dwError=500 dwResult=5</p>
<p dir="auto">As you can see, the Macro {instance} does not work for this parameter. If i setup my parameter like FileSystem.FreePrec(C:\), it works.</p>
<p dir="auto">Has anyone the same issue?</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.netxms.org/topic/7282/macro-instance-not-working-for-filesystem.free-error</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 12:52:17 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/7282.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 26 Jan 2022 12:46:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Macro {instance} not working for FileSystem.Free() - Error on Tue, 08 Feb 2022 15:00:14 GMT]]></title><description><![CDATA[<p dir="auto">What data type do you use for FileSystem.Free({instance})? Try using "Unsigned Integer 64-bit" there as if you have a big HDD, the value can be very big as it's in bytes.</p>
<p dir="auto">If it's still not working - how exactly the DCI is behaving? Does it goes into error?</p>
]]></description><link>https://forum.netxms.org/post/30973</link><guid isPermaLink="true">https://forum.netxms.org/post/30973</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Tue, 08 Feb 2022 15:00:14 GMT</pubDate></item><item><title><![CDATA[Reply to Macro {instance} not working for FileSystem.Free() - Error on Thu, 27 Jan 2022 10:34:37 GMT]]></title><description><![CDATA[<p dir="auto">Hi @ll,</p>
<p dir="auto">i have a solution with an older Agentparameter, that works for me. I use the Parameter Disk.Used({instance}), that is not listed in the available Parameter.<br />
I found this parameter in a older Version of NetXMS -&gt; Agent Parameters Compatibility Matrix.</p>
]]></description><link>https://forum.netxms.org/post/30957</link><guid isPermaLink="true">https://forum.netxms.org/post/30957</guid><dc:creator><![CDATA[knut4linux]]></dc:creator><pubDate>Thu, 27 Jan 2022 10:34:37 GMT</pubDate></item></channel></rss>