<?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[How to run Scripts?]]></title><description><![CDATA[<p dir="auto">Dear Community</p>
<p dir="auto">I've just started towork with netxms and i love it!</p>
<p dir="auto">Now I wan't to check if a node is up (the mailserver to be specific) during an event proccessing policy before I continue to send an email.<br />
I thought that it would make sense to use the filtering-script parameter in the event proccessing rule to check the status parameter of the mailserver node-object. But there is somehow no way I can check if my syntax is right. Even the trace(0,"message); function is not writing anything to the syslog and the print/println functions don't work there.</p>
<p dir="auto">Than I thought I could check my syntax by creating a script in the script-library, but there is no "test" or "run" button.<br />
How can i test the scripts?</p>
<p dir="auto">Sorry for my newbee question, but I couldn't find any answer in the whole forum <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>
<p dir="auto">Cheers</p>
]]></description><link>https://forum.netxms.org/topic/2266/how-to-run-scripts</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 14:19:24 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/2266.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 26 Mar 2013 17:44:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to run Scripts? on Tue, 26 Mar 2013 20:14:42 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">You can run your script from library (or external file) by opening server debug console (Tools -&gt; Server Console menu) and type</p>
<p dir="auto">exec <em>script_name</em></p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/10003</link><guid isPermaLink="true">https://forum.netxms.org/post/10003</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 26 Mar 2013 20:14:42 GMT</pubDate></item></channel></rss>