<?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[Threshold ranges possible?]]></title><description><![CDATA[<p dir="auto">The current threshold options are somewhat limited especially because you can't do 'AND' or 'OR' operations with them<br />
So from what I gather its not possible to do a threshold range? i.e. 'last polled value between 15 and 20'</p>
<p dir="auto">I have some SNMP values that return -1, 0 or 4,294,967,295 (highest possible value) and I want to create alerts that exclude these<br />
And others return an incorrect value that I just want to discard. I.e. I have temperature alerts set up, anything &gt;70 send a Slack alert, however when its returning 8,500 we've either created a miniature star or the sensor is faulty. As such I don't want to alert on anything &gt;140</p>
<p dir="auto">Is there a way to do this?</p>
]]></description><link>https://forum.netxms.org/topic/6199/threshold-ranges-possible</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 13:19:58 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/6199.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 30 Sep 2019 07:22:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Threshold ranges possible? on Tue, 01 Oct 2019 23:49:49 GMT]]></title><description><![CDATA[<p dir="auto">I guess its better than nothing but i'm not a fan of scripting when it can be avoided, its just messy, hard to read and hard to make changes or troubleshoot down the track (too many rabbit holes to follow to find what is responsible for what)</p>
<p dir="auto">Any plans to update threshold options and add the ability to specify multiple values?</p>
]]></description><link>https://forum.netxms.org/post/26659</link><guid isPermaLink="true">https://forum.netxms.org/post/26659</guid><dc:creator><![CDATA[Millenium7]]></dc:creator><pubDate>Tue, 01 Oct 2019 23:49:49 GMT</pubDate></item><item><title><![CDATA[Reply to Threshold ranges possible? on Mon, 30 Sep 2019 08:31:08 GMT]]></title><description><![CDATA[<p dir="auto">Since version 3.0 macros can be used in threshold's <strong>Value</strong> field. Particularly, this allows to use scripts in thresholds by creating a script and referencing it with %[script_name] macro. This way you can do all the customization in your script.<br />
UPD:<br />
More correct way would be to set threshold Function = Script and use a script this way. If script returns "true" it means, that threshold will get activated. Contents of "Value" field can be accessed from the  script.</p>
]]></description><link>https://forum.netxms.org/post/26645</link><guid isPermaLink="true">https://forum.netxms.org/post/26645</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Mon, 30 Sep 2019 08:31:08 GMT</pubDate></item></channel></rss>