<?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[ThresholdRepeatInterval Does't work with scripts as Threshold]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">Please, help me with this topic. I defined the ThresholdRepeatInterval in 600 seconds. All alarms are issued again after 10 minutes in case they have not been resolved.<br />
However, after updating to netxms 2.2.3, I realized that it is not taking into account the time defined in ThresholdRepeatInterval for the DCI that have a script as a threshold.<br />
Probe configuring the "Repeat Interval" directly in a DCI but it does not work. I do not know if it is an error of this version?</p>
<p dir="auto">my script is the next:</p>
<p dir="auto">ifName = $dci-&gt;name;<br />
indexArray = SplitString(ifName,".");<br />
ifIndex = indexArray[indexArray-&gt;size - 1];<br />
interface = GetInterfaceObject($node, ifIndex);<br />
ifSpeed = interface-&gt;speed;<br />
actualSpeed = $1;<br />
if (actualSpeed &gt; 0 &amp;&amp; ifSpeed &gt; 0)<br />
{<br />
    usedBandwidthPerc = format((int64 (actualSpeed) * 100) / int64(ifSpeed),1,2);<br />
//	trace(0,$node-&gt;name);<br />
//	trace(0,"ifIndex-&gt; " . ifIndex);<br />
//	trace(0,"ifSpeed-&gt; " . ifSpeed);<br />
//	trace(0,"ActualSpeed-&gt; " . actualSpeed);<br />
//	trace(0,"usedPercentage-&gt; " . usedBandwidthPerc);<br />
}<br />
else<br />
{<br />
    usedBandwidthPerc = 0;<br />
}<br />
if (usedBandwidthPerc &gt;= 80)<br />
{<br />
    return true;<br />
}<br />
else{<br />
    return false;<br />
}</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000003960-AlarmBrowser.PNG" alt="AlarmBrowser.PNG" class="img-markdown  img-fluid" width="1268" height="906" /></p>
<p dir="auto"><img src="/assets/uploads/files/smf/0000000003962-DCIconfig_1.PNG" alt="DCIconfig_1.PNG" class="img-markdown  img-fluid" width="660" height="677" /></p>
<p dir="auto"><img src="/assets/uploads/files/smf/0000000003964-DCIconfig_2.PNG" alt="DCIconfig_2.PNG" class="img-markdown  img-fluid" width="658" height="675" /></p>
<p dir="auto"><img src="/assets/uploads/files/smf/0000000003966-DCIconfig_3.PNG" alt="DCIconfig_3.PNG" class="img-markdown  img-fluid" width="673" height="674" /></p>
<p dir="auto"><img src="/assets/uploads/files/smf/0000000003968-DCIconfig_4.PNG" alt="DCIconfig_4.PNG" class="img-markdown  img-fluid" width="670" height="677" /></p>
]]></description><link>https://forum.netxms.org/topic/5476/thresholdrepeatinterval-does-t-work-with-scripts-as-threshold</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 09:23:17 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/5476.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 02 Mar 2018 23:15:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ThresholdRepeatInterval Does't work with scripts as Threshold on Sat, 10 Mar 2018 17:54:03 GMT]]></title><description><![CDATA[<p dir="auto">Thanks. As you said. It worked in version 2.2.4.</p>
]]></description><link>https://forum.netxms.org/post/23999</link><guid isPermaLink="true">https://forum.netxms.org/post/23999</guid><dc:creator><![CDATA[lmontano]]></dc:creator><pubDate>Sat, 10 Mar 2018 17:54:03 GMT</pubDate></item><item><title><![CDATA[Reply to ThresholdRepeatInterval Does't work with scripts as Threshold on Tue, 06 Mar 2018 09:13:57 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">it's a bug that was fixed in 2.2.4.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/23988</link><guid isPermaLink="true">https://forum.netxms.org/post/23988</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 06 Mar 2018 09:13:57 GMT</pubDate></item></channel></rss>