<?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[Last DCI value in event mesagge]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">I need to put the last DCI value in event message. How can I do it?</p>
<p dir="auto">Best regards.</p>
]]></description><link>https://forum.netxms.org/topic/1410/last-dci-value-in-event-mesagge</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 20:44:28 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/1410.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 17 Oct 2011 12:23:11 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Last DCI value in event mesagge on Wed, 19 Oct 2011 06:42:50 GMT]]></title><description><![CDATA[<p dir="auto">Thank you, Victor!</p>
]]></description><link>https://forum.netxms.org/post/6169</link><guid isPermaLink="true">https://forum.netxms.org/post/6169</guid><dc:creator><![CDATA[testos]]></dc:creator><pubDate>Wed, 19 Oct 2011 06:42:50 GMT</pubDate></item><item><title><![CDATA[Reply to Last DCI value in event mesagge on Tue, 18 Oct 2011 12:58:40 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">For threshold violation events, it is:</p>
<p dir="auto">   1) Parameter name<br />
   2) Item description<br />
   3) Threshold value<br />
   4) Actual value<br />
   5) Data collection item ID<br />
   6) Instance</p>
<p dir="auto">For threshold rearm event:</p>
<p dir="auto">   1) Parameter name<br />
   2) Item description<br />
   3) Data collection item ID<br />
   4) Instance<br />
   5) Threshold value<br />
   6) Actual value</p>
<p dir="auto">For standard events, you can find list of event-specific parameters in event description (accessible via event configuration view).</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/6167</link><guid isPermaLink="true">https://forum.netxms.org/post/6167</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 18 Oct 2011 12:58:40 GMT</pubDate></item><item><title><![CDATA[Reply to Last DCI value in event mesagge on Tue, 18 Oct 2011 12:18:59 GMT]]></title><description><![CDATA[<p dir="auto">Hi Victor, could you complete this event-specific parameters table?</p>
<blockquote>
<p dir="auto">$event-&gt;parameters[1] -&gt; DCI Data parameter<br />
$event-&gt;parameters[2] -&gt; DCI description<br />
$event-&gt;parameters[3] -&gt; ??<br />
$event-&gt;parameters[4] -&gt; ??<br />
$event-&gt;parameters[5] -&gt; DCI ID<br />
$event-&gt;parameters[6] -&gt; ??<br />
$event-&gt;parameters[7] -&gt; ??</p>
</blockquote>
<p dir="auto">Thanks in advance.</p>
]]></description><link>https://forum.netxms.org/post/6165</link><guid isPermaLink="true">https://forum.netxms.org/post/6165</guid><dc:creator><![CDATA[testos]]></dc:creator><pubDate>Tue, 18 Oct 2011 12:18:59 GMT</pubDate></item><item><title><![CDATA[Reply to Last DCI value in event mesagge on Mon, 17 Oct 2011 14:35:48 GMT]]></title><description><![CDATA[<p dir="auto">Thank you!<br />
Great support!  <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f62e.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--open_mouth" style="height:1.4em;width:auto;vertical-align:middle" title=":o" alt="😮" /></p>
<p dir="auto">Regards,</p>
]]></description><link>https://forum.netxms.org/post/6161</link><guid isPermaLink="true">https://forum.netxms.org/post/6161</guid><dc:creator><![CDATA[testos]]></dc:creator><pubDate>Mon, 17 Oct 2011 14:35:48 GMT</pubDate></item><item><title><![CDATA[Reply to Last DCI value in event mesagge on Mon, 17 Oct 2011 14:10:21 GMT]]></title><description><![CDATA[<p dir="auto">You can write a simple NXSL script which will return DCI value and use it in message template via %[] macro. For example, you can create script called "LastValue" with the following code:</p>
<pre><code>return GetDCIValue($node, $event-&gt;parameters[5]);
</code></pre>
<p dir="auto">and then use macro %[LastValue] in message template to insert last value of associated DCI in threshold violation events.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/6160</link><guid isPermaLink="true">https://forum.netxms.org/post/6160</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 17 Oct 2011 14:10:21 GMT</pubDate></item></channel></rss>