<?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[Sending mail from Event Processing Policy not working]]></title><description><![CDATA[<p dir="auto">Hello, I just migrated our NetXMS instance from 2.2 to the latest version of NetXMS (5.2.1).<br />
Somehow the Event Processing Policy do not send emails. <br />
First, I had to configure new row in Notification Channels - done.<br />
In the Tools - Send notification - I tried to send me test email - done, email recieved.<br />
In the Event Processing Policy - I have custom event code and server action - send email (called "Network_Device_not_OK").<br />
In the Actions Configuration - I have row "Network Device not OK" with Send notification and correct Channel name (which I tested and recieved email before) with my Recipient's address, subject and mesage text.</p>
<p dir="auto">I have mailing template which polls ICPM ping packet loss (origin: internal) - last(5) polled values &gt; 99 triggers Event "Network_Device_not_OK "</p>
<p dir="auto">I can see that in Event Log - correct Event, message, ... But my email is nowhere.<br />
Can you help me to fix that? It was working in previous version.</p>
<p dir="auto">One more question, do you know how to send emails from template and polled values better than ICMP ping - packet loss? Some devices do not have agents or SNMP configured, so I want to get notified when they go offline (but not all - thats why I use template and apply only to specifiec ones) and also not instantly? Thats why I wait for like 5 polls to notify me.</p>
<p dir="auto">Thank you in advance.</p>
]]></description><link>https://forum.netxms.org/topic/8176/sending-mail-from-event-processing-policy-not-working</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 16:07:14 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/8176.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 16 May 2025 08:53:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Sending mail from Event Processing Policy not working on Fri, 23 May 2025 10:20:52 GMT]]></title><description><![CDATA[<p dir="auto">Great, thanks for the update</p>
]]></description><link>https://forum.netxms.org/post/34483</link><guid isPermaLink="true">https://forum.netxms.org/post/34483</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Fri, 23 May 2025 10:20:52 GMT</pubDate></item><item><title><![CDATA[Reply to Sending mail from Event Processing Policy not working on Thu, 22 May 2025 13:37:56 GMT]]></title><description><![CDATA[<p dir="auto">Thank you, it helped:)</p>
]]></description><link>https://forum.netxms.org/post/34478</link><guid isPermaLink="true">https://forum.netxms.org/post/34478</guid><dc:creator><![CDATA[Mystery]]></dc:creator><pubDate>Thu, 22 May 2025 13:37:56 GMT</pubDate></item><item><title><![CDATA[Reply to Sending mail from Event Processing Policy not working on Tue, 20 May 2025 14:48:40 GMT]]></title><description><![CDATA[<p dir="auto">This query should list EPP rules that have actions. In the "active" column you should have 1 for active actions and 0 for inactive, but may be you'll get some other values.</p>
<pre><code>select p.comments, a.action_id, a.active from POLICY_ACTION_LIST a INNER JOIN event_policy p ON a.rule_id = p.rule_id;
</code></pre>
<p dir="auto">A query to activate them all should be just this:</p>
<pre><code>update policy_action_list set active = 1;
</code></pre>
<p dir="auto">Note that netxms server should be stopped before running any update queries to the DB.</p>
]]></description><link>https://forum.netxms.org/post/34468</link><guid isPermaLink="true">https://forum.netxms.org/post/34468</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Tue, 20 May 2025 14:48:40 GMT</pubDate></item><item><title><![CDATA[Reply to Sending mail from Event Processing Policy not working on Tue, 20 May 2025 14:05:59 GMT]]></title><description><![CDATA[<p dir="auto">I tried disabling (+save) and reenabling (+save) and EP is still not working. If you don't mind, database query would be helpfull.<br />
Thank you:)</p>
]]></description><link>https://forum.netxms.org/post/34467</link><guid isPermaLink="true">https://forum.netxms.org/post/34467</guid><dc:creator><![CDATA[Mystery]]></dc:creator><pubDate>Tue, 20 May 2025 14:05:59 GMT</pubDate></item><item><title><![CDATA[Reply to Sending mail from Event Processing Policy not working on Tue, 20 May 2025 12:02:36 GMT]]></title><description><![CDATA[<p dir="auto">Yes, pls try disabling and reenabling the actions. If this does not help, we will check how to fix them with a database query.</p>
]]></description><link>https://forum.netxms.org/post/34465</link><guid isPermaLink="true">https://forum.netxms.org/post/34465</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Tue, 20 May 2025 12:02:36 GMT</pubDate></item><item><title><![CDATA[Reply to Sending mail from Event Processing Policy not working on Tue, 20 May 2025 11:34:54 GMT]]></title><description><![CDATA[<p dir="auto">Ok, thank you for info. <br />
Is there any way how to fix these bad imported EPPs? Like disable and enable etc? Or should I delete them and create again?</p>
<p dir="auto">I couldn't upgrade the server, there were many errors in the upgrading process so I had to make it this way.</p>
]]></description><link>https://forum.netxms.org/post/34464</link><guid isPermaLink="true">https://forum.netxms.org/post/34464</guid><dc:creator><![CDATA[Mystery]]></dc:creator><pubDate>Tue, 20 May 2025 11:34:54 GMT</pubDate></item><item><title><![CDATA[Reply to Sending mail from Event Processing Policy not working on Tue, 20 May 2025 09:20:14 GMT]]></title><description><![CDATA[<p dir="auto">We've fixed a bug in import - when importing from older version of xml state of Action (active or not) was not correctly imported. The fix will be included in next release.</p>
<p dir="auto">In overall it's better to upgrade just with the same database - new server will upgrade it's structure. Installing a new system and migrating config approach is used not so often, while perfectly valid.</p>
]]></description><link>https://forum.netxms.org/post/34462</link><guid isPermaLink="true">https://forum.netxms.org/post/34462</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Tue, 20 May 2025 09:20:14 GMT</pubDate></item><item><title><![CDATA[Reply to Sending mail from Event Processing Policy not working on Tue, 20 May 2025 06:11:17 GMT]]></title><description><![CDATA[<p dir="auto">MariaDB [netxms]&gt; select rule_id, flags, comments from event_policy where rule_id in (59, 78);<br />
+---------+-------+-----------------------------------------+<br />
| rule_id | flags | comments                                |<br />
+---------+-------+-----------------------------------------+<br />
|      59 |  7936 | Network Device is OFFLINE - Send E-mail |<br />
|      78 |  7936 | Test new                                |<br />
+---------+-------+-----------------------------------------+<br />
2 rows in set (0,001 sec)</p>
]]></description><link>https://forum.netxms.org/post/34460</link><guid isPermaLink="true">https://forum.netxms.org/post/34460</guid><dc:creator><![CDATA[Mystery]]></dc:creator><pubDate>Tue, 20 May 2025 06:11:17 GMT</pubDate></item><item><title><![CDATA[Reply to Sending mail from Event Processing Policy not working on Mon, 19 May 2025 14:54:34 GMT]]></title><description><![CDATA[<p dir="auto">Can you also select this from the DB and show the output (IDs are less by 1 then what's visible in the UI):</p>
<p dir="auto">select rule_id, flags, comments from event_policy where rule_id in (59, 78);</p>
]]></description><link>https://forum.netxms.org/post/34459</link><guid isPermaLink="true">https://forum.netxms.org/post/34459</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Mon, 19 May 2025 14:54:34 GMT</pubDate></item><item><title><![CDATA[Reply to Sending mail from Event Processing Policy not working on Mon, 19 May 2025 10:26:47 GMT]]></title><description><![CDATA[<p dir="auto">Yes, XML (from 2.2 version) of this rule ID is here:<br />
Do you need some more details?</p>
<pre><code>&lt;rule id="5"&gt;
			&lt;guid&gt;0cdde918-dc08-4096-9418-0197355b2833&lt;/guid&gt;
			&lt;flags&gt;7936&lt;/flags&gt;
			&lt;alarmMessage&gt;%m&lt;/alarmMessage&gt;
			&lt;alarmKey&gt;&lt;/alarmKey&gt;
			&lt;alarmSeverity&gt;5&lt;/alarmSeverity&gt;
			&lt;alarmTimeout&gt;0&lt;/alarmTimeout&gt;
			&lt;alarmTimeoutEvent&gt;43&lt;/alarmTimeoutEvent&gt;
			&lt;script&gt;&lt;/script&gt;
			&lt;comments&gt;Network Device is OFFLINE - Send E-mail&lt;/comments&gt;
			&lt;sources&gt;
			&lt;/sources&gt;
			&lt;events&gt;
				&lt;event id="100032"&gt;
					&lt;name&gt;Network_Device_not_OK&lt;/name&gt;
				&lt;/event&gt;
			&lt;/events&gt;
			&lt;actions&gt;
				&lt;action id="16"&gt;
					&lt;guid&gt;9b8807fa-f8d4-4ad7-ac5d-61f85cd27795&lt;/guid&gt;
					&lt;timerDelay&gt;
0&lt;/timerDelay&gt;
					&lt;timerKey&gt;
&lt;/timerKey&gt;
				&lt;/action&gt;
			&lt;/actions&gt;
			&lt;timerCancellations&gt;
			&lt;/timerCancellations&gt;
			&lt;pStorageActions&gt;
			&lt;/pStorageActions&gt;
		&lt;/rule&gt;
	&lt;event id="100032"&gt;
			&lt;name&gt;Network_Device_not_OK&lt;/name&gt;
			&lt;guid&gt;06cdfff3-bce6-4bbd-8c02-0a444a29e90f&lt;/guid&gt;
			&lt;code&gt;100032&lt;/code&gt;
			&lt;severity&gt;4&lt;/severity&gt;
			&lt;flags&gt;1&lt;/flags&gt;
			&lt;message&gt;NetXMS - Cisco Router/Switch/ASA IS OFFLINE!&lt;/message&gt;
			&lt;description&gt;&lt;/description&gt;
		&lt;/event&gt;
</code></pre>
]]></description><link>https://forum.netxms.org/post/34458</link><guid isPermaLink="true">https://forum.netxms.org/post/34458</guid><dc:creator><![CDATA[Mystery]]></dc:creator><pubDate>Mon, 19 May 2025 10:26:47 GMT</pubDate></item><item><title><![CDATA[Reply to Sending mail from Event Processing Policy not working on Mon, 19 May 2025 10:18:18 GMT]]></title><description><![CDATA[<p dir="auto">Can you share the exported .xml (or at least it's part related to this specific rule).<br />
Export was performed in v 2.2, right?</p>
]]></description><link>https://forum.netxms.org/post/34457</link><guid isPermaLink="true">https://forum.netxms.org/post/34457</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Mon, 19 May 2025 10:18:18 GMT</pubDate></item><item><title><![CDATA[Reply to Sending mail from Event Processing Policy not working on Mon, 19 May 2025 10:16:16 GMT]]></title><description><![CDATA[<p dir="auto">I exported all EPPs from old verions of NetXMS and imported to new NetXMS instance. <br />
Somehow, the imported ones are not working (sending emails).<br />
I created new EPP with same definitions and email is sent.</p>
<p dir="auto"><img src="https://i.ibb.co/3YmTBLDy/screen.png" alt="" class="img-markdown  img-fluid" /></p>
<p dir="auto">See rule 60 is not working while rule 79 is working. Strange.<br />
I also see a new row in the notification log.<br />
There is no rule with "stop event processiong" checkbox.</p>
]]></description><link>https://forum.netxms.org/post/34456</link><guid isPermaLink="true">https://forum.netxms.org/post/34456</guid><dc:creator><![CDATA[Mystery]]></dc:creator><pubDate>Mon, 19 May 2025 10:16:16 GMT</pubDate></item><item><title><![CDATA[Reply to Sending mail from Event Processing Policy not working on Mon, 19 May 2025 08:35:35 GMT]]></title><description><![CDATA[<p dir="auto">What about EPP rules which are before that one that should send the notification? Could there be some rule with “stop event processiong” checkbox?</p>
]]></description><link>https://forum.netxms.org/post/34455</link><guid isPermaLink="true">https://forum.netxms.org/post/34455</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Mon, 19 May 2025 08:35:35 GMT</pubDate></item><item><title><![CDATA[Reply to Sending mail from Event Processing Policy not working on Mon, 19 May 2025 07:45:04 GMT]]></title><description><![CDATA[<p dir="auto">In the notification log, there are only rows from testing events.<br />
In the event log, there is correct event, which should send these emails as event processing policy define that.</p>
<pre><code>{
  "id": 11134,
  "rootId": 0,
  "code": 100074,
  "name": "Network_Device_not_OK",
  "timestamp": 1747638739,
  "originTimestamp": 1747638739,
  "origin": 0,
  "source": 356,
  "zone": 0,
  "dci": 1137,
  "severity": 4,
  "message": "NetXMS - OFFLINE :-( ",
  "lastAlarmKey": "",
  "lastAlarmMessage": "",
  "tags": null,
  "parameters": [
    {
      "name": "dciName",
      "value": "ICMP.PacketLoss"
    },
    {
      "name": "dciDescription",
      "value": "ICMP ping: packet loss"
    },
    {
      "name": "thresholdValue",
      "value": "99"
    },
    {
      "name": "currentValue",
      "value": "100"
    },
    {
      "name": "dciId",
      "value": "0x00000471"
    },
    {
      "name": "instance",
      "value": ""
    },
    {
      "name": "isRepeatedEvent",
      "value": "1"
    },
    {
      "name": "dciValue",
      "value": "100"
    },
    {
      "name": "operation",
      "value": "4"
    },
    {
      "name": "function",
      "value": "0"
    },
    {
      "name": "pollCount",
      "value": "5"
    },
    {
      "name": "thresholdDefinition",
      "value": "last(5) \u003e 99"
    }
  ]
}
</code></pre>
]]></description><link>https://forum.netxms.org/post/34454</link><guid isPermaLink="true">https://forum.netxms.org/post/34454</guid><dc:creator><![CDATA[Mystery]]></dc:creator><pubDate>Mon, 19 May 2025 07:45:04 GMT</pubDate></item><item><title><![CDATA[Reply to Sending mail from Event Processing Policy not working on Fri, 16 May 2025 14:23:40 GMT]]></title><description><![CDATA[<p dir="auto">For delayed notifications pls check screenshots in this documentation chapter: <a href="https://netxms.org/documentation/adminguide/event-processing.html#actions" rel="nofollow ugc">https://netxms.org/documentation/adminguide/event-processing.html#actions</a></p>
<p dir="auto">What about Server Action Execution and Notification logs, is there anything there related to the email?</p>
]]></description><link>https://forum.netxms.org/post/34450</link><guid isPermaLink="true">https://forum.netxms.org/post/34450</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Fri, 16 May 2025 14:23:40 GMT</pubDate></item></channel></rss>