<?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[Exclude some devices in autodiscover]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">is there a way to exclude some clients in autodiscover process? I scan the networks for snmp devices. unfortunately, some HP Printers react on my snmp community and are added to the devicelist.</p>
<p dir="auto">Its only one subnet - I have 10 switches there to manage, and 10 printers that I dont want to include in the scan.</p>
<p dir="auto">Is there a way to exclude the whole subnet from configuration polls? There are nor changes in this network normally.</p>
<p dir="auto">Thanks,</p>
<p dir="auto">greetings<br />
Tom</p>
]]></description><link>https://forum.netxms.org/topic/368/exclude-some-devices-in-autodiscover</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 07:26:33 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/368.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 27 May 2008 09:45:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Exclude some devices in autodiscover on Wed, 28 May 2008 08:39:59 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the help, I will do a test with the script</p>
]]></description><link>https://forum.netxms.org/post/1787</link><guid isPermaLink="true">https://forum.netxms.org/post/1787</guid><dc:creator><![CDATA[Tom]]></dc:creator><pubDate>Wed, 28 May 2008 08:39:59 GMT</pubDate></item><item><title><![CDATA[Reply to Exclude some devices in autodiscover on Tue, 27 May 2008 14:53:10 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">It is possible, but only with custom filter script. You should create a new script in script library and then enter it's name in network discovery properties. Script receives object with new node information as first parameter and should return non-zero if node should be added to database and 0 otherwise. For example, script that will allow to discover only SNMP devices, but not in subnet 10.0.0.0/24, can looks like following:</p>
<pre><code>sub main()
{
   return $1-&gt;isSNMP &amp;&amp; (!AddrInSubnet($1-&gt;ipAddr, "10.0.0.0", "255.255.255.0"));
}
</code></pre>
<p dir="auto">Full list of node object attributes (mostly self-explaining):</p>
<p dir="auto">ipAddr<br />
netMask<br />
subnet<br />
isAgent<br />
isSNMP<br />
isBridge<br />
isRouter<br />
isCDP<br />
isSONMP<br />
isLLDP<br />
snmpVersion<br />
snmpOID<br />
agentVersion<br />
platformName</p>
<p dir="auto">Btw, you can filter out printers by checking SNMP OID in filter script.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/1777</link><guid isPermaLink="true">https://forum.netxms.org/post/1777</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 27 May 2008 14:53:10 GMT</pubDate></item></channel></rss>