<?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[VB Scripts or BAT files]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Is there any way by which we can call VB Scripts or BAT files on remote server after a poll or when a threshould condition is met?</p>
]]></description><link>https://forum.netxms.org/topic/204/vb-scripts-or-bat-files</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 11:39:57 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/204.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 30 Jan 2008 08:26:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to VB Scripts or BAT files on Tue, 14 Oct 2008 13:45:11 GMT]]></title><description><![CDATA[<p dir="auto">Execute action on management server means that given command will be executed on a machine where NetXMS server runs. In this case, parent process for a command will be netxmsd itself.</p>
<p dir="auto">Execute action on remote agent means that given command will be executed on a (remote) machine where NetXMS agent runs. In this case, parent process for a command will be nxagentd.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/2442</link><guid isPermaLink="true">https://forum.netxms.org/post/2442</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 14 Oct 2008 13:45:11 GMT</pubDate></item><item><title><![CDATA[Reply to VB Scripts or BAT files on Tue, 14 Oct 2008 12:45:42 GMT]]></title><description><![CDATA[<p dir="auto">Victor, can you explain a second option too, "Execute command on management server"? How it works and what's a different from "Execute action on remote agent"?</p>
<p dir="auto">Please.<br />
 <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://forum.netxms.org/post/2441</link><guid isPermaLink="true">https://forum.netxms.org/post/2441</guid><dc:creator><![CDATA[Anth0ny]]></dc:creator><pubDate>Tue, 14 Oct 2008 12:45:42 GMT</pubDate></item><item><title><![CDATA[Reply to VB Scripts or BAT files on Wed, 30 Jan 2008 11:29:03 GMT]]></title><description><![CDATA[<p dir="auto">Victor,</p>
<p dir="auto">Thanks for the updates. Love this product  <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://forum.netxms.org/post/994</link><guid isPermaLink="true">https://forum.netxms.org/post/994</guid><dc:creator><![CDATA[maxknight]]></dc:creator><pubDate>Wed, 30 Jan 2008 11:29:03 GMT</pubDate></item><item><title><![CDATA[Reply to VB Scripts or BAT files on Wed, 30 Jan 2008 10:57:03 GMT]]></title><description><![CDATA[<p dir="auto">Hello!</p>
<p dir="auto">Yes, you can, but you will need NetXMS agent running on a remote server. Configuration will consist from several steps:</p>
<ol>
<li>On remote server, define an action in agent's configuration file (nxagentd.conf):</li>
</ol>
<pre><code>Action = MyAction:my_command.exe
</code></pre>
<p dir="auto">or</p>
<pre><code>ActionShellExec = MyAction:my_script.cmd
</code></pre>
<p dir="auto">where MyAction is the name of your defined action - it will be used later in configuration.</p>
<ol start="2">
<li>
<p dir="auto">In a threshold configuration, select event you wish to be sent when threshold is violated.</p>
</li>
<li>
<p dir="auto">Define action on server - go to Control Panel -&gt; Actions and create new action of type "Execute action on remote agent". In the remote host field, enter IP address of remote server or use %a macro - it will be expanded to the address of a host which generates the event. In an action field, enter name of the action defined on agent - MyAction in our example.</p>
</li>
<li>
<p dir="auto">Add a rule to event processing policy - in events column add event you have selected on step 2, and in action column add action defined in step 3. Save the policy.</p>
</li>
</ol>
<p dir="auto">That's all. Now when threshold will be violated, your configured action will be executed on remote host.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/992</link><guid isPermaLink="true">https://forum.netxms.org/post/992</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 30 Jan 2008 10:57:03 GMT</pubDate></item></channel></rss>