<?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[server crash while saving event processing policy]]></title><description><![CDATA[<p dir="auto">I inserted this filtering script in an existing event processing policy and saved the policies.</p>
<pre><code>/* no alarm when node is down */
sub main()
{
   s = FindSituation("NodeDown", %n);
   if (s != NULL)
   {
   if (s-&gt;status == 1)
   return false; //don't match rule
   }
   return true; //match rule
}
</code></pre>
<p dir="auto">Then the NetXMS server (netxmsd) crashed.<br />
Server is V1.2.14 on Linux x64. I send the debuglog (LogLevel=9) to <a href="mailto:dump@netxms.org" rel="nofollow ugc">dump@netxms.org</a></p>
<p dir="auto">Update:<br />
When I write the filtering script without "sub main () {" and "}" the server does not crash. Maybe a bug? Or my fault?</p>
]]></description><link>https://forum.netxms.org/topic/3266/server-crash-while-saving-event-processing-policy</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 11:41:02 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/3266.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 15 Jul 2014 13:12:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to server crash while saving event processing policy on Thu, 23 Feb 2017 17:36:38 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">we will check. You can report issues at <a href="https://track.radensolutions.com" rel="nofollow ugc">https://track.radensolutions.com</a></p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/21883</link><guid isPermaLink="true">https://forum.netxms.org/post/21883</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 23 Feb 2017 17:36:38 GMT</pubDate></item><item><title><![CDATA[Reply to server crash while saving event processing policy on Thu, 26 Jan 2017 08:21:22 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I had same problem, but with NetXMS Server Version 2.0.8 (on Windows). The "NetXMS Core"-Service (the NetXMS Server) crashed everytime at one specific line in an event processing policy rule I created. The line looked:<br />
s = FindSituation("ICMP_Timeout_Special", $I);</p>
<p dir="auto">So, now I know it's a syntax error, but the server still crashes...</p>
<p dir="auto">Best regards,<br />
Manuel</p>
<p dir="auto">PS.: I wonder if I missed out some WebPage where users can submit NetXMS Issues...</p>
]]></description><link>https://forum.netxms.org/post/21752</link><guid isPermaLink="true">https://forum.netxms.org/post/21752</guid><dc:creator><![CDATA[Manuel Schneider]]></dc:creator><pubDate>Thu, 26 Jan 2017 08:21:22 GMT</pubDate></item><item><title><![CDATA[Reply to server crash while saving event processing policy on Fri, 18 Jul 2014 12:36:48 GMT]]></title><description><![CDATA[<p dir="auto">Yes, it is possible that node down event comes after DCI threshold violation events. The reason is that data collection is not synchronized with status polls - so when node went down there is no guarantee that status poll will detect it first - so you can get some of the DCI events before SYS_NODE_DOWN. One of the possible solutions is to change number of polls required to trigger thresholds - if you set it to 2 (assuming data collection interval is the same as status polling interval) you will already have SYS_NODE_DOWN received when threshold generates event. Drawback of course is that you'll get service down notification one poll interval later.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/14415</link><guid isPermaLink="true">https://forum.netxms.org/post/14415</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Fri, 18 Jul 2014 12:36:48 GMT</pubDate></item><item><title><![CDATA[Reply to server crash while saving event processing policy on Tue, 15 Jul 2014 15:20:51 GMT]]></title><description><![CDATA[<p dir="auto">Thank you Victor. So I replaced "%n" by "$node-&gt;name".<br />
But my idea must have another problem. I tried to avoid alarms from Service.Check-DCIs (Webserver, DNS and other network services checked by subagnets and external commands from the NetXMS server as proxy node) when the correspondent node is down. But maybe the 'node down' event (which updates the situation) is after the other events. I still get all alarms  <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--disappointed" style="height:1.4em;width:auto;vertical-align:middle" title=":(" alt="😞" /><br />
When the whole node is down I want to have all events but no alarms other then the node-down-alarm.</p>
]]></description><link>https://forum.netxms.org/post/14393</link><guid isPermaLink="true">https://forum.netxms.org/post/14393</guid><dc:creator><![CDATA[user54119]]></dc:creator><pubDate>Tue, 15 Jul 2014 15:20:51 GMT</pubDate></item><item><title><![CDATA[Reply to server crash while saving event processing policy on Tue, 15 Jul 2014 14:55:11 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">your script has syntax error (in FindSituation call), and there is a bug in 1.2.14 (already fixed for 1.2.15) that may cause server to crash when compiling script with syntax error. Try to fix the script like this:</p>
<pre><code>   s = FindSituation("NodeDown", $node-&gt;name);
</code></pre>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/14392</link><guid isPermaLink="true">https://forum.netxms.org/post/14392</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 15 Jul 2014 14:55:11 GMT</pubDate></item></channel></rss>