<?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[About the discover poll]]></title><description><![CDATA[<p dir="auto">Merry Christmas!</p>
<p dir="auto">That's the workflow I think in the passive discovery polls :<br />
1、The server get it's own Interfaces and create a manager node(The manager node is Server's host itself)<br />
2、When The manager node create,it will be inserted into the Node Queue.(The manager node will be the first node in the queue)<br />
3、The DiscoveryPoller() run for the first time and It get a Node in the Node Queue（The First node is The manager node）<br />
4、Access the Node above and get the arp table or route table information and add the relevant nodes into the  Node Queue.</p>
<p dir="auto">My question is:<br />
The Node object is create in the DiscoveryPoller.But I can not find when the interface object and the subbet object created in the source code.<br />
Can you point it out for me?</p>
<ul>
<li>10.0.1.0/24    //subnet<br />
  |<br />
   -10.10.1.10   // Node(Server)<br />
    |<br />
     -eth0       //Interface</li>
</ul>
<p dir="auto">best wish!</p>
]]></description><link>https://forum.netxms.org/topic/1510/about-the-discover-poll</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 10:23:49 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/1510.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 20 Dec 2011 12:28:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to About the discover poll on Thu, 22 Dec 2011 09:47:56 GMT]]></title><description><![CDATA[<p dir="auto">Yes, that's correct.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/6579</link><guid isPermaLink="true">https://forum.netxms.org/post/6579</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 22 Dec 2011 09:47:56 GMT</pubDate></item><item><title><![CDATA[Reply to About the discover poll on Thu, 22 Dec 2011 09:22:18 GMT]]></title><description><![CDATA[<p dir="auto">Very thank you for answering me so carefully and so rapidly</p>
<p dir="auto">In all, the theory of it is :</p>
<p dir="auto">1、The DiscoveryPoller() is deal with the existing Network Node and find out the candidate nodes by arp/route table and deliver to the NodePoller()</p>
<p dir="auto">2、The  NodePoller() is validation the candidate nodes and Create the real Network Node.    And The new create Network Node deliver to the DiscoveryPoller()</p>
<p dir="auto">The above workflowis a cycle flow.</p>
<p dir="auto">And the first existing Network Node in the Server itself and be create by CheckForMgmtNode().</p>
<p dir="auto">It that right ?</p>
]]></description><link>https://forum.netxms.org/post/6578</link><guid isPermaLink="true">https://forum.netxms.org/post/6578</guid><dc:creator><![CDATA[165432896]]></dc:creator><pubDate>Thu, 22 Dec 2011 09:22:18 GMT</pubDate></item><item><title><![CDATA[Reply to About the discover poll on Tue, 20 Dec 2011 13:44:52 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">Discovery poller only puts candidate node into poll queue. Another thread is responsible for node validation and appropriate object creation. All this code located in file np.cpp. Polling thread looks like this:</p>
<p dir="auto">      pInfo = (NEW_NODE *)g_nodePollerQueue.GetOrBlock();<br />
      if (pInfo == INVALID_POINTER_VALUE)<br />
         break;   // Shutdown indicator received</p>
<p dir="auto">        DbgPrintf(4, _T("NodePoller: processing node %s/%s in zone %d"),<br />
                  IpToStr(pInfo-&gt;dwIpAddr, szIpAddr), IpToStr(pInfo-&gt;dwNetMask, szNetMask), (int)pInfo-&gt;zoneId);<br />
        if (AcceptNewNode(pInfo-&gt;dwIpAddr, pInfo-&gt;dwNetMask, pInfo-&gt;zoneId))<br />
        {<br />
         Node *node = PollNewNode(pInfo-&gt;dwIpAddr, pInfo-&gt;dwNetMask, 0, NULL, 0, 0, NULL, pInfo-&gt;zoneId, true);<br />
        }<br />
      free(pInfo);</p>
<p dir="auto">AcceptNewNode checks candidate node against current discovery filter, and if it passes, PollNewNode is called, where actual node object being created. Inside PollNewNode method Node::configurationPoll is called, where all interface and subnet objects are created, as required.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/6531</link><guid isPermaLink="true">https://forum.netxms.org/post/6531</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 20 Dec 2011 13:44:52 GMT</pubDate></item></channel></rss>