<?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's action will be ignored [SOLVED]]]></title><description><![CDATA[<p dir="auto">Hi there, after hours of googling I hope to get help here.<br />
I just want to execute a command on the agent's computer, but it still ignores it.</p>
<ul>
<li>I successfully configured an alarm with somehow action (send an E-mail).</li>
<li>I additionally configured an Agent's action named 'shutthisdown' and configured it to the same alarm, which sends the email.</li>
<li>examined the log file, but I can not find an entry about any command to execute.<br />
Only wevtapi.dll was not found.</li>
</ul>
<p dir="auto">Here is the Agent config file:</p>
<p dir="auto">--8&lt;--<br />
#<br />
# NetXMS agent configuration file<br />
# Created by agent installer at Tue Jun 25 10:47:56 2013<br />
#</p>
<p dir="auto">DebugLevel = 9<br />
Controlservers = netxms.lorenz-messtechnik.local<br />
MasterServers = netxms.lorenz-messtechnik.local<br />
ConfigIncludeDir = C:\NetXMS\etc\nxagentd.conf.d<br />
#LogFile = {syslog}<br />
LogFile = C:\NetXMS\debuglog.txt<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= shutthisdown:cmd.exe /c "shutdown /s /t 180 /f"<br />
Action= shutthisdown:cmd.exe /c "dir c:\ &gt; c:\1.txt"<br />
SubAgent = wmi.nsm<br />
SubAgent = ups.nsm</p>
<p dir="auto"># UPS subagent configuration section<br />
*UPS<br />
Device = 0:"COM2:":APC<br />
--&gt;8--</p>
<p dir="auto">Many thanks for your help</p>
<p dir="auto">Martin</p>
]]></description><link>https://forum.netxms.org/topic/2463/agent-s-action-will-be-ignored-solved</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 16:07:14 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/2463.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 26 Jun 2013 18:43:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Agent's action will be ignored [SOLVED] on Fri, 28 Jun 2013 07:28:53 GMT]]></title><description><![CDATA[<p dir="auto">Hi,<br />
now the penny dropped.<br />
The agent reacts now as expected.</p>
<p dir="auto">Thank you very much for your help</p>
<p dir="auto">Best Regards<br />
Martin</p>
]]></description><link>https://forum.netxms.org/post/10669</link><guid isPermaLink="true">https://forum.netxms.org/post/10669</guid><dc:creator><![CDATA[MartinR]]></dc:creator><pubDate>Fri, 28 Jun 2013 07:28:53 GMT</pubDate></item><item><title><![CDATA[Reply to Agent's action will be ignored [SOLVED] on Thu, 27 Jun 2013 19:16:30 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">You should put %a in "Remote Host" field and shutthisdown in "Agent action" field.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/10668</link><guid isPermaLink="true">https://forum.netxms.org/post/10668</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 27 Jun 2013 19:16:30 GMT</pubDate></item><item><title><![CDATA[Reply to Agent's action will be ignored [SOLVED] on Thu, 27 Jun 2013 15:16:15 GMT]]></title><description><![CDATA[<p dir="auto">Hi,<br />
I now tried different versions of the Agent's action line.</p>
<p dir="auto">%a shutthisdown<br />
&lt;name_of_machine&gt; shutthisdown<br />
&lt;IP-Address&gt; shutthisdown<br />
nxaction &lt;name_of_machine&gt; shutthisdown</p>
<p dir="auto">I assumed that "Agent's action" means of course the agent that initiates the action.</p>
<p dir="auto">Can you please give me an example for a line that executes a command on the agent that causes the action (maybe with %a or %n)? The penny has not dropped yet.<br />
Thank you for your help.<br />
Best Regards<br />
Martin</p>
]]></description><link>https://forum.netxms.org/post/10667</link><guid isPermaLink="true">https://forum.netxms.org/post/10667</guid><dc:creator><![CDATA[MartinR]]></dc:creator><pubDate>Thu, 27 Jun 2013 15:16:15 GMT</pubDate></item><item><title><![CDATA[Reply to Agent's action will be ignored [SOLVED] on Thu, 27 Jun 2013 14:38:55 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">You have an error in action configuration - you have to specify remote host where to execute an action. Usually you can use macro %a here to execute it on event source.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/10666</link><guid isPermaLink="true">https://forum.netxms.org/post/10666</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 27 Jun 2013 14:38:55 GMT</pubDate></item><item><title><![CDATA[Reply to Agent's action will be ignored [SOLVED] on Thu, 27 Jun 2013 14:30:47 GMT]]></title><description><![CDATA[<p dir="auto">Hi Victor,<br />
action definition and processing rules are attached.<br />
I defined two actions in this processing rule. The mail as second action will be sent as expected.<br />
The shutdown initiated with the shutdown button of the Object Details View of the client works as expected, too.<br />
nxaction command line tool executes the action correctly (as expected).<br />
Thank you for your help.<br />
Best Regards<br />
Martin</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000001228-action.jpg" alt="action.jpg" class="img-markdown  img-fluid" width="333" height="412" /></p>
<p dir="auto"><img src="/assets/uploads/files/smf/0000000001230-eventrule.jpg" alt="eventrule.jpg" class="img-markdown  img-fluid" width="535" height="277" /></p>
]]></description><link>https://forum.netxms.org/post/10665</link><guid isPermaLink="true">https://forum.netxms.org/post/10665</guid><dc:creator><![CDATA[MartinR]]></dc:creator><pubDate>Thu, 27 Jun 2013 14:30:47 GMT</pubDate></item><item><title><![CDATA[Reply to Agent's action will be ignored [SOLVED] on Thu, 27 Jun 2013 08:55:31 GMT]]></title><description><![CDATA[<p dir="auto">Can you please show the screenshots of action configuration on server and appropriate event policy rule? Also, can you try to execute action manually with nxaction command line tool?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/10659</link><guid isPermaLink="true">https://forum.netxms.org/post/10659</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 27 Jun 2013 08:55:31 GMT</pubDate></item><item><title><![CDATA[Reply to Agent's action will be ignored [SOLVED] on Thu, 27 Jun 2013 06:44:49 GMT]]></title><description><![CDATA[<p dir="auto">Oh, sorry.<br />
I should tell you some versions:<br />
Server and Agent are running in W2k3R2<br />
I use the actual netxms version 1.2.7<br />
The notification of the ups works fine on that agent.</p>
<p dir="auto">Thank you for help.</p>
<p dir="auto">Martin</p>
]]></description><link>https://forum.netxms.org/post/10657</link><guid isPermaLink="true">https://forum.netxms.org/post/10657</guid><dc:creator><![CDATA[MartinR]]></dc:creator><pubDate>Thu, 27 Jun 2013 06:44:49 GMT</pubDate></item></channel></rss>