<?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 Remote Command on multiple Agents via API]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I am new to NetXMS. So far I'm very pleased with it. Among many other things we have the nodes that we monitor grouped in clusters in the Admin Interface. We have some ObjectTools defined and are able to manually trigger remote commands on all the servers in the cluster. But we've reached to a point were we would like to remotely tell Netxms server to trigger that command on all nodes of a cluster (I imagine that the interface sends a command ot the Netxms server - I want to do the same but from my own external script/application). I imagine this is something we could do with the API. Could you please explain how I could do that or maybe point me to some documentation on how to do it ?</p>
<p dir="auto">I really appreciate your help,<br />
Best regards,<br />
Alex</p>
]]></description><link>https://forum.netxms.org/topic/3318/trigger-remote-command-on-multiple-agents-via-api</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 11:18:44 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/3318.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 13 Aug 2014 14:30:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Trigger Remote Command on multiple Agents via API on Wed, 13 Aug 2014 14:39:01 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">You can execute object tool via Java API or using nxshell (which is a Python wrapper around Java API). Approximate sequence will be following:</p>
<ol>
<li>find cluster object (by name or ID)</li>
<li>for each child node object call NXCSession.executeAction</li>
</ol>
<p dir="auto">Here you can find more information about API:</p>
<p dir="auto"><a href="http://wiki.netxms.org/wiki/Using_nxshell_to_automate_bulk_operations" rel="nofollow ugc">http://wiki.netxms.org/wiki/Using_nxshell_to_automate_bulk_operations</a><br />
<a href="https://www.netxms.org/documentation/javadoc/latest/" rel="nofollow ugc">https://www.netxms.org/documentation/javadoc/latest/</a></p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/14661</link><guid isPermaLink="true">https://forum.netxms.org/post/14661</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 13 Aug 2014 14:39:01 GMT</pubDate></item></channel></rss>