<?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[trigger action on remote host]]></title><description><![CDATA[<p dir="auto">hi guys<br />
 i am new to netxms<br />
i have a problem with action on remote agent<br />
on agent i have this<br />
#<br />
# NetXMS agent configuration file<br />
# Created by agent installer at Tue May 07 02:57:49 2013<br />
#</p>
<p dir="auto">ConfigIncludeDir = C:\NetXMS\etc\nxagentd.conf.d<br />
LogFile = {syslog}<br />
FileStore = C:\NetXMS\var<br />
SubAgent = ecs.nsm<br />
SubAgent = ping.nsm<br />
SubAgent = logwatch.nsm<br />
SubAgent = portcheck.nsm<br />
SubAgent = winperf.nsm<br />
*WinPerf<br />
Action= dir:cmd.exe /c "dir c:\ &gt; c:\1.txt"<br />
SubAgent = wmi.nsm<br />
SubAgent = ups.nsm</p>
<p dir="auto">and in object tools<br />
i have a action with properties</p>
<p dir="auto">Name :dir<br />
agent action:<br />
cmd.exe /c "dir c:\ &gt; c:\1.txt"</p>
<p dir="auto">but nothing happens. what is wrong?<br />
is there any documentation about actions?<br />
Best regards.</p>
]]></description><link>https://forum.netxms.org/topic/2369/trigger-action-on-remote-host</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 12:22:48 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/2369.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 07 May 2013 19:08:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to trigger action on remote host on Sun, 12 May 2013 20:37:17 GMT]]></title><description><![CDATA[<p dir="auto">thank you for your support<br />
it works .</p>
]]></description><link>https://forum.netxms.org/post/10257</link><guid isPermaLink="true">https://forum.netxms.org/post/10257</guid><dc:creator><![CDATA[jamesof]]></dc:creator><pubDate>Sun, 12 May 2013 20:37:17 GMT</pubDate></item><item><title><![CDATA[Reply to trigger action on remote host on Fri, 10 May 2013 13:32:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jamesof" aria-label="Profile: jamesof">@<bdi>jamesof</bdi></a> said in <a href="/post/10229">trigger action on remote host</a>:</p>
<blockquote>
<blockquote>
<p dir="auto">what do you mean by security policy on agent?</p>
</blockquote>
<p dir="auto">agent check manager have right to do action.</p>
</blockquote>
<p dir="auto">There are 3 level of access for an agent. Depending on how server's IP address listen in nxagentd.conf, it will have different access level. If server listed in:</p>
<ol>
<li>MasterServers - full access</li>
<li>ControlServers - can read data and execute predefined actions, but cannot change config nor install policies.</li>
<li>Servers - read only access</li>
</ol>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jamesof" aria-label="Profile: jamesof">@<bdi>jamesof</bdi></a> said in <a href="/post/10229">trigger action on remote host</a>:</p>
<blockquote>
<p dir="auto">and another question . can we have any accounting feature? which user how many usage which app ... for any session in remote device that running agent .</p>
</blockquote>
<p dir="auto">No, we don't have functionality like that.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/10238</link><guid isPermaLink="true">https://forum.netxms.org/post/10238</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Fri, 10 May 2013 13:32:02 GMT</pubDate></item><item><title><![CDATA[Reply to trigger action on remote host on Thu, 09 May 2013 15:20:53 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">what do you mean by security policy on agent?</p>
</blockquote>
<p dir="auto">agent check manager have right to do action.</p>
<p dir="auto">and another question . can we have any accounting feature? which user how many usage which app ... for any session in remote device that running agent .<br />
thank you.</p>
]]></description><link>https://forum.netxms.org/post/10229</link><guid isPermaLink="true">https://forum.netxms.org/post/10229</guid><dc:creator><![CDATA[jamesof]]></dc:creator><pubDate>Thu, 09 May 2013 15:20:53 GMT</pubDate></item><item><title><![CDATA[Reply to trigger action on remote host on Thu, 09 May 2013 12:07:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jamesof" aria-label="Profile: jamesof">@<bdi>jamesof</bdi></a> said in <a href="/post/10226">trigger action on remote host</a>:</p>
<blockquote>
<p dir="auto">is it possible to return generated output. i remember you said it is not possible (around 2010) . is this feature added to netxms?</p>
</blockquote>
<p dir="auto">still not possible <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--disappointed" style="height:1.4em;width:auto;vertical-align:middle" title=":(" alt="😞" /></p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jamesof" aria-label="Profile: jamesof">@<bdi>jamesof</bdi></a> said in <a href="/post/10226">trigger action on remote host</a>:</p>
<blockquote>
<p dir="auto">can i set snmp oid with agent?</p>
</blockquote>
<p dir="auto">Only by calling external tools. You can copy nxsnmpset to agent and configure action which will call it.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jamesof" aria-label="Profile: jamesof">@<bdi>jamesof</bdi></a> said in <a href="/post/10226">trigger action on remote host</a>:</p>
<blockquote>
<p dir="auto">can i define security policies on agent ?</p>
</blockquote>
<p dir="auto">what do you mean by security policy on agent?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/10228</link><guid isPermaLink="true">https://forum.netxms.org/post/10228</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 09 May 2013 12:07:38 GMT</pubDate></item><item><title><![CDATA[Reply to trigger action on remote host on Wed, 08 May 2013 20:35:39 GMT]]></title><description><![CDATA[<p dir="auto">thanks<br />
it works.<br />
just three other questions. ;D<br />
is it possible to return generated output. i remember you said it is not possible (around 2010) . is this feature added to netxms?<br />
can i set snmp oid with agent?<br />
can i define security policies on agent ?</p>
]]></description><link>https://forum.netxms.org/post/10226</link><guid isPermaLink="true">https://forum.netxms.org/post/10226</guid><dc:creator><![CDATA[jamesof]]></dc:creator><pubDate>Wed, 08 May 2013 20:35:39 GMT</pubDate></item><item><title><![CDATA[Reply to trigger action on remote host on Tue, 07 May 2013 20:15:03 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">There are two problems in your config:</p>
<ol>
<li>You put Action keyword in wrong section. It should be like this:</li>
</ol>
<p dir="auto">ConfigIncludeDir = C:\NetXMS\etc\nxagentd.conf.d<br />
LogFile = {syslog}<br />
FileStore = C:\NetXMS\var<br />
SubAgent = ecs.nsm<br />
SubAgent = ping.nsm<br />
SubAgent = logwatch.nsm<br />
SubAgent = portcheck.nsm<br />
SubAgent = winperf.nsm<br />
Action= dir:cmd.exe /c "dir c:\ &gt; c:\1.txt"<br />
SubAgent = wmi.nsm<br />
SubAgent = ups.nsm</p>
<ol start="2">
<li>On server side, you should only put name of the action configured on agent in "agent action" field. It will be just <strong>dir</strong> in your case.</li>
</ol>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/10222</link><guid isPermaLink="true">https://forum.netxms.org/post/10222</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 07 May 2013 20:15:03 GMT</pubDate></item></channel></rss>