<?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[Advanced Dci]]></title><description><![CDATA[<p dir="auto">Hello</p>
<p dir="auto">Is it possible to create "advanced" dci poll like:</p>
<p dir="auto">Example 1: Check if windows service is running and network speed is above some value. If some criteria is not matched, return specific alert message, not just general error.</p>
<p dir="auto">Example 2: Check for multiple wifi ap frequencis on same tower and if they overlap then alert, but with specific message again, like what ap's are overlaping.</p>
<p dir="auto">Example 3: Count specific node events per given time. Like Event X happened over last 7 days.</p>
<p dir="auto">Egert</p>
]]></description><link>https://forum.netxms.org/topic/6565/advanced-dci</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 12:15:07 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/6565.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 08 Jun 2020 08:32:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Advanced Dci on Mon, 08 Jun 2020 21:28:09 GMT]]></title><description><![CDATA[<p dir="auto">You can use DCI with origin "Script". For that you need to create a script in the script library and confgure that script name in properties of a DCI.<br />
Then in the script you can read parameters directly from agent<br />
    $node-&gt;readAgentParameter(name)<br />
($node will be the object of node, to which the DCI belongs. You can also use this method on other nodes).</p>
<p dir="auto">You can also get last collected value of any DCI - <a href="https://www.netxms.org/documentation/nxsl-latest/#func-getdcivalue" rel="nofollow ugc">https://www.netxms.org/documentation/nxsl-latest/#func-getdcivalue</a></p>
<p dir="auto">You can use "abort" operator in the script - if it's called, the script will terminate and no new datapoint will be generated at this time.</p>
<p dir="auto">Some examples of NXSL scripts are available here: <a href="https://wiki.netxms.org/wiki/SG:Script_Examples" rel="nofollow ugc">https://wiki.netxms.org/wiki/SG:Script_Examples</a></p>
]]></description><link>https://forum.netxms.org/post/28025</link><guid isPermaLink="true">https://forum.netxms.org/post/28025</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Mon, 08 Jun 2020 21:28:09 GMT</pubDate></item></channel></rss>