<?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[Network discovery filter script]]></title><description><![CDATA[<p dir="auto">Hi,<br />
 this is my Network Discovery configuration:<br />
<a href="https://ibb.co/kqQvW6Z" rel="nofollow ugc"><img src="https://i.ibb.co/9ysSC3P/2022-04-10-21-33-06.png" alt="" class="img-markdown  img-fluid" /></a></p>
<p dir="auto">and this is Filter::NetworkDiscovery scipt:</p>
<pre><code>tracelevel=0;
trace(tracelevel, "======= Filter::NetworkDiscovery ==========");
return false;
</code></pre>
<p dir="auto">Nodes on 192.168.150.0/24 are discovered and added to the right Zone through proxy, the script isn't runned (no log trace) and should filter all (fixed return false).</p>
<p dir="auto">My server version is 4.0.2227</p>
<p dir="auto">Do you have any ideas?</p>
<p dir="auto">thanks<br />
Alessandro</p>
]]></description><link>https://forum.netxms.org/topic/7345/network-discovery-filter-script</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 10:31:34 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/7345.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 10 Apr 2022 19:39:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Network discovery filter script on Tue, 12 Apr 2022 16:30:54 GMT]]></title><description><![CDATA[<p dir="auto">This is actually strange. The only possible reason I can think of is if runtime error happens in the script. In this case script is interpreted as if it would return true (this will be reworked in next release). But script run-time error would be visible in the log file. And your script looks to be correct.</p>
<p dir="auto">I would increase active discovery interval to 3600 - this is to make sure that discovery processes would stop. Then try setting server debug level to 6 (hopefully it's a test environment with not too many nodes - otherwise there will be too many lines in the log). And try to run discovery scan manually - select the range and click scan. The log should have detailed information on how discovery is happening.</p>
]]></description><link>https://forum.netxms.org/post/31221</link><guid isPermaLink="true">https://forum.netxms.org/post/31221</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Tue, 12 Apr 2022 16:30:54 GMT</pubDate></item><item><title><![CDATA[Reply to Network discovery filter script on Mon, 11 Apr 2022 16:04:56 GMT]]></title><description><![CDATA[<p dir="auto">Same problem:</p>
<ul>
<li>Disabled Network discovery</li>
<li>show queue as attached (0)</li>
<li>Enabled Network disconvery</li>
<li>Queue start to grow</li>
<li>after some minutes, the nodes appear again</li>
</ul>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000005669-2022-04-11_17-51-53.png" alt="2022-04-11_17-51-53.png" class="img-markdown  img-fluid" width="391" height="258" /></p>
]]></description><link>https://forum.netxms.org/post/31217</link><guid isPermaLink="true">https://forum.netxms.org/post/31217</guid><dc:creator><![CDATA[AleCoelli]]></dc:creator><pubDate>Mon, 11 Apr 2022 16:04:56 GMT</pubDate></item><item><title><![CDATA[Reply to Network discovery filter script on Mon, 11 Apr 2022 15:45:55 GMT]]></title><description><![CDATA[<p dir="auto">I'd suggest to turn off the active discovery. Then to check that discovery queue is empty (run "show queues" from Tools-&gt;Server console). After that try deleting the nodes again and retry the discovery.</p>
]]></description><link>https://forum.netxms.org/post/31216</link><guid isPermaLink="true">https://forum.netxms.org/post/31216</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Mon, 11 Apr 2022 15:45:55 GMT</pubDate></item><item><title><![CDATA[Reply to Network discovery filter script on Mon, 11 Apr 2022 15:21:48 GMT]]></title><description><![CDATA[<p dir="auto">Hi Filipp,<br />
  The nodes are present, I delete them (as you can see in the screenshot) and after some time they appear again, without running the script<br />
<a href="https://ibb.co/sKppjXB" rel="nofollow ugc"><img src="https://i.ibb.co/k4VVKPd/2022-04-11-17-17-41.png" alt="" class="img-markdown  img-fluid" /></a></p>
]]></description><link>https://forum.netxms.org/post/31214</link><guid isPermaLink="true">https://forum.netxms.org/post/31214</guid><dc:creator><![CDATA[AleCoelli]]></dc:creator><pubDate>Mon, 11 Apr 2022 15:21:48 GMT</pubDate></item><item><title><![CDATA[Reply to Network discovery filter script on Mon, 11 Apr 2022 15:12:58 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">Could it be so that nodes for these IP addresses are already present in the system when discovery happens? If so, the script is not executed, if that address is already added.</p>
]]></description><link>https://forum.netxms.org/post/31213</link><guid isPermaLink="true">https://forum.netxms.org/post/31213</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Mon, 11 Apr 2022 15:12:58 GMT</pubDate></item></channel></rss>