<?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 find out the event parameters?]]></title><description><![CDATA[<p dir="auto">Hello again!</p>
<p dir="auto">(As always, sorry for a probably quite silly question...)</p>
<p dir="auto">I've been learning a lot about NetXMS lately (even though I'm still far away from using complex scripts etc.), but I just can't figure out how to know the parameters for custom events.</p>
<p dir="auto">I created the events DC_AGENT_REACHABLE and DC_AGENT_UNREACHABLE to be triggered by an AgentStatus DCI. But when an alarm was created and later on terminated, I noticed both events had different parameters. From testing and reading the descriptions of other DC events, I got this list:</p>
<p dir="auto">DC_AGENT_REACHABLE parameters</p>
<ol>
<li>Parameter name</li>
<li>Item description</li>
<li>Data collection item ID</li>
<li>?!</li>
<li>Threshold value</li>
<li>Current value</li>
</ol>
<p dir="auto">DC_AGENT_UNREACHABLE parameters</p>
<ol>
<li>Parameter name</li>
<li>Item description</li>
<li>Threshold value</li>
<li>Current value</li>
<li>Data collection item ID</li>
<li>Instance</li>
<li>Repeat flag</li>
</ol>
<p dir="auto">Please, can someone tell me why two (as far as I know) similarly created events have got different parameters and how to know them without triggering test alarms? (It's been bugging me that I've accidently been sending test mails to the department mailing list a few times - partly with alarms like "There's less than 200% free space on drive C:" <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">Thank you for your great work and support!</p>
]]></description><link>https://forum.netxms.org/topic/3971/how-to-find-out-the-event-parameters</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 07:23:33 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/3971.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 07 Sep 2015 07:07:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to find out the event parameters? on Fri, 25 Dec 2015 09:25:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/victor" aria-label="Profile: victor">@<bdi>victor</bdi></a> said in <a href="/post/17740">How to find out the event parameters?</a>:</p>
<blockquote>
<p dir="auto">...so for example you can replace %4 with %{currentValue} in threshold violation event processing.</p>
</blockquote>
<p dir="auto">just some clarification -  correct format is %&lt;currentValue&gt;</p>
]]></description><link>https://forum.netxms.org/post/18711</link><guid isPermaLink="true">https://forum.netxms.org/post/18711</guid><dc:creator><![CDATA[slako]]></dc:creator><pubDate>Fri, 25 Dec 2015 09:25:28 GMT</pubDate></item><item><title><![CDATA[Reply to How to find out the event parameters? on Thu, 17 Sep 2015 12:06:39 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">thanks a lot Victor, you're doing a great Job as always!</p>
]]></description><link>https://forum.netxms.org/post/17803</link><guid isPermaLink="true">https://forum.netxms.org/post/17803</guid><dc:creator><![CDATA[tarnmensch]]></dc:creator><pubDate>Thu, 17 Sep 2015 12:06:39 GMT</pubDate></item><item><title><![CDATA[Reply to How to find out the event parameters? on Tue, 08 Sep 2015 07:10:18 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">for historical reasons events generated by threshold violation and threshold rearm has parameters in different order. They are modelled by SYS_THRESHOLD_REACHED and SYS_THRESHOLD_REARMED events respectively - you can check descriptions for parameter list. Also, you can use named parameters: dciName, dciDescription, thresholdValue, currentValue, dciId, instance, isRepeatedEvent - so for example you can replace %4 with %{currentValue} in threshold violation event processing.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/17740</link><guid isPermaLink="true">https://forum.netxms.org/post/17740</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 08 Sep 2015 07:10:18 GMT</pubDate></item></channel></rss>