Same subnet twice in 'entire entwork'

Started by Dani@M3T, June 29, 2016, 09:03:32 PM

Previous topic - Next topic

Dani@M3T

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

Victor Kirhenshtein

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

Dani@M3T

#2
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


Victor Kirhenshtein

Could you delete it again, turn on debug 6, run configuration poll, and send me log messages related to that node?

Best regards,
Victor

Dani@M3T

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

Dani@M3T


Dani@M3T

Victor

Have seen anything in my degug-log?

thanks
Dani

Victor Kirhenshtein

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

Dani@M3T

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

Dani@M3T

In the meantime, I checked all nodes of the affected subnets exist in other containers, then I deleted both subnets.

Now it's ok