NetXMS Support Forum

English Support => General Support => Topic started by: Dani@M3T on June 29, 2016, 09:03:32 PM

Title: Same subnet twice in 'entire entwork'
Post by: Dani@M3T on June 29, 2016, 09:03:32 PM
We have one subnet twice under 'entire network'. Both the same network and the same netmask, different object IDs in NetXMS and all nodes are listed under both network objects.

NetXMS version is V2.0.4 on linux x64 built from sources. How can I fix that?

thanks
Dani
Title: Re: Same subnet twice in 'entire entwork'
Post by: Victor Kirhenshtein on July 07, 2016, 12:15:03 PM
Hi,

do those subnets have same network mask?

Fix should be quite easy - just delete one of them (make sure you don't have nodes that are only in subnet being deleted).

Best regards,
Victor
Title: Re: Same subnet twice in 'entire entwork'
Post by: Dani@M3T on July 07, 2016, 12:20:53 PM
Hi Victor

Yes they have the same netmask. So I deleted one of these networks. After the next configuration poll on one of the nodes in this net, I get the second network object back again. That was not the easy solution  ;)

thanks
Dani

Title: Re: Same subnet twice in 'entire entwork'
Post by: Victor Kirhenshtein on July 07, 2016, 12:52:45 PM
Could you delete it again, turn on debug 6, run configuration poll, and send me log messages related to that node?

Best regards,
Victor
Title: Re: Same subnet twice in 'entire entwork'
Post by: Dani@M3T on July 07, 2016, 01:33:55 PM
ok, this is the debug=6 output:

[07-Jul-2016 12:05:02.859] [DEBUG] Starting configuration poll for node NODE1.DOMAIN.COM (ID: 3058)
[07-Jul-2016 12:05:02.860] [DEBUG] [CLSN-0] Sending message CMD_POLLING_INFO
[07-Jul-2016 12:05:02.860] [DEBUG] ConfPoll(NODE1.DOMAIN.COM): checking for NetXMS agent Flags={090C0002} DynamicFlags={00001000}
[07-Jul-2016 12:05:02.860] [DEBUG] [CLSN-0] Sending message CMD_POLLING_INFO
[07-Jul-2016 12:05:02.860] [DEBUG] ConfPoll(NODE1.DOMAIN.COM): checking for NetXMS agent - connecting
[07-Jul-2016 12:05:02.931] [DEBUG] ConfPoll(NODE1.DOMAIN.COM): checking for NetXMS agent - connected
[07-Jul-2016 12:05:02.931] [DEBUG] [CLSN-0] Sending message CMD_POLLING_INFO
[07-Jul-2016 12:05:03.016] [DEBUG] AgentConnection::getSupportedParameters(): RCC=0
[07-Jul-2016 12:05:03.016] [DEBUG] AgentConnection::getSupportedParameters(): 159 parameters received from agent
[07-Jul-2016 12:05:03.016] [DEBUG] AgentConnection::getSupportedParameters(): 6 tables received from agent
[07-Jul-2016 12:05:03.016] [DEBUG] [CLSN-0] Sending message CMD_POLLING_INFO
[07-Jul-2016 12:05:04.462] [DEBUG] [CLSN-0] Sending message CMD_KEEPALIVE
[07-Jul-2016 12:05:04.815] [DEBUG] [CLSN-0] Sending message CMD_POLLING_INFO
[07-Jul-2016 12:05:04.829] [DEBUG] ConfPoll(NODE1.DOMAIN.COM): checking for NetXMS agent - finished
[07-Jul-2016 12:05:04.829] [DEBUG] [CLSN-0] Sending message CMD_POLLING_INFO
[07-Jul-2016 12:05:04.829] [DEBUG] [CLSN-0] Sending message CMD_POLLING_INFO
[07-Jul-2016 12:05:04.852] [DEBUG] Node::updateInterfaceConfiguration(NODE1.DOMAIN.COM [3058]): got 3 interfaces
[07-Jul-2016 12:05:04.852] [DEBUG] [CLSN-0] Sending message CMD_POLLING_INFO
[07-Jul-2016 12:05:04.853] [DEBUG] Node::filterInterface(NODE1.DOMAIN.COM [3058]): interface "isatap.{340D7CCD-042D-41A5-9838-C56AA77225BD}" (ifIndex=13) rejected by filter
[07-Jul-2016 12:05:04.853] [DEBUG] [CLSN-0] Sending message CMD_POLLING_INFO
[07-Jul-2016 12:05:04.853] [DEBUG] Checking subnet bindings for node NODE1.DOMAIN.COM [3058]
[07-Jul-2016 12:05:04.853] [DEBUG] Node::checkSubnetBinding(NODE1.DOMAIN.COM [3058]): checking address 10.1.10.16/16
[07-Jul-2016 12:05:04.853] [DEBUG] Missing subnet for address 10.1.10.16/16 on interface LAN [12]
[07-Jul-2016 12:05:04.853] [DEBUG] CorrelateEvent: event SYS_SUBNET_ADDED id 9882563 source nms.m3t.ch [466]
[07-Jul-2016 12:05:04.853] [DEBUG] CorrelateEvent: finished, rootId=0
[07-Jul-2016 12:05:04.853] [DEBUG] EVENT SYS_SUBNET_ADDED [2] (ID:9882563 F:0x0000 S:0 TAG:"") FROM NETXMS.DOMAIN.COM: Subnet 10.1.0.0/16 added
[07-Jul-2016 12:05:04.853] [DEBUG] [CLSN-0] Sending message CMD_EVENTLOG_RECORDS
[07-Jul-2016 12:05:04.853] [DEBUG] Node::createSubnet(): Created new subnet 10.1.0.0/16 [3494] for node NODE1.DOMAIN.COM [3058]
[07-Jul-2016 12:05:04.853] [DEBUG] [CLSN-0] Sending message CMD_OBJECT_UPDATE
[07-Jul-2016 12:05:04.853] [DEBUG] [CLSN-0] Sending message CMD_OBJECT_UPDATE
[07-Jul-2016 12:05:04.853] [DEBUG] [CLSN-0] Sending message CMD_OBJECT_UPDATE
[07-Jul-2016 12:05:04.853] [DEBUG] [CLSN-0] Sending message CMD_OBJECT_UPDATE
[07-Jul-2016 12:05:04.853] [DEBUG] [CLSN-0] Sending message CMD_OBJECT_UPDATE
[07-Jul-2016 12:05:04.853] [DEBUG] [CLSN-0] Sending message CMD_OBJECT_UPDATE
[07-Jul-2016 12:05:04.853] [DEBUG] [CLSN-0] Sending message CMD_POLLING_INFO
[07-Jul-2016 12:05:04.853] [DEBUG] [CLSN-0] Sending message CMD_POLLING_INFO
[07-Jul-2016 12:05:04.853] [DEBUG] [CLSN-0] Sending message CMD_POLLING_INFO
[07-Jul-2016 12:05:04.853] [DEBUG] [CLSN-0] Sending message CMD_POLLING_INFO
[07-Jul-2016 12:05:04.867] [DEBUG] [CLSN-0] Sending message CMD_POLLING_INFO
[07-Jul-2016 12:05:04.880] [DEBUG] [CLSN-0] Sending message CMD_POLLING_INFO
[07-Jul-2016 12:05:04.881] [DEBUG] [CLSN-0] Sending message CMD_POLLING_INFO
[07-Jul-2016 12:05:04.881] [DEBUG] Finished configuration poll for node NODE1.DOMAIN.COM (ID: 3058)
[07-Jul-2016 12:05:04.881] [DEBUG] [CLSN-0] Sending message CMD_POLLING_INFO
Title: Re: Same subnet twice in 'entire entwork'
Post by: Dani@M3T on August 01, 2016, 03:16:10 PM
any news on that?
Title: Re: Same subnet twice in 'entire entwork'
Post by: Dani@M3T on August 18, 2016, 06:50:46 PM
Victor

Have seen anything in my degug-log?

thanks
Dani
Title: Re: Same subnet twice in 'entire entwork'
Post by: Victor Kirhenshtein on August 19, 2016, 11:25:44 AM
Hi,

sorry, didn't get to this issue yet. I assume that sibnet 10.1.0.0/16 was already exist when server create another one?

Could you please also provide output of command

nxadm -c "show index subnet" | grep 10.1

?

Best regards,
Victor
Title: Re: Same subnet twice in 'entire entwork'
Post by: Dani@M3T on August 19, 2016, 12:12:04 PM
Hi

Output is:
10.101.0.0                               0x1ed4530 10.101.0.0/24 (VPN) [1869]
10.1.0.0                                 0x1aa3650 10.1.0.0/16 [3494]


The second subnet 10.1.0.0/16 with Object-ID 3131 is not in the output.

thanks
Dani
Title: Re: Same subnet twice in 'entire entwork'
Post by: Dani@M3T on May 17, 2017, 03:22:11 PM
In the meantime, I checked all nodes of the affected subnets exist in other containers, then I deleted both subnets.

Now it's ok