<?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[remote actions not working? [SOLVED]]]></title><description><![CDATA[<p dir="auto">Hi</p>
<p dir="auto">I have been trying to configure remote actions on agent host.</p>
<p dir="auto">What I am trying to accomplish is to restart a service if it stops responding. The service is called Varnish.</p>
<p dir="auto">I have defined an action like this in the nxagentd.conf</p>
<p dir="auto">Action = VarnishReload: service varnish restart</p>
<p dir="auto">And trying to execute it by calling this on the server:</p>
<p dir="auto">Action:VarnishReload</p>
<p dir="auto">The netxms server log shows the following</p>
<p dir="auto">[11-Jun-2012 20:47:35] *actions* Executing on "<a href="http://78.XX.XXX.XXX" rel="nofollow ugc">78.XX.XXX.XXX</a>": "Action:VarnishReload"</p>
<p dir="auto">However, nothing happens. What am I doing wrong?</p>
]]></description><link>https://forum.netxms.org/topic/1763/remote-actions-not-working-solved</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 16:29:30 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/1763.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 11 Jun 2012 18:52:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to remote actions not working? [SOLVED] on Wed, 13 Jun 2012 16:26:32 GMT]]></title><description><![CDATA[<p dir="auto">Thanks Victor.</p>
<p dir="auto">Figured it out myself a short time after my post.</p>
<p dir="auto">I created an action on the console side, hooked it up to a trigger which ran action "varnish.restart".</p>
<p dir="auto">The nxconfig file contained the following:</p>
<p dir="auto">Action = varnish.restart:/etc/init.d/varnish restart</p>
<p dir="auto">Worked like a charm. Just posting my findings as a reference to others that stumble upon this post.</p>
<p dir="auto">marking this post as solved.</p>
]]></description><link>https://forum.netxms.org/post/7655</link><guid isPermaLink="true">https://forum.netxms.org/post/7655</guid><dc:creator><![CDATA[raypetter]]></dc:creator><pubDate>Wed, 13 Jun 2012 16:26:32 GMT</pubDate></item><item><title><![CDATA[Reply to remote actions not working? [SOLVED] on Tue, 12 Jun 2012 20:14:47 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">You should not prefix action name with "Action:" in action configuration on server side, use just action name, VarnishReload in your case.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/7645</link><guid isPermaLink="true">https://forum.netxms.org/post/7645</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 12 Jun 2012 20:14:47 GMT</pubDate></item></channel></rss>