<?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[Issue with execution of Actions]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">It seems I have some problems to get my "Actions" executed.<br />
I'm currently running server 1.0.6 with agent 1.0.6 on this server. Another node is running agent 1.0.4.</p>
<p dir="auto">A simple action is defined in both nodes config file:<br />
Server node:<br />
SubAgent = /usr/local/netxms/lib/libnsm_linux.so<br />
Action = testjd:touch jdtest.txt</p>
<p dir="auto">Agent node:<br />
SubAgent = /opt/netxms/lib/libnsm_linux.so<br />
Action = testjd:touch jdtest.txt</p>
<p dir="auto">SubAgent = /opt/netxms/lib/libnsm_logwatch.so<br />
*LOGWATCH<br />
Parser = /home/netxms/Parsers/Parsing_my_log.xml</p>
<p dir="auto">Both agents show in logs that action is expanded and executed. But when listing the files in directory there is simply no file.<br />
Action is triggered from an event which is triggered by a valid parsing of some text in the log file.</p>
<p dir="auto">Action is defined to be executed on remote agent with name of remote agent given.<br />
Even when I exchange the action config for executing it on server or remote agent with server name inserted, nothing happens.</p>
<p dir="auto">There is no error in log files except the one related to DRBD... ???:<br />
...<br />
[09-Nov-2010 11:51:12] ParseIoStat(): new device added (name=dm-1 isRealDevice=1)<br />
[09-Nov-2010 11:51:12] Unable to parse /proc/drbd, DRBD data collector will not start<br />
[09-Nov-2010 11:51:12] Subagent "/opt/netxms/lib/libnsm_linux.so" loaded successfully<br />
[09-Nov-2010 11:51:12] Subagent "Linux" already loaded from module "/opt/netxms/lib/libnsm_linux.so"<br />
[09-Nov-2010 11:51:12] LogWatch: registered parser for file /home/daks/n2p_out.txt, trace level set to 0<br />
[09-Nov-2010 11:51:12] LogParser: parser thread for file "/home/daks/n2p_out.txt" started<br />
[09-Nov-2010 11:51:12] LogParser: file "/home/daks/n2p_out.txt" successfully opened<br />
[09-Nov-2010 11:51:12] Subagent "/opt/netxms/lib/libnsm_logwatch.so" loaded successfully<br />
[09-Nov-2010 11:51:13] Trying to bind on 0.0.0.0:4700<br />
[09-Nov-2010 11:51:13] Listening on socket 0.0.0.0:4700</p>
<p dir="auto">Thanks for any support.<br />
Br,</p>
<p dir="auto">Jdamien</p>
]]></description><link>https://forum.netxms.org/topic/1020/issue-with-execution-of-actions</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 19:40:50 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/1020.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 09 Nov 2010 10:52:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Issue with execution of Actions on Tue, 09 Nov 2010 11:32:38 GMT]]></title><description><![CDATA[<p dir="auto">Agent reload config on restart - so if change agent's config, you have to restart it. Maybe you just press "Save" instead of "Save &amp; Apply" after first change?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/4628</link><guid isPermaLink="true">https://forum.netxms.org/post/4628</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 09 Nov 2010 11:32:38 GMT</pubDate></item><item><title><![CDATA[Reply to Issue with execution of Actions on Tue, 09 Nov 2010 11:10:33 GMT]]></title><description><![CDATA[<p dir="auto">Well I'm lost... it is working now... Nothing really different - just working!!</p>
<p dir="auto">Could it be that once you change config on server you might have to wait for a while before it becomes active?<br />
JDamien</p>
]]></description><link>https://forum.netxms.org/post/4627</link><guid isPermaLink="true">https://forum.netxms.org/post/4627</guid><dc:creator><![CDATA[jdl]]></dc:creator><pubDate>Tue, 09 Nov 2010 11:10:33 GMT</pubDate></item><item><title><![CDATA[Reply to Issue with execution of Actions on Tue, 09 Nov 2010 11:02:09 GMT]]></title><description><![CDATA[<p dir="auto">Seems like you have to put the full path of the command... i.e. not "touch" but "/bin/touch".<br />
Now working on agent with action performed on agent.</p>
<p dir="auto">Br,</p>
<p dir="auto">Jdamien</p>
]]></description><link>https://forum.netxms.org/post/4626</link><guid isPermaLink="true">https://forum.netxms.org/post/4626</guid><dc:creator><![CDATA[jdl]]></dc:creator><pubDate>Tue, 09 Nov 2010 11:02:09 GMT</pubDate></item></channel></rss>