<?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">My remote action is not doing anything, even though I am getting email alerts:</p>
<p dir="auto">The batch file I'm trying to trigger is in c:\NetXMS\batches\kill_qv.bat and contains the command "Taskkill /IM qv.exe /F".  It is just to kill processes when it exceed a certain threshold.</p>
<p dir="auto">Config file looks like this:<br />
#<br />
# NetXMS agent configuration file<br />
# Created by agent installer at Wed Nov 24 14:21:18 2021<br />
#</p>
<p dir="auto">MasterServers = 192.168.85.88<br />
ConfigIncludeDir = C:\NetXMS\etc\nxagentd.conf.d<br />
LogFile = {syslog}<br />
FileStore = C:\NetXMS\var<br />
SubAgent = filemgr.nsm<br />
SubAgent = ping.nsm<br />
SubAgent = logwatch.nsm<br />
SubAgent = mqtt.nsm<br />
SubAgent = netsvc.nsm<br />
SubAgent = portcheck.nsm<br />
SubAgent = ssh.nsm<br />
SubAgent = wineventsync.nsm<br />
SubAgent = winperf.nsm<br />
Action = kill_qv_saftatlqv:cmd.exe /C "c:\NetXMS\batches\kill_qv.bat"</p>
<p dir="auto">I also tried: Action = kill_qv:cmd.exe /C "c:\NetXMS\batches\kill_qv.bat" but nothing works.</p>
<p dir="auto">My action looks like this (see atttached):<br />
Name: kill_qv_saftatlqv<br />
Agent's action: kill_qv</p>
<p dir="auto">Processing policy (see attached).</p>
<p dir="auto">I hope you can assist to get my remove actions triggered.</p>
<p dir="auto">Thanks<br />
Marius</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000005650-action.png" alt="action.png" class="img-markdown  img-fluid" width="405" height="629" /></p>
<p dir="auto"><img src="/assets/uploads/files/smf/0000000005651-Proacessing_policy.png" alt="Proacessing_policy.png" class="img-markdown  img-fluid" width="1495" height="244" /></p>
]]></description><link>https://forum.netxms.org/topic/7328/trigger-action-on-remote-host</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 13:19:41 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/7328.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 14 Mar 2022 08:07:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Trigger Action on remote host on Wed, 06 Apr 2022 07:45:59 GMT]]></title><description><![CDATA[<p dir="auto">Great!  This worked.</p>
<p dir="auto">Thank you.</p>
]]></description><link>https://forum.netxms.org/post/31189</link><guid isPermaLink="true">https://forum.netxms.org/post/31189</guid><dc:creator><![CDATA[user59476]]></dc:creator><pubDate>Wed, 06 Apr 2022 07:45:59 GMT</pubDate></item><item><title><![CDATA[Reply to Trigger Action on remote host on Mon, 04 Apr 2022 12:58:27 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">There's an issue - when we call .cmd file that produces some output, the execution fails.  (<a href="https://track.radensolutions.com/issue/NX-2242" rel="nofollow ugc">https://track.radensolutions.com/issue/NX-2242</a>)</p>
<p dir="auto">Currently you can try this in agent configuration file:<br />
ActionShellExec = kill_qv:c:\NetXMS\batches\kill_qv.bat &gt;nul</p>
]]></description><link>https://forum.netxms.org/post/31181</link><guid isPermaLink="true">https://forum.netxms.org/post/31181</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Mon, 04 Apr 2022 12:58:27 GMT</pubDate></item><item><title><![CDATA[Reply to Trigger Action on remote host on Tue, 22 Mar 2022 14:38:57 GMT]]></title><description><![CDATA[<p dir="auto">Hi</p>
<p dir="auto">Thanks for the reply.</p>
<p dir="auto">I updated the agent file, but still only see the emails, but no action:</p>
<p dir="auto">#<br />
# NetXMS agent configuration file<br />
# Created by agent installer at Wed Nov 24 14:21:18 2021<br />
#</p>
<p dir="auto">MasterServers = 192.168.85.88<br />
ConfigIncludeDir = C:\NetXMS\etc\nxagentd.conf.d<br />
LogFile = {syslog}<br />
FileStore = C:\NetXMS\var<br />
SubAgent = filemgr.nsm<br />
SubAgent = ping.nsm<br />
SubAgent = logwatch.nsm<br />
SubAgent = mqtt.nsm<br />
SubAgent = netsvc.nsm<br />
SubAgent = portcheck.nsm<br />
SubAgent = ssh.nsm<br />
SubAgent = wineventsync.nsm<br />
SubAgent = winperf.nsm<br />
ActionShellExec = kill_qv:c:\NetXMS\batches\kill_qv.bat</p>
<p dir="auto">The batch file works when I run it manually, but doesn't kick off on alerts.</p>
<p dir="auto">It is not just this one action that is not working.  Since I've setup this Windows server I'm not able to get the actions working. </p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000005658-Event.png" alt="Event.png" class="img-markdown  img-fluid" width="1483" height="63" /></p>
]]></description><link>https://forum.netxms.org/post/31159</link><guid isPermaLink="true">https://forum.netxms.org/post/31159</guid><dc:creator><![CDATA[user59476]]></dc:creator><pubDate>Tue, 22 Mar 2022 14:38:57 GMT</pubDate></item><item><title><![CDATA[Reply to Trigger Action on remote host on Tue, 22 Mar 2022 06:53:14 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">try using</p>
<p dir="auto">ActionShellExec = kill_qv:c:\NetXMS\batches\kill_qv.bat</p>
<p dir="auto">in agent configuration file.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/31150</link><guid isPermaLink="true">https://forum.netxms.org/post/31150</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 22 Mar 2022 06:53:14 GMT</pubDate></item></channel></rss>