<?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 Policies - File Delivery]]></title><description><![CDATA[<p dir="auto">Hi</p>
<p dir="auto">Im trying to understand Agent Policies - File Delivery.<br />
Documentation is empty on the topic: <a href="https://www.netxms.org/documentation/adminguide/agent-management.html#file-delivery-policy" rel="nofollow ugc">https://www.netxms.org/documentation/adminguide/agent-management.html#file-delivery-policy</a></p>
<p dir="auto">Im able to create a policy and add "dir".<br />
But when adding a file, nothing seems to happen.</p>
<p dir="auto">Is there anything required on agent or server to get this function work?</p>
<p dir="auto">NetXMS Server 3.1-300<br />
NXMC 3.1.343<br />
nxagent 3.1-300</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000005023-Capture.PNG" alt="Capture.PNG" class="img-markdown  img-fluid" width="861" height="210" /></p>
]]></description><link>https://forum.netxms.org/topic/6382/agent-policies-file-delivery</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 10:32:51 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/6382.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 31 Jan 2020 07:16:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Agent Policies - File Delivery on Thu, 06 Feb 2020 10:00:46 GMT]]></title><description><![CDATA[<p dir="auto">I have tested with Web NXMC and its working there.<br />
Looks to be a bug in NXMC for Windows.</p>
<p dir="auto"><a href="https://track.radensolutions.com/issue/NX-1745" rel="nofollow ugc">https://track.radensolutions.com/issue/NX-1745</a></p>
]]></description><link>https://forum.netxms.org/post/27334</link><guid isPermaLink="true">https://forum.netxms.org/post/27334</guid><dc:creator><![CDATA[Borgso]]></dc:creator><pubDate>Thu, 06 Feb 2020 10:00:46 GMT</pubDate></item><item><title><![CDATA[Reply to Agent Policies - File Delivery on Tue, 04 Feb 2020 23:54:15 GMT]]></title><description><![CDATA[<p dir="auto">I created a File Delivery Policy, set root directory to the NetXMS installation folder, tried to add a file but it just doesn't get added to the policy at all.<br />
This is running the latest server (on Ubuntu) and console (on Windows).</p>
<p dir="auto">The Web Console appears to work - as long as the files are roughly under 1MB in size (I could upload multiple 700kB files, but a single 1.2MB or larger files just lead to the OK button being greyed out indefinitely). Not sure if that's a Tomcat issue (though setting maxPostSize on the connector to 10MB didn't make a difference) or NetXMS simply not accepting anything larger for deployment.</p>
<p dir="auto">I could not simply add folder name as root folder, I had to give the full path including drive letter, e.g. "C:\SomeFolder". Just entering "SomeFolder" did not work. That makes sense, as otherwise NetXMS can't possibly know which drive I might want that file on. Having said that, the Agent Policy does accept me entering "SomeFolder" as root folder and there is no hint or warning in the UI to tell me that this won't actually do anything.</p>
]]></description><link>https://forum.netxms.org/post/27328</link><guid isPermaLink="true">https://forum.netxms.org/post/27328</guid><dc:creator><![CDATA[Tursiops]]></dc:creator><pubDate>Tue, 04 Feb 2020 23:54:15 GMT</pubDate></item><item><title><![CDATA[Reply to Agent Policies - File Delivery on Tue, 04 Feb 2020 12:18:20 GMT]]></title><description><![CDATA[<p dir="auto">I have attached.<br />
As you can see, i create "TestFileDelivery" File Delivery Policy with folder "test"<br />
When adding/upload files from local machine, nothing seems to happen after i have found file on disk and doing the add.<br />
I do not see any errors in netxmsd.log when adding file</p>
<p dir="auto">When running Force deployment, this is in log:</p>
<blockquote>
<p dir="auto">2020.02.04 13:07:32.654 *D* [client.session.0   ] Received message CMD_POLICY_FORCE_APPLY<br />
2020.02.04 13:07:32.654 *D* [client.session.0   ] Sending message CMD_REQUEST_COMPLETED (32 bytes)<br />
2020.02.04 13:07:32.655 *D* [                   ] Job 45842 added to queue (node=3636, type=DEPLOY_AGENT_POLICY, description="Deploy policy TestFileDelivery")<br />
2020.02.04 13:07:32.656 *D* [                   ] Template::forceApplyPolicyChanges(001-docker11): "TestFileDelivery" policy deploy scheduled for "001-docker11" node<br />
2020.02.04 13:07:32.656 *D* [client.session.0   ] Sending compressed message CMD_JOB_CHANGE_NOTIFICATION (128 bytes)<br />
2020.02.04 13:07:32.656 *D* [                   ] Job 45842 started<br />
2020.02.04 13:07:32.803 *D* [node.agent         ] Node::createAgentConnection(001-docker11 [3636]): conn=0x7fb1360bc1c0<br />
2020.02.04 13:07:32.803 *D* [agent.policy       ] FileDeliveryPolicy::deploy(001-docker11 [3636] from TestFileDelivery/TestFileDelivery):)<br />
2020.02.04 13:07:32.803 *D* [agent.policy       ] FileDeliveryPolicy::deploy(001-docker11 [3636] from TestFileDelivery/TestFileDelivery): preparing file list<br />
2020.02.04 13:07:32.828 *D* [                   ] Job 45842 finished, status=COMPLETED<br />
2020.02.04 13:07:32.828 *D* [client.session.0   ] Sending compressed message CMD_JOB_CHANGE_NOTIFICATION (144 bytes)</p>
</blockquote>
<p dir="auto">Same after upgrading everyting to latest</p>
<p dir="auto">NetXMS Server 3.1.343 - Ubuntu LTS 18.04.3<br />
NXMC 3.1.343 - Windows 10<br />
nxagent 3.1.343 - Ubuntu LTS 18.04.3</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000005025-nxmc_file.png" alt="nxmc_file.png" class="img-markdown  img-fluid" width="861" height="823" /></p>
]]></description><link>https://forum.netxms.org/post/27327</link><guid isPermaLink="true">https://forum.netxms.org/post/27327</guid><dc:creator><![CDATA[Borgso]]></dc:creator><pubDate>Tue, 04 Feb 2020 12:18:20 GMT</pubDate></item><item><title><![CDATA[Reply to Agent Policies - File Delivery on Mon, 03 Feb 2020 10:52:00 GMT]]></title><description><![CDATA[<p dir="auto">Can you show the screenshot of how the policy is configured - what's the root folder, are there any subfolders?</p>
<p dir="auto">Also, if you set debug level on server and agent to 6, you could find some information in the log files. On server you can change that on the fly: nxadm -c "debug 6"<br />
After changing debug level, you can perform "Force deployment of agents policies" and there should be something in the logs.</p>
]]></description><link>https://forum.netxms.org/post/27323</link><guid isPermaLink="true">https://forum.netxms.org/post/27323</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Mon, 03 Feb 2020 10:52:00 GMT</pubDate></item><item><title><![CDATA[Reply to Agent Policies - File Delivery on Fri, 31 Jan 2020 18:54:19 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for reply, i forgot to add os.</p>
<p dir="auto">NetXMS Server 3.1-300 - Ubuntu LTS 18.04.3<br />
NXMC 3.1.343 - Windows 10<br />
nxagent 3.1-300 - Ubuntu LTS 18.04.3</p>
<p dir="auto">Tried with your suggested settings, but still can't see any files on agent or in the NXMC dir after uploading to policy.<br />
Im able to browse Node "File manager", upload files there and delete. So settings should be ok at Agent side.</p>
]]></description><link>https://forum.netxms.org/post/27321</link><guid isPermaLink="true">https://forum.netxms.org/post/27321</guid><dc:creator><![CDATA[Borgso]]></dc:creator><pubDate>Fri, 31 Jan 2020 18:54:19 GMT</pubDate></item><item><title><![CDATA[Reply to Agent Policies - File Delivery on Fri, 31 Jan 2020 14:55:28 GMT]]></title><description><![CDATA[<p dir="auto">Currently there is a bug in Mac console, that nothing happens when trying to add a file. If you are on mac, try console on linux or windows.</p>
<p dir="auto">For this function to work, filemgr should be enabled in agent configuration and root folder(s) should be set:</p>
<pre><code>SubAgent=filemgr.nsm
[FILEMGR]
RootFolder=C:\
</code></pre>
<p dir="auto">In current version all folders along the path should exists on the target system. In future versions agent will create folders. Files are only sent to agents, they are not deleted, when removed from policy / renamed in a policy.</p>
<p dir="auto">If you edit agent policy, the settings will get applied (files sent to agents) the moment, when you close the list of agent policies. They should also get applied on configuration poll. And in context menu of template there's an option "Force deployment of agents policies".</p>
]]></description><link>https://forum.netxms.org/post/27320</link><guid isPermaLink="true">https://forum.netxms.org/post/27320</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Fri, 31 Jan 2020 14:55:28 GMT</pubDate></item></channel></rss>